web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Get-CrmServer : The remote server returned an error: (503) Server Unavailable.

(0) ShareShare
ReportReport
Posted on by

We have CRM  onprem installed on a cloud based VM.

All the PowerShell commands I have tried return The remote server returned an error: (503) Server Unavailable.

I checked the event log for PowerShell and the Windows Logs \ Application.

CRM is up and running, I can access my organizations, create new organization.
I have tried using my own domain account, the CRM service account and the account we used to install CRM.


Any ideas?

Thanks.

We are using: Microsoft Dynamics® CRM 2016 (8.0.0.1088) (DB 8.0.0.1088)

Full error message:

PS C:\Windows\system32> Add-PSSnapin Microsoft.Crm.PowerShell
PS C:\Windows\system32> Get-CrmServer
Get-CrmServer : The remote server returned an error: (503) Server Unavailable.
At line:1 char:1
+ Get-CrmServer
+ ~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Crm.P...CrmServerCmdlet:GetCrmServerCmdlet) [Get-CrmServer],
    WebException
    + FullyQualifiedErrorId : CRM Deployment Cmdlet Error,Microsoft.Crm.PowerShell.GetCrmServerCmdlet

PS C:\Windows\system32>

Microsoft Dynamics® CRM 2016 (8.0.0.1088) (DB 8.0.0.1088)

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi,

    Have you tried after restarting all the ms crm services, if not then please try and then check.

  • Mike Teske Profile Picture
    on at

    I restarted all 6 services but still get the same error.  I then restarted the VM and still have the error.  

    Thanks for the suggestion.

  • Verified answer
    Mike Teske Profile Picture
    on at

    The CrmDeploymentServiceAppPool was not running due to password change on the service account


    I changed the password in advanced settings, restarted the app pool and the powershell commands are now working!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans