Setup in Azure Environment
Register an Application
Go to the customer's Azure environment and find App Registrations.
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/
Click Register.
API permission
Select API Permissions on the left side.
Choose Add a Permission.
Select Dynamics 365 Business Central on the right side.
Select Application Permissons
Add API.ReadWrite.All og app_access
Select Grant admin consent for <tenant navn> This can only be done if you are an admin.
Certificates and secrets
Select Certificates and secrets
Click on New Client secret
Write a description and set the Expiration date (maximum 24 months).
Then copy the Value from the key. NOTE: You will only see this once.
Go to Overview.
Copy the value from the field.
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.