1

Closed

CRM Connection Issue

description

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 at 2:18 PM by waelhamze

comments

waelhamze wrote Feb 11, 2016 at 10:46 PM

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

wrote Mar 10 at 2:18 PM