Microsoft Dynamics 365 (Dataverse)
Qualify leads, close opportunities, and manage records in any Dataverse table
Connect your Dynamics 365 environment (Dataverse, e.g. Dynamics 365 Sales or Customer Service) to work with your CRM data from workflows and the chat: qualify leads, close opportunities, and read and edit records in any Dataverse table.
Authentication: OAuth 2.0 with your Microsoft account. Connect Dynamics 365 on the Integrations page. You will be asked for the environment URL, then you sign in with Microsoft.
Which URL to enter
The environment URL is the address of your Dataverse environment, e.g.
https://contoso.crm4.dynamics.com. You find it in the Power Platform admin center
(admin.powerplatform.microsoft.com) under Environments: select your environment, the URL is in
the Environment URL field. It is also in the address bar when you open Dynamics 365 in the
browser. The number after crm (e.g. crm4 for Europe) depends on the region.
Which consent Microsoft asks for
DeutschlandGPT asks only for the permission "Access Dynamics 365 as organization users"
(Dataverse, user_impersonation) and offline_access, so the connection stays signed in. The
integration acts with the permissions of the signed-in user: whatever that user may not do in
Dynamics 365, the workflow may not do either.
If your Microsoft tenant does not let users consent to apps themselves, an administrator of your Microsoft tenant has to consent to the app "Microsoft Dynamics 365" once.
Error AADSTS650052
If the connection reports AADSTS650052, your Microsoft tenant lacks a service the sign-in asks for. First check that you signed in with an account of the organisation the environment belongs to. If so, an administrator of your Microsoft tenant has to consent to the app or provide the missing service. Then connect again.
Actions
- List tables and Describe table: show which tables and columns the environment has.
- List records, Get record, Create, Update and Delete record: in any Dataverse table; records are addressed by their id (a GUID).
- Qualify lead and Disqualify lead.
- Close opportunity as won or as lost, and Recalculate opportunity.