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)

Unable to connect to Dynamics 365 CRM online organisation service using CrmSvcUtil tool

(0) ShareShare
ReportReport
Posted on by 185

Hi Crms,

When I try to download proxy file using CrmSvcUtil.exe from CRM online instance I get following error:

Error   : Metadata contains a reference that cannot be resolved: 'https://****.com/app/office365/exk4p1a92meFZDjSH0x7/sso/wsfed/mex'.

It's giving me a url which is not what I entered as the argument to CrmSvcUtil.exe command. And I'm running the tool from inside a private network.

Now, does anyone know why would I get re-directed to a different URL? is it security setup on the network or security setup on cloud level?

Any help is appreciated.

Cheers.

*This post is locked for comments

I have the same question (0)
  • gdas Profile Picture
    50,091 Moderator on at

    Hi,

    This problem occur when client computer unable to send the HTTP request when connection has been closed or is unavailable. Make sure you have added below line before making connection.

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

    carldesouza.com/dynamics-365-tls-1-2-how-to-fix-apps

  • pasargard58 Profile Picture
    185 on at

    Hi Goutam,

    Thanks for replying, However I think you didn't understand my issue. I don't have issue with custom application being unable to connect to CRM. I get error when trying to run  CrmSvcUtil.exe to download

    proxy file from CRM.

  • Suggested answer
    pasargard58 Profile Picture
    185 on at

    To the benefit of others who encounter same issue. There was a firewall rule that redirecting this call out. Creating an exception to the rule fixed the issue.

    Cheers.

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
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
NeerajPawar Profile Picture

NeerajPawar 2

#2
jlattimer Profile Picture

jlattimer 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans