English
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.
- Copy your environment’s address from the Dynamics 365 address bar:
https://contoso.crm12.dynamics.com, with nothing after.com. - Paste it below, click “Sign in with Microsoft Dynamics 365” and log in with your work account.
- Approve the requested access: you come back here, connected. Workflows act with your Dynamics 365 permissions.
Connection fields
| Field | Kind | Required | Notes |
|---|---|---|---|
Environment address (instance) | Text | Yes | Starts with https://, ends with .dynamics.com. |
Add the connection
- Copy the environment’s address from the Dynamics 365 address bar, with nothing after
.dynamics.com. - In Connections, Microsoft Dynamics 365 card: paste it, click Sign in with Microsoft Dynamics 365 and log in with your work account.
- 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
| Action | Dataverse call (Web API v9.2) |
|---|---|
| Create | POST /{table} (Prefer: return=representation) |
| Update | PATCH /{table}({id}) (If-Match: *) |
| Get | GET /{table}({id}) |
| Search | GET /{table}?$filter= |
| Add a note | POST /annotations |
| Trigger | GET /{table}?$filter=createdon ge … |
Nodes that use this connection
- Dynamics 365 — new or changed record —
trigger.dynamics365 - Microsoft Dynamics 365 —
dynamics365.api