Because I got the question if it was possible to use the client credentials flow in Business Central I decided to write a quick blog post about that as well. Codeunit OAuth2 provides a number of functions to acquire access tokens with different authorization flows, including the client credentials flow. The function AcquireTokenWithClientCredentials can be used for this purpose. Read more…
Continue Reading ajk’s Article on their blog
https://www.kauffmann.nl/2021/08/04/service-to-service-authentication-in-business-central-18-3-how-to-use-in-al/
Blog Syndicated with ajk’s Permission