Hi everyone,
I'm having issues connecting to the Power Automate web API. This is what I did:
First I successfully fetch my bearer token:
Afterwards I try to execute my GET request to the Power Automate API:
I always receive a 401.
I did following things:
- registered subscription in Azure AD
- I granted the application user admin rights on dynamics 365
Still I keep on receiving the 401.
Please advice on how to overcome this issue.
Thanks!
Hi @ArneVlietinck,
If you already have registered an app in Azure AD and the application user is registered you could just use one HTTP action with Active Directory OAuth in the advanced settings.
Below is an example:
In my example I used a couple of environment variables or the tenant, audience, client id & client secret and a string variable for my dynamics org url. Replace that by your values from your App registration.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492