How to get BC Client ID and BC Client Secret for Connector

Prev Next

Setup in Azure Environment

Register an Application

  1. Go to the customer's Azure environment and find App Registrations.

  2. Click New Registration.

    a) Give your access a name, e.g., "Shipping Connector"

    b) Check the option Accounts in this organizational directory only.

    c) Redirect URL: WEB - https://businesscentral.dynamics.com/

  3. Click Register.

mceclip0.png

API permission

  1. Select API Permissions on the left side.

  2. Choose Add a Permission.

  3. Select Dynamics 365 Business Central on the right side.

mceclip0.png

  1. Select Application Permissons

  2. Add API.ReadWrite.All og app_access

  3. Select Grant admin consent for <tenant navn> This can only be done if you are an admin.

  4.  mceclip0.png

  5.  

Certificates and secrets

  1. Select Certificates and secrets

  2. Click on New Client secret

  3. Write a description and set the Expiration date (maximum 24 months).

  4. Then copy the Value from the key. NOTE: You will only see this once.

  5. mceclip1.png

  6. Go to Overview.

  7. Copy the value from the field.

  8. mceclip2.png

 

Setup in Business Central

1. Open Business Central and Search for Microsoft entra app

Click New and fill in the following::

Client Id: The value you copied from the first section.

- Fill in User Groups: D365 FULL ACCESS

 

Go back and make sure that the state is "Enabled".

These permission need to be added: 
D365 FULL ACCESS
SCB SHIPPING MANAGER
SCB SHIPPINGMAN-CORE

If additional permissions need to be granted, they can be provided here. "Super" is not allowed.