Skip to main content

Create D365 Client

Select

SaaS
Customer Managed

Create Dynamics 365 app

Request Body
  • name string required

    Unique Dynamics365 app name

  • serverPlan object required
  • id int32
  • name string
  • azureApp object
  • applicationId string required

    Azure Application ID

  • applicationSecret string required

    Azure app secret key, needs to be base64 encoded

  • certificatePassword string

    Password of the azure application certificate and must be in base64 encoded format. Only applicable for SharePoint Online

  • certificate string

    Content of the azure application certificate file and must be in base64 encoded format. Accepted fileTypes are pfx, p12. Only applicable for SharePoint Online

  • certificateThumbprint string

    Thumbprint of the azure application certificate file. Only applicable for SharePoint Online

  • refreshToken string

    User based refresh token generated with corresponding app credentials. Can be left blank if the azure app is protected API approved.

  • azureDirectoryId string required

    Azure directory (tenant) ID

Responses

OK


Schema
  • id int32
  • name string
POST /v4/dynamics365    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body
{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"refreshToken": "string",
"azureDirectoryId": "string"
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v4/Dynamics365' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"serverPlan": {
"id": 0,
"name": "string"
},
"azureApp": {
"applicationId": "string",
"applicationSecret": "string",
"certificatePassword": "string",
"certificate": "string",
"certificateThumbprint": "string",
"refreshToken": "string",
"azureDirectoryId": "string"
}
}'