cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shafeel_07
Helper II
Helper II

HTTP with Azure AD Authorization Error

HI Community, 

 

I've been using the HTTP with Azure AD connector to connect to microsft bookings so i can retrieve all the appointments within my bookings page but just yesterday the connector suddenly failed and gave me a 401 Unauthorization error, Im new to this and im not sure where in Azure AD i need to make a change or where i can go to refresh my token. IT would be much appreciated if i can get some help asap as this is business critical. I've also previously tried to use the HTTP connector but im unsure what i need to put in for Authority,Tenant,Audience,Client ID, Credential Type, Secret.I know its from my app registration settings but i dont know which values to put in. Any kind of help would be really appreciated 

 

 
 
 

 HTTP.PNG

5 REPLIES 5
v-litu-msft
Community Support
Community Support

Hi @Shafeel_07,

 

"

Going to https://aad.portal.azure.com, be sure to click "Grant Permissions" or get your IT person to do this if the permissions you selected are okay--only select the minimum needed for your task. That might be the issue with your current authentication right now.aad - grant permissions.png

"

This method is provided by mr-dang, you could have a try with it.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Where would i go form here?, i dont see a PowerApps options.

 

Bookings.PNG

I've given bookings permissions and it doesn't require admin consent. so im really not sure what im doing wrong here. All of this as working before but i dont know why it randomly started throwing unauthorized 401 Permissions.PNG

Hi @Shafeel_07,

 

Ok, how about trying to recreate a connection of the Azure AD?

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I've recreated the connection of the Azure AD and that didn't work. as you can see I do have permission to access the bookings api through graph explorer. so i dont understand why i cant access it through the Azure AD connector. this is becoming business critical and its really frustrating to keep using the access token that is provided by graph explorer which only lasts 1 hour. if someone can tell me how i can retrieve that access token that i get in graph explorer that would be high appreciated or if anyone knows how to get the access token that nevevr expires

 

 

cap1.PNG

 

 

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,703)