I am currently following the steps to connect to the D365 Business Central API posted by mkhalife here:
https://community.dynamics.com/business/f/758/t/265941
I have registered an application with Azure AD.
I have set the apps permissions to access D365.
I have generated the app key and walked through the steps to access the API through postman.
I am receiving the token as expected.
I am making calls to the common endpoint service and I am receiving an unauthorized message.
https://api.businesscentral.dynamics.com/v1.0/api/beta/companies.
Is there a step I am missing? Do I need to take steps to set up the registered app's permissions inside of Business Central?
Are there further steps for enabling the API in D365 Business Central? I found the following documentation for NAV, but I don't have access to this in D365, is this an admin function only?
- In Dynamics NAV, search for API Setup and then choose the related link.
- On the API Setup page, choose the Integrate APIs button.
This will start a process of populating all the integration tables with records for all APIs. The process can take several minutes.


Report
All responses (
Answers (