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)

Powershell and CRM 2013 Get-CrmDeploymentAdministrator : Unable to connect to the remote server

(0) ShareShare
ReportReport
Posted on by

I have several installations of CRM 2013 and by and large they all work fine. However, on one server when I try to run a Powershell command I get the following error: Get-CrmDeploymentAdministrator : Unable to connect to the remote server

If I add -credential $mycred -dwsserverurl $dwsurl with $dwsurl being the URL of the CRM webpage it works.

I suspect some environmental setting is missing, but I have no idea what it might be or how to fix this problem.

Any ideas?

*This post is locked for comments

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

    Because my server uses a *.mycompany.com SSL cert, I have to the $dwsurl to https://OrgName.mycompany.com:5443  and I had to make sure that the CRM Properties, Web Address was set to HTTPS and the correct Port.

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