Notifications
Announcements
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?
Thanks in advance for your help.
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).
Best Regards,
Wearsky
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?
this is the error i get while using pre-authorized
If you are calling the sharepoint api, the sharepoint http action is better.
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.
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
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 501 Super User 2025 Season 2
Tomac 323 Moderator
abm abm 237 Most Valuable Professional