Skip to content

Microsoft Dynamics 365 ​

Your Dynamics 365 contacts, accounts, leads and opportunities — to create a lead from an email, find a customer, update a record or attach a document to it.

A Microsoft Dynamics 365 connection lets the Microsoft Dynamics 365 node create, find and update contacts, accounts, leads and opportunities, and add a note with an email’s file; and the Dynamics 365 — new or changed record trigger start a workflow.

The Microsoft token is issued for one environment: the connection holds the environment’s address (https://contoso.crm12.dynamics.com), entered before the consent. Workflows act with your Dynamics 365 permissions.

At a glance ​

  • Identifier: dynamics365
  • Family: Service
  • Set up by: A member (personal) or an administrator (shared with the organisation)
  • Authentication: Sign in with the service (OAuth)
  • Credential type: service:dynamics365
  • Official API documentation: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/overview
  • API base URL: {instance}/api/data/v9.2
  • Rate limit applied by Loop & Roll: 600 requests per minute and per connection; up to 3 attempts on a 429 or a 5xx
  • Connection test: Yes

Step by step ​

The same steps are shown in the connection form of the app.

  1. Copy your environment’s address from the Dynamics 365 address bar: https://contoso.crm12.dynamics.com, with nothing after .com.
  2. Paste it below, click “Sign in with Microsoft Dynamics 365” and log in with your work account.
  3. Approve the requested access: you come back here, connected. Workflows act with your Dynamics 365 permissions.

Connection fields ​

FieldKindRequiredNotes
Environment address (instance)TextYesStarts with https://, ends with .dynamics.com.

Add the connection ​

  1. Copy the environment’s address from the Dynamics 365 address bar, with nothing after .dynamics.com.
  2. In Connections, Microsoft Dynamics 365 card: paste it, click Sign in with Microsoft Dynamics 365 and log in with your work account.
  3. Test the connection calls GET /api/data/v9.2/WhoAmI.

Leads and opportunities are Dynamics 365 Sales tables: without Sales, only contacts and accounts exist.

Reconnect ​

If Microsoft refuses to renew the access (consent withdrawn, user deactivated, application changed), the connection turns Needs reconnecting, the workflows using it fail with integration.connection_unusable, and you get a notification. Click Reconnect: the connection keeps its name and scope.

OAuth application ​

An administrator sees the OAuth application panel in the connection window: declare the redirect URL <PUBLIC_BASE_URL>/api/v1/integrations/oauth/callback in the Microsoft Entra (app registration, delegated permission “Dynamics CRM → user_impersonation”, client secret) application, then paste its client ID and client secret and Save the application. The organisation’s application replaces the instance’s one for new connections.

Calls used ​

ActionDataverse call (Web API v9.2)
CreatePOST /{table} (Prefer: return=representation)
UpdatePATCH /{table}({id}) (If-Match: *)
GetGET /{table}({id})
SearchGET /{table}?$filter=
Add a notePOST /annotations
TriggerGET /{table}?$filter=createdon ge …

Nodes that use this connection ​

Loop & Roll — the workflow builder for email.