Configure Azure integration with Microsoft Dynamics CRM
Applies To: CRM 2015 on-prem, CRM Online
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online 2015 Update are capable of posting the message request data for the current core operation to the Microsoft Azure cloud. To enable this capability in Microsoft Dynamics CRM, perform the tasks detailed in this topic.
Configuration tasks for Microsoft Dynamics CRM/Azure integration
Obtain a Public Certificate from Microsoft Dynamics CRM Online or from an issuing authority.
These tasks are expanded upon in this topic. After configuring Microsoft Dynamics CRM and Microsoft Azure integration, you will need to perform these additional tasks.
Write and register a listener application with a Microsoft Azure Service Bus solution endpoint. For more information, see the Microsoft Azure Service Bus documentation.
Register a Microsoft Azure aware plug-in, for example the ServiceBusPlugin plug-in, or a Microsoft Azure aware custom workflow activity with Microsoft Dynamics CRM. More information: Walkthrough: Register an Azure-aware plug-in with the CRM plug-in registration tool
Perform the necessary Microsoft Dynamics CRM operation that triggers the plug-in or custom workflow activity to run.
If all of the preceding steps were performed correctly, a message containing the Microsoft Dynamics CRM data context should be sent to a Microsoft Azure queue or topic and ultimately received by the listener application. You can navigate to the System Jobs grid in the Microsoft Dynamics CRM web application and check the status of the related System Job to see if the post to the Microsoft Azure Service Bus succeeded. In case of errors, the message section of the System Job displays the error details.
For more information, see the See Also links at the end of this topic.
|As a prerequisite, you should download and read the Azure SDK documentation before attempting to understand this topic and configure Microsoft Dynamics CRM and Microsoft Azure integration.|
Get a public certificate
For Microsoft Dynamics CRM Online users, a public certificate can be downloaded from the Web application. To download the certificate from the Web application, select Settings, click Customizations, and then select Developer Resources. On that page, click the Download Certificate link below Microsoft Azure Issuer Certificate to download and save the public certificate. In addition, write down the issuer name because you will need it later.
For Microsoft Dynamics CRM 2015 on-premises and IFD installations, you can purchase a private certificate from an issuing authority. Import the certificate file into the Personal\Certificates store on your computer using the certificate Microsoft Management Console (MMC) snap-in. Next, export a public key file of your certificate in Base64 format. This public certificate will be used in the next task. For more information, see the MMC Help.
Configure Microsoft Dynamics CRM for Azure integration
For Microsoft Dynamics CRM 2015 on-premises and IFD deployments, configuring the server for Microsoft Azure integration involves storing the public certificate in the Microsoft Dynamics CRM configuration database and setting the proper security access to the certificate so Microsoft Dynamics CRM can read it. Microsoft Dynamics CRM Online comes pre-configured to work with Microsoft Azure.
Refer to the topic Walkthrough: Configure CRM for integration with Microsoft Azure for step-by-step instructions on configuring Microsoft Dynamics CRM 2015 integration with the Microsoft Azure platform.
|For the Microsoft Dynamics CRM 2015 and Microsoft Azure Service Bus integration feature to work, the Microsoft Dynamics CRM asynchronous service must have access to the Internet through the server’s firewall. The server where the Asynchronous Service role is installed must be exposed to the Internet, and the account that the service runs under must have Internet access. Only outbound connections on ports 80 and 443 are required. Inbound connection access is not required. Use the Windows Firewall control panel to enable outbound connections for the CrmAsyncService.exe application located on the server in the %PROGRAMFILES%\Microsoft Dynamics CRM\Server\bin folder.|
Configure Azure ACS for Microsoft Dynamics CRM integration
You need to configure the rules and issuers of your Microsoft Azure solution to allow a listener to read the Microsoft Dynamics CRM message posted to the Microsoft Azure Service Bus. In addition, you must configure the service bus rules to accept the Microsoft Dynamics CRM issuer claim.
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.