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
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.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,266)