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 Online organization integration with the Windows Azure Service Bus

AaronRic Profile Picture AaronRic 10,035

**Update** These certificates are being updated again. The information below has been updated with the correct dates. This is also documented here: http://support.microsoft.com/kb/2836034. The download links below

 

Note: this information also applies to the Dynamics Marketing/Dynamics CRM connector integration.

 

Recent security enhancements  require the Microsoft Dynamics CRM Online service to use a new certificate to authenticate against the Windows Azure service. Use the steps in this article to change the configuration in your Windows Azure namespace. These changes are necessary, and will allow the messages sent from the Microsoft Dynamics CRM Online service to your Windows Azure service endpoint to be authenticated with both the current certificate and the newer certificate that will be available soon.

This configuration change should be made before Wednesday, March 4th 2015 globally to ensure minimal impact.  In order to serve you better, we are consolidating our certificate renewal process. Moving forward, certificate renewals will occur around this time period every other year. Our goal is to help ease any planning efforts and reduce any impact to your business.

Note: Do not remove the old certificate until after March 7, 2015, as the new one is not valid until this date. However, both the new and old certificates can exist simultaneously without issues. 

Note: If you don’t make these changes, any integrations to Microsoft Dynamics CRM that use the Windows Azure Service bus will stop working. Also, if you use PluginRegistration tool to verify authentication, you’ll see an error message similar to this one: “The token provider was unable to provide a security token. The remote server returned an error: (401) Unauthorized”.

When you have completed the procedures in this article, your ACS access control will be configured to allow Microsoft Dynamics CRM to continue to send messages with the new certificates.

First, retrieve the list of service endpoints. The steps in this article will need to be performed for each of the service endpoints. To find the service endpoints, in Microsoft Dynamics CRM, navigate to Settings, click Customizations, click Customize the System, and select Service Endpoints as shown in the following illustration.

 4.jpg

 

Note: If the service endpoint connection mode is "Federated," you also need to repeat the same steps in the following instructions for https://<servicenamespace>.accesscontrol.windows.net/v2/mgmt/web

 

To configure access control for a service namespace:

 In a web browser, go to https://<servicenamespace>-sb.accesscontrol.windows.net/v2/mgmt/web

 

Note: If you do not have access, contact the solution developer to perform the steps.

  5.jpg

Under Service settings, click Service Identities. Click your Microsoft Dynamics CRM Online service identity to proceed to the Edit Service Identity page. Please note the following items:

  • If your organization URL contains “crm.dynamics.com”, click here to download the public certificate and save it to your disk. Also, select the check box next to “crm.dynamics.com”.
  • If your organization URL contains “crm4.dynamics.com”, click here to download the public certificate and save it to your disk. Also, select the check box next to “crm4.dynamics.com”
  • If your organization URL contains “crm5.dynamics.com”, click here to download the public certificate and save it to your disk. Also, select the check box next to “crm5.dynamics.com”.

 6.jpg

Click Add just above the list. You’ll see the following screen.

Under Type, choose X509, and then click Add. In the Add Credential screen (shown below), browse to the public certificate you previously saved to disk, and click Save.

You should now see the current (soon to expire) and new certificates in the Credentials list.

Congratulations! You've now configured your namespace so that Microsoft Dynamics CRM can continue to post to the Windows Azure Service Bus successfully!

 

Comments

*This post is locked for comments

  • Community Member Profile Picture Community Member
    Posted at

    Hi Aaron Richards,

    Is it possible to use mutiple CRM instances with Single Azure Service Bus, I have a development and testing environment. if I am configuring(via plugin registration tool) it for one instance other instance wont be able to access?. Any thoughts in this?

  • Community Member Profile Picture Community Member
    Posted at

    Pingback from  How I coded WCF service call (CRUD operations) | Roman's Blog

  • ScottDurow Profile Picture ScottDurow 21
    Posted at

    Thanks for this - really saved me time when setting up a demo.