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

Notifications

Announcements

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 71

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
    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
    71 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
    71 on at

    this is the error i get while using pre-authorized 

    error new.png

  • v-xiaochen-msft Profile Picture
    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
    71 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
    71 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard