This project is read-only.


CRM Connection Issue


I am using CRM Online and trying to import package using powershell. During connection i am getting permission denied error.
Below are error details
Get-CrmConnection : Failed to connect to CRM: The remote server returned an error: (504) Gateway Timeout.
At C:\Builds\2\CIBlank\CIBlank_1\src\xRMCIFramework_6.1.0.0\PowerShell\ConnectionValidate.ps1:50 char:30
  • "Office365" { $CRMConn = Get-CrmConnection -Credential $Cred -DeploymentRegi ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : PermissionDenied: (:) [Get-CrmConnection], Exception
  • FullyQualifiedErrorId : -3,Microsoft.Xrm.Tooling.CrmConnector.Powershell.Commands.GetCrmConnectionCommand
    Any help greatly appreciated.
Closed Mar 10, 2017 at 3:18 PM by waelhamze


waelhamze wrote Feb 11, 2016 at 11:46 PM

I would suggest using the async mode and increasing the timeout.

wrote Mar 10, 2017 at 3:18 PM