Microsoft Dynamics 365 for People
This guide describes how to connect Microsoft Dynamics 365 with People.
Microsoft Dynamics Sales, otherwise known as Microsoft Dynamics 365, is a customer relationship management software package. It is part of the Dynamics family of products.
The data stored in MS Dynamics 365 can be used to improve the quality, targeting, and personalization of your communication executed in Infobip.
What you will need
To start using People via Microsoft Dynamics 365, you need the following:
- Existing users need the Infobip account with Integrations Manager permissions. Please contact your dedicated Account Manager.
- New users must sign up for the Infobip account (opens in a new tab) and then contact our Account Managers.
- Microsoft Dynamics 365 user account with admin privileges.
Installation
- Logon to Infobip and go to Exchange > App Apps.
- Open the Dynamics CRM for People integration and select the Integrations tab.
- Select Set Credentials and then provide the credentials that will allow data exchange between Infobip and Dynamics. For more information, see Set credentials.
- Choose a Profile sync that you want to use. For example,DynamicsCRM Contacts to People Customers. Each Profile sync component represents the type of data that you want to sync between Dynamics and Infobip.
- Click Configure.
- Map the entities and the field mappings. See Map entities and fields for integration.
- Click Activate to start the flow.
Set up credentials
For Infobip to connect with Dynamics, you must set up credentials in the Microsoft Azure Portal. The integration uses APIs provided by Microsoft to access data stored in Dynamics or to update them. The credentials are used to authenticate against those APIs. The following steps describe how to create credentials that will be used for the integration.
Access Azure app registrations
-
Go to App registrations.
-
Choose New Registration.
-
Register the applications using the following values:
- Name: the name for the App (Access credentials)
- Supported account types: Accounts in this organizational directory only
- Redirect URL:
- Platform: Web
- URL: https://app.ipaas.infobip.com/callback/oauth2 (opens in a new tab)
-
Add an additional redirect URL:
- For the credentials (token) to be successfully acquired and refreshed, there must be two redirect URLs set up. One for the receiving token, which is performed in the Infobip Portal UI, and the other for refreshing it.
- Add the following URL: https://portal.infobip.com/exchange/apps/ipaas/dynamicscrm/credentials/oauth2/callback (opens in a new tab) (opens in a new tab)
-
Set up permissions. For the app to be able manage data in Dynamics CRM, provide permissions for the app.
-
Go to API permissions in the left side-panel.
-
Choose Add permissions and then **Dynamics CRM.
-
Click user_impersonation add permissions.
-
Click Grant admin consent for org.
-
Generate secret for the app
To generate the app secret, click Certificates and secrets and New client secret. Make sure that you use the * Value* as it will be visible only once. When connecting the app in Infobip, add the value in the Client Secretfield.
Get the Client ID from the App Overview screen in Azure.
Connect the integration in Infobip
In the Microsoft Dynamics CRM integration within Infobip, create the credentials with the following values:
- Credentials name - give your credentials a name
- Client ID - get it from the App Overview in Azure
- Client Secret - the value from the Value field you got when you created a secret for the app in Azure
- Base URL - the URL of your Dynamics CRM instance. For example, https://orge0000000.crm00.dynamics.com/ (opens in a new tab)
- [Optional] API version - the default settings will be applied if left empty (recommended)
Map entities and fields for integration
On the Infobip Dynamics CRM integration page, include the information that you want to be a part of this integration. Make sure that this information corresponds both on the Dynamics CRM side and on the Infobip side.
The following entities available for mapping in Dynamics:
- Lead – Someone who is not your client yet, but there are chances they might become one
- Contact – Someone who is your client and you are doing business with them
The following entities are available for mapping in People:
- Lead – Person in the Infobip People module whose information has not been confirmed
- Customer- A person with confirmed contact information
In People, you can add or change standard (first and last name, country, city) and custom attributes. In Dynamics CRM, you can edit information about Contacts and Leads.
Important
When using profiles sync from Infobip People to Dynamics CRM, you have to include the entityID in the data mapping. Otherwise, it is possible that to see duplicated records in Dynamics. The best way to ensure that the data is properly synchronized is to activate both Dynamics to People and People to Dynamics syncs having the entityID stored in the external ID field in People.
Automatic synchronization of leads, contacts, and person profiles
Any customer information and profiles that you create integrates between Dynamics CRM and Infobip, either within bulk integrations or each time you enter new or modify the existing information in either system. Making Changes in Dynamics CRM
Changes on the Dynamics CRM side appear in Infobip People with a delay of up to ten minutes.
Create new lead or contact in Dynamics CRM
In Infobip People, confirm that the lead or contact you want to create does not already exist. Infobip uses email to match the profile.