cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
colinaspinall
Frequent Visitor

Obtained access token from Graph then not being accepted ("forbidden")

I'm trying to obtain user presence information from Microsoft Graph

I've checked the Azure app I've set up with the appropriate permissions to the Presence info

I've then done the following to obtain an access token and that's successful

Screenshot 2021-02-10 132621.png

I'm then doing a GET request to Graph for my presence information using the received access token

Screenshot 2021-02-10 131716.png

 

When I execute the flow I get a "forbidden" error

Screenshot 2021-02-10 131845.png

I have noticed that the access token returned by the flow is shorter than the one Graph Explorer uses but don't know what I'm doing wrong

 
2 REPLIES 2
tshortland
Regular Visitor

Hi,

 

Did you ever manage to resolve this as we are having the same problem?

 

Thanks.

Good morning,

 

I had this same issue and was not able to resolve it using the HTTP connector.  However, I was able to resolve it by using custom connectors.  However, it requires a Premium Power Automate account.  Let me know if I can be of further help.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,923)