Let the platform do the work

Creating an Application ID for Sugar Market with Dynamics Integrations


Microsoft has announced that their deprecation of the current SDK class is planned for April 2021. To allow the Sugar Market sync to continue, you will be required to register your application with Microsoft and to update configuration settings in Sugar Market. With no specific date yet announced, we recommend you complete this process by April 1, 2021.

This page describes the necessary steps to reconfigure your connector, which include:

  1. Creating a Microsoft Application ID
  2. Adding a Redirect URL
  3. Updating the Connector Settings in Sugar Market

Please read this Microsoft article for additional information on this recent change, and this tutorial on registering an app with Azure Active Directory. If you need assistance with changing your settings in Sugar Market, please contact Support.

Creating a Microsoft Application ID

The first step is to create an application ID in Microsoft Azure Active Directory.

  1. Log in to your Microsoft Dynamics CRM.
  2. In a new tab, navigate to https://portal.azure.com/. The following page displays:
  3. Expand the menu at the top left of the page, and then select "Azure Active Directory".
  4.  In the left-hand panel, select "App Registrations".
  5. On the App registrations page, click the New registration button.
  6. Enter a name to identify the application (e.g. "SugarMarketApp"), and then click the Register button.
  7. A generated Application ID displays. Copy this to your system clipboard to add to your connector settings in Sugar Market, and then proceed to the Adding a Redirect URL section. 

Adding a Redirect URL

  1. Still in Microsoft Azure, click the Add a Redirect URL link as shown in the screenshot above.
  2. Click the Add a platform button.
  3. In the Configure Platforms panel that displays, click the Web tile.
  4. In the Redirect URLs section, enter "https://localhost.com" in the textbox, and then click the Configure button.
  5. In the left-hand panel, select "API permissions", and then click the Add a permission button.

  6. The Request API permissions panel displays on the right. Click the Dynamics CRM tile.

  7. Select the checkbox next to "user_impersonation", and then click the Add permissions button.

  8. Click the "Grant admin consent for < >" button.
  9. The following confirmation message displays. Click the Yes button in the popup message.
  10. The API permissions status is updated.
  11. In the left-hand panel, select "Manifest", and then update the 'allowPublicClient' and 'Oauth2AllowImplicitFlow' settings to true. 

  12. Click the Save button at the top of the page.

Updating the Connector Settings in Sugar Market

In the final step, you will update your MS Dynamics Connector settings in Sugar Market with the Application ID you generated in Step 7 of Creating a Microsoft Application ID.

  1. From the user menu, click "Admin".
  2. In the CRM Administrator section, within the External Connectors tab, click "Microsoft CRM".
  3. In the Microsoft Dynamics CRM Web Service Credentials section, enter the application ID you copied from Microsoft Azure into the Application ID field.
  4. Click the Save Connection button.
    SM IG MS newconfigappid