Service to service authentication in Business Central 18.3 – How to use in AL

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.

Source : Kauffmann @ Dynamics 365 Business Central
Read more…