Mautic Documentation

Mautic - Microsoft Dynamics CRM bi-directional plugin

This plugin can push/pull contacts to and from Dynamics CRM when a contact makes some action and when manually executing the sync leads command.

If you don't have a Dynamics CRM account, follow the instructions below to create a Trial Dynamics 365 account.

Configure the Dynamics CRM plugin

  1. Insert your Dynamics CRM URL, the Application ID and Secret into the Mautic Dynamics integration plugin and authorize it. Set the Publish switch to Yes. Save.

    Dynamics CRM Plugin configuration

  2. Select the features you like in the Features tab. Push contacts to this integration checkbox is checked by default.

  3. Configure the field mapping.
  4. Save the plugin configuration.

Set Up Dynamics 365

How to create a Dynamics 365 Trial account

  1. Go to the Dynamics 365 Trial website

image image image image image

Set Up Azure

  1. Go to the Azure Portal
  2. Log in with your onmicrosoft.com account

    image

  3. Go to Azure Active Directory

    image

  4. Add a new Application Registration

    image

  5. Fill in the CRM Application information

    image

  6. Click on Create

  7. Click on the Application you just created

    image

  8. You will use the Application ID when configuring the plugin in Mautic

    image

  9. Add a new Key. Use any name, click on save and copy the value. You will use it as the plugin secret in Mautic.

    image image

  10. Configure the reply URLs using the callbacks from the plugin settings in Mautic. Click Save

    image

  11. Configure the Required Permissions. Click on Add

    image

  12. Add Dynamics CRM Online Api Access. Click Select

    image

  13. Enable Dynamics CRM access for the users. Click Select and then click Done

    image

  14. Activate the permissions by clicking "Grant Permissions". Click Yes

    image

  15. Go back to Mautic

  16. Authorize the plugin

    image

  17. Use your onmicrosoft.com account to authenticate:

    image

Test the plugin

Follow these steps to test the integration.

  1. The plugin is ready. You can test using "Push to Integration" form and campaign actions.
  2. You can also test by executing the command: php app/console mautic:integration:fetchleads -i Dynamics