web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem with Power Aut...
Power Automate
Answered

Problem with Power Automate Web API

(0) ShareShare
ReportReport
Posted on by 29

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:

2022-01-24 17_26_06-Power Apps _ Solutions -.png

Afterwards I try to execute my GET request to the Power Automate API:

2022-01-24 17_27_24-Power Apps _ Solutions -.png

 

 

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. 

2022-01-24 17_36_57-Power Apps _ Solutions - Fluvius.png

 

Please advice on how to overcome this issue.

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,970 Most Valuable Professional on at

    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.

     

    dataverse_api.png

  • ArneVlietinck Profile Picture
    29 on at

    Thanks @Expiscornovus , this solution worked for me!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard