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 / Error 403 when trying ...
Power Automate
Suggested Answer

Error 403 when trying to fetch a token using HTTP with Microsoft Entra ID (preauthorized)

(0) ShareShare
ReportReport
Posted on by 11

Hello everyone,

I am currently working with an API to update information in a maintenance plan. I am trying to retrieve the token using the HTTP connector in Power Automate, but I keep receiving a 403 error. When I test the same request in Bruno, it works without any issues, but it fails within the Power Automate flow.

 

Has anyone encountered this problem before or has experience working with APIs and Power Automate? I would greatly appreciate any suggestions or solutions.

 

Thank you in advance for your help!

Screenshot 2026-02-11 090643.png
Screenshot 2026-02-11 090507.png
I have the same question (0)
  • Expiscornovus Profile Picture
    33,891 Most Valuable Professional on at
     
    In the Outputs > Body I see an innerError: Have you double checked that error? 
     
    Is there any clue/additional information in that innerError?
     
    Btw, I see the BASF API documentation is behind a login, that makes it a bit more difficult to troubleshoot as well.
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
     
     
  • Suggested answer
    stampcoin Profile Picture
    5,171 Super User 2026 Season 1 on at
     
    As I understand you should  use http connector rather than HTTP with Microsoft Entra ID (preauthorized).
    You can start with App-Only Context ,like what you used in your screenshot, or contact them to get certification to use OAuth.
     
     
    Good luck.
     

    Enjoy Power Platform and have a great day 🚀 |  My LinkedIn

    If the answer helps, please consider 👍, Thanks.

     
  • Suggested answer
    nhkrizic Profile Picture
    4 on at
    Hi, just a quick question to help narrow this down:  
    Are you using the “Invoke an HTTP request” action with a pre‑authorized connection, or are you calling the API through the standard HTTP connector?
     
    The reason I ask is that a 403 (Forbidden) usually means the account running the flow doesn’t have the required permissions for that API endpoint.  
    Bruno works because it uses your credentials, but Power Automate uses the connection owner’s identity — which may not have the same roles or API permissions.
     
    If you’re calling a Graph or custom API, make sure the service account (or the user who owns the connection) has the correct role/permissions assigned.  
    Once the right permissions are granted, the 403 should disappear.
     
    Let me know which connector you’re using and I can help you check the right setup.
     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard