CRM 2011 Discovery and Web Service Urls

I am starting to write code for CRM 2011 and a problem I kept having was forgetting the darn WCF urls to connect to CRM 2011.

The I found this webpage which has them on.  For some reason it’s always difficult to find them in the SDK.  I have also created a txt page with these urls on with my on premise urls so I have them at hand.  I thought I would create this if you were like me and kept forgetting to whack them into a text file.

Discovery and Web Service Urls

For CRM On-premises customers:
http://{server}/XRMServices/2011/Discovery.svc for the Discovery service endpoint
http://{server}/{OrgName}/XRMServices/2011/Organization.svc for the Organization Service endpoint (SOAP)
http://server/OrgName/XRMServices/2011/OrganizationData.svc

For CRM Online customers:

The following URLs should be used to access the discovery service (use the appropriate URL for your location):

https://dev.crm.dynamics.com/XRMServices/2011/Discovery.svc (North America)
https://dev.crm4.dynamics.com/XRMServices/2011/Discovery.svc (EMEA)
https://dev.crm5.dynamics.com/XRMServices/2011/Discovery.svc (APAC)

The following URLs should be used to access the Organization service(SOAP endpoint):

https://{Organization Name}.api.crm.dynamics.com/XrmServices/2011/Organization.svc (North America)
https://{Organization Name}.api.crm4.dynamics.com/XrmServices/2011/Organization.svc (EMEA)
https://{Organization Name}.api.crm5.dynamics.com/XrmServices/2011/Organization.svc (APAC)

Where {Organization Name} refers to the Organization that you specify in the URL when accessing the Web application. For example, for Contoso.crm.dynamics.com, the {Organization Name} is Contoso.

The following URLs should be used to access the Organization Data service(OData REST endpoint)

https://{Organization Name}.api.crm.dynamics.com/XrmServices/2011/OrganizationData.svc (North America)
https://{Organization Name}.api.crm4.dynamics.com/XrmServices/2011/OrganizationData.svc (EMEA)
https://{Organization Name}.api.crm5.dynamics.com/XrmServices/2011/OrganizationData.svc (APAC)


Advertisements

7 thoughts on “CRM 2011 Discovery and Web Service Urls

  1. Azmat Shir May 9, 2011 / 5:55 am

    Thanks for sharing valuable information.
    I want to use MS CRM 2011 web services in my application which is a desktop application and written in .net frame work 3.5, I used 2007 end point and my all existing functionality which was for MS CRM4.0 is working fine.

    Now I need to create a solution programmatically and I don’t want to upgrade my code to .net frame work 4.

    Problem is when I add organization service reference in my application I am unable to access “createsolutionrequest” class. Is there any work around to create solution from the client application without upgrading code from .net 3.5 to .net 4?

    Like

    • Hosk May 9, 2011 / 8:32 am

      Well firstly the code will still work in CRM 2011 because CRM 2011 is backward compatible and all the endpoints will still work.

      I’m surprised you cannot access the createsolutionrequest class, access this class using a more general call.

      Like

  2. Azmat Shir May 10, 2011 / 11:51 am

    Yes code which was written for MSCRM4.0 will work for MSCRM 2011 by using 2007 web service endpoint, but the problem is “CreateSolutionRequest” is new functionality of MSCRM2011and it cannot be used using 2007 endpoint.
    For using “CreateSolutionRequest” we need to add MSCRM 2011 SDK assemblies references in our code. And these references can’t be added in the code which is written for .Net Framework 3.5 because these Assemblies need .Net Frame Work4.

    My question is and my question was is there any way to use “CreateSolutionRequest” in the code which is written for.Net Framework 3.5?

    Like

  3. ecommerce web design dubai December 27, 2011 / 10:55 am

    I feel this is among the such a lot vital info for me. And i’m happy reading your article. But wanna remark on few normal issues, The web site style is great, the articles is really nice : D. Just right process, cheers

    Like

  4. crm software January 3, 2012 / 6:25 am

    It is very good information but anyone can tell me how MSCRM4.0 will work for MSCRM 2011 by using 2007 web service endpoint,

    Like

  5. Keith G February 3, 2012 / 10:21 am

    Thanks for this. When we try to connect using the latest Dynamics CRM Outlook client (v5.0.9689.1985) to an EMEA instance of Dynamics CRM 2011 in Office 365 with ADFS enabled cannot get to work? Whate URL should I be trying to connect on? https://xxxxx.api.crm4.dynamics.com/ ?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.