I am attempting to connect to any of the Business Central Web Services via postman using the grant type client_credentials.
I can receive a token from the call below ok:
However, if I attempt to use this token in the call below I receive error 401.
I have the App Registration set up with the following granted permissions:
I also have the Azure Application registered and granted in Business Central.
Any help is appreciated.
Resolved:
My issue was using the incorrect token URL.
Correct URL:
login.microsoftonline.com/{Tenant ID}/oauth2/v2.0/token
Sohail Ahmed
2,655
Mansi Soni
1,574
YUN ZHU
1,453
Super User 2025 Season 1