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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans