> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/2024-02-08/guides/configuring-your-connections/connections/msdynamics/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.
# Microsoft Dynamics 365
Supports:
* ✅ Models
* ✅ Model sync destination
* ✅ Bulk sync source
* ✅ Connection Proxy
## Connection
### Configuration
| Name | Type | Description | Required |
auth_method |
string |
Authentication method
Accepted values: `oauth`, `client_credentials` ↓ |
required |
client_id |
string |
Custom OAuth application client ID for the delegated flow. |
optional |
client_secret |
string |
Custom OAuth application client secret for the delegated flow. |
optional |
dynamics_url |
string |
Dynamics URL |
required |
oauth_refresh_token |
string |
|
optional |
#### `auth_method`
When `auth_method` is `client_credentials`:
| Name | Type | Description | Required |
client_credentials_client_id |
string |
Client ID |
required |
client_credentials_client_secret |
string |
Client secret |
required |
tenant_id |
string |
Directory (tenant) ID |
required |
```json
{
"name": "Microsoft Dynamics 365 connection",
"type": "msdynamics",
"configuration": {
"auth_method": "client_credentials",
"client_credentials_client_id": "a45gadsfdsafbyorxhugfbhsgllpf12gf56gfds",
"client_credentials_client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"client_id": "a45gadsfdsafbyorxhugfbhsgllpf12gf56gfds",
"client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"dynamics_url": "",
"oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"tenant_id": "3e03e565-ca33-4ef5-8e19-db300c655a40"
}
}
```
#### Example
```json
{
"name": "Microsoft Dynamics 365 connection",
"type": "msdynamics",
"configuration": {
"auth_method": "oauth",
"client_id": "a45gadsfdsafbyorxhugfbhsgllpf12gf56gfds",
"client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"dynamics_url": "",
"oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq"
}
}
```
## Model Sync
### Source
#### Configuration
| Name | Type | Description | Required |
object |
string |
Object |
required |
#### Example
```json
{
...
"configuration": {
"object": "object"
}
}
```
### Target
Microsoft Dynamics 365 connections may be used as the destination in a model sync.
#### All targets
##### Configuration
| Name | Type | Description | Required |
invalid_relationships |
string |
Records with invalid relationship IDs
Accepted values: `error`, `omit_values`, `omit_records` |
required |
##### Example
```json
{
...
"target": {
"configuration": {
"invalid_relationships": "error"
}
}
}
```
## Bulk Sync
### Source
Microsoft Dynamics 365 connections may be used as a bulk sync source. No additional configuration options are required.