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 :
Service | Customer Service, Contact Center, Fie...
Unanswered

CRM SDK cannot connect to CRM 365 on promises "ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER"

(0) ShareShare
ReportReport
Posted on by 10

I am trying to connect to CRM 365 on primases from CRM SDK as following:

CrmServiceClient conn = new CrmServiceClient(new System.Net.NetworkCredential(username, password, domain), server, port, orgName);
IOrganizationService _orgService = (IOrganizationService)conn.OrganizationServiceProxy;

But I got this error in the "LastCrmError" attribute in the conn object:

ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
ERROR REQUESTING ORGS FROM THE DISCOVERY SERVERThe server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.Unable to login to Dynamics CRM, Error was : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.Unable to Login to Dynamics CRM
Unable to Login to Dynamics CRM

It was working fine, but once we enabled https on the crm and IIS with SSL, we got this error. How to fix it?! Thanks

I have the same question (0)
  • Tristan A Shortland Profile Picture
    on at

    When you enabled SSL, did you update the URLs in the Deployment Manager?

    Also, check the Windows Event Log on the application server as that will give you a better error message, or enable Tracing in Dynamics, again this will get you a better error message.

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
NeerajPawar Profile Picture

NeerajPawar 31

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 19 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans