WaelHamze / xrm-ci-framework

xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Process Authentication for many tasks

Mooferman opened this issue · comments

Now Microsoft has retired support for named users and passwords (WS-trust), many of your tasks have stopped working and will need an alternative authentications method such as Application Authentication for Process Authentication.

see: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/use-single-tenant-server-server-authentication

Tasks which fail with the odd error of "##[error]Object reference not set to an instance of an object.", although I believe it is because of the above are:

  • Reset Online Instance
  • Delete Instance
  • Provision Instance
  • Copy Instance

I'd assume any tasks that use the ApiUrl with a username and password will fail since the depreciation.

If you could change the authentication to work with a new method, that would be greatly appreciated, also happy for you to point out if there is something I'm missing that will make it work.