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 / HTTP with Microsoft En...
Power Automate
Answered

HTTP with Microsoft Entra ID (Formerly Azure Ad)

(0) ShareShare
ReportReport
Posted on by 73

Hi,

I am trying to use http with Microsoft Entra ID formerly known as Azure AD to leverage Microsoft Graph API but getting this error, I don't know if its an authorization issue or what, can anyone help me? 

 

error.png

 

Thanks in advance for your help.

 

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @muzammilasif ,

     

    This action uses new application. This app needs an administrator to grant discrete consent.

    https://learn.microsoft.com/en-us/connectors/webcontentsv2/#known-issues-and-limitations

     

    If you want to avoid these complex steps, please use HTTP with Microsoft Entra ID (preauthorized).

    vxiaochenmsft_0-1700532766399.png

     

    Best Regards,

    Wearsky

  • muzammilasif Profile Picture
    73 on at

    Thanks for your reply , i have already tried pre-authorized it gave me base URI error , is there any other way to invoke post http request to graph api? 

  • muzammilasif Profile Picture
    73 on at

    this is the error i get while using pre-authorized 

    error new.png

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @muzammilasif ,

     

    If you are calling the sharepoint api, the sharepoint http action is better.

    vxiaochenmsft_0-1700552255408.png

     

    Best Regards,

    Wearsky

  • muzammilasif Profile Picture
    73 on at

    Actually, I am leveraging graph Api to get docx documents preview URL for Iframe components to render live view of document in power apps using automate flow, share point connector doesn't allow to preview docx documents.

  • Verified answer
    muzammilasif Profile Picture
    73 on at

    I have a sorted this out, if anyone else having this problem, just go to Microsoft Entra ID Pre-Authorize and add new connection in it and add Https://graph.microsoft.com in both text boxes i.e. (Base Resource and Entra ID), it will work like a charm.

     

    Regards

  • bnderi Profile Picture
    45 on at

    Adding the connector - HTTP with Microsoft Entra ID (pre authorized) worked for me.

    the error that @muzammilasif mentioned above for BaseResourceUri, make sure you are using the graph URI and not the SharePoint URI - https://graph.microsoft.com/v1.0/sites/...

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard