The D365 SC Connector uses Custom Authentication. When creating a Connector, you must first store the authorization information in an Authorization Vault, which provides a secure storage location for API keys, tokens, usernames and passwords, headers, and other info used to authorize calls to external Web Services. In order for a Cloud Connector to work, this vault entry must exist and be configured for the external application you wish to communicate with.
Follow the below steps from the CIC Studio to create a new Vault entry.
- Open the CIC Studio (Older generations may require you to connect to a server).
- Go to File -> New -> Cloud Connector. This will open the Select Vault Entry.
- Click on the + button to create a new vault entry. Alternatively, you can select a vault alias from the list (if already created).
- Provide the vault entry alias name and select the environment.
- From the list of connectors select MSDynamics Business Central.
Select the type of authentication you want to use for the connector and hit Next.
(OAuth2.0 Authorization Code Flow, shown below)
The above authentication details Tenant ID, Client ID, Client Secret, Resource, and Redirect URI for OAuth2.0. Code flow can be achieved by following the steps detailed in the Prerequisites.
(OAuth2.0 Client Credentials Flow shown below)
The above authentication details Tenant ID, Client ID, Client Secret, and Resource for OAuth2.0. Client Credentials can be achieved by following the steps detailed in the Prerequisites.
Result: Once the details are validated, a new vault entry will be created.