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
Powershell script failing while connecting with portal #319
Hi Wael,
We are getting below error while connecting to portal. We want to use client id & client secret in the connection string ,this works well when we are providing username & password.
"ExportCMData.ps1" this script is expecting username , password & we want to change this to client id /client secret.
Any Help is appreciated!!
output log file: 'C:\SE
TFS\Main365\SE.Crm\SE.Crm.PortalRecords\Microsoft.Xrm.Tooling.CrmConnector.Powershell-2022-04-11.log'
Get-CrmConnection : Failed to connect to CRM: Unable to login to Dynamics CRM, Error was :
clientCredentials.UserName.UserName or clientCredentials.Windows.ClientCredential.UserName MUST be populated!
clientCredentials.UserName.UserName or clientCredentials.Windows.ClientCredential.UserName MUST be populated!Unable to
Login to Dynamics CRM
Unable to Login to Dynamics CRM
At C:\SE TFS\Main365\Tools\LocalBuild\xrmciframework\ExportCMData.ps1:55 char:12
Hi Wael, We are getting below error while connecting to portal. We want to use client id & client secret in the connection string ,this works well when we are providing username & password. "ExportCMData.ps1" this script is expecting username , password & we want to change this to client id /client secret. Any Help is appreciated!!
output log file: 'C:\SE TFS\Main365\SE.Crm\SE.Crm.PortalRecords\Microsoft.Xrm.Tooling.CrmConnector.Powershell-2022-04-11.log' Get-CrmConnection : Failed to connect to CRM: Unable to login to Dynamics CRM, Error was : clientCredentials.UserName.UserName or clientCredentials.Windows.ClientCredential.UserName MUST be populated! clientCredentials.UserName.UserName or clientCredentials.Windows.ClientCredential.UserName MUST be populated!Unable to Login to Dynamics CRM Unable to Login to Dynamics CRM At C:\SE TFS\Main365\Tools\LocalBuild\xrmciframework\ExportCMData.ps1:55 char:12