Announcements
Hi,
I would like to place APIM in front of our logic App which means that we will have to get an access token with credentials and then send it as a part API request to APIM.
In Postman it works out-of-the-box (see screenshow below).
How can we store it in D365 SCM and add it as a part of the API request to APIM?
If the customization is required, please specify how the customization needs to be done (like stored it in Temp table etc)
Thank you.
Yes. You can register an app in AAD, get an application and client secret used that for authentication (getting an token).
Hi,
Can D365 technically request an access token from AAD based on the credentials which I am going to store in D365 table and add it the request header?
Your design isn't correct. The token has a short lifetime, therefore it would stop working very soon. You really need to request a token when needed.
Yes exactly,
I will store credentials in D365 ofc.
I am more into 'storing Access token' somewhere in D365 to be added as a header of JSOM string we send to Logic App (via APIM)
what is the best approach to store the access token we get from O Auth 2 service?
in Temp table or how?
Thank you.
Please start by explaining your scenario. Do I understand correctly that you want to call a logic app from F&O?
Shouldn't you store a client secret in F&O database and use it to request a token? Or do you have another idea regarding authentication?
André Arnaud de Cal...
294,137
Super User 2025 Season 1
Martin Dráb
232,877
Most Valuable Professional
nmaenpaa
101,158
Moderator