Hi Guys,
have some one tried to execute the "Get-CrmConnection" powershell command with D365 CRM 9.0 ? I was trying to install Microsoft Portals but is going to crash. I've tried a simpler script ( see below ) :
Add-PSSnapin Microsoft.Xrm.Tooling.Connector
Add-PSSnapin Microsoft.Xrm.Tooling.PackageDeployment
$cred = Get-Credential
Get-CrmConnection -OrganizationName 'orgXXXXXX' -OnLineType Office365 -Credential $cred -DeploymentRegion EMEA
but I'm getting these exceptions :
Get-CrmConnection : More then one org was returned, retry with an exact org name
LastCrmError : Unable to Login to Dynamics CRMOrganizationWebProxyClient is nullOrganizationWebProxyClient is null
Is right that I've two different organizations for my user but in the script we pass the organization Name. I guess is a problem with the version 9 because I did the installation of Microsoft portals without any problem in CRM 8.2. ( with user with more than one organization )
Has someone some suggestion ?
Thank you very much for your help :)