Forum Discussion
kasun_rumesh
1 year agoHelper II
Microsoft Dynamic 365 business Central API data fetch using Fabric note book
My company’s IT team has built APIs to access Microsoft Dynamics 365 Business Central data. I successfully tested these APIs using Postman. However, when I try to call the API to obtain the bearer ac...
- 1 year ago
Hi kasun_rumesh ,
The Client Credentials Flow is ideal for non-interactive scenarios like Fabric notebooks. It allows your script to get an access token using just the Tenant ID, Client ID, and Client Secret, without needing user login. This is done by calling Azure AD's token endpoint with the appropriate parameters. Make sure your Azure AD app has the necessary application-level API permissions (e.g., Financials.ReadWrite.All) and that admin consent has been granted. Once the token is received, you can use it to call the Business Central API.
Thank you.
v-venuppu
1 year agoCommunity Support
Hi kasun_rumesh ,
May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.
Thank you.