Hi Lorenzo,

Copy/paste this URL in a web browser : https://partners-login.eliotbylegrand.com/authorize?response_type=code&redirect_uri=https://login.microsoftonline.com/tfp/oauth2/nativeclient&client_id=7366fd4e-b078-XXXXXXXX

Where client_id is the one provided by your application

You are redirected to an authentication page and then to a page to accept user’s consent

You should arrive at a blank page with in URL bar : https://login.microsoftonline.com/tfp/oauth2/nativeclient?code=eyJraWQiOiJjcGltY29yZV8wOTXXXXXXXX

This is the code you need. It’s not provided in the Body of the request but in the URL once redirected

Once this step done, you should not have to do this process in the future unless you change the scopes of your app

Have a good day,

Leslie – Community Manager