Hi Will,
Thank you for the link and your help.
The example at Dynamics-AX-Integration refers to the ADAL authentication library Microsoft.IdentityModel.Clients.ActiveDirectory. MS will stop supporting ADAL authentication in June 22. I would prefer to find an example for MSAL authentication.
So far:
* I registered a new application on my domain and generated Client ID, secret and the rest of the fields;
* The client company registered my email as System Admin on their domain;
* I could not register the application on the client company domain because I don't have permissions, even though I am System Admin;
* I could not find any example of the MSAL-based authentication code using library Microsoft.Identity.Client that could be compiled after downloading.
Any advice will be greatly appreciated.
Regards,
Alexander