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.
MIT License
185 stars 116 forks source link

Does Xrm.Framework.CI.PowerShell cmdlets supports Managed Identity ? #329

Open ksatishcrm opened 2 months ago

ksatishcrm commented 2 months ago

We are using GetSolutionMissingComponents.Ps1 to check missing components for our solution. Our org is forcing to move away from Client_Credentials(ClientID/Secret) authentication to Managed Identity. For our deployments we are using managed identity, but for checking SolutionMissingComponents we need to use managed identity.

ConnectingString to check SolutionMissingComponents:

PowerShell.Exe -File $mypath\GetSolutionMissingComponents.ps1 -solutionFile "C:\Deployments\Testing\.zip" -crmConnectionString "AuthType=ClientSecret;ClientId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx;ClientSecret=;Url=https://testing.crm8.dynamics.com;AppId=yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyy; RedirectUri=app://zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzz;LoginPrompt=Never"

@WaelHamze , Can you please let us know whether Xrm.Framework.CI.PowerShell cmdlets support Managed identity? If yes, can you please share the details.