Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

403 Forbidden Teams User Presence

(0) ShareShare
ReportReport
Posted on by 117

Hello, I'm trying to get a user's Teams Presence but not sure how to get around the 403 forbidden error.

 

DSFlemming_0-1663383722268.png

I'm guessing the API permissions on the app registration are enough. I'm using Presence.Read and Presence.Read.All as that worked in the Graph Explorer. 

 

DSFlemming_2-1663384951216.png

This is what the action looks like

 

DSFlemming_1-1663384132063.png

Any hints or advice that could point me in the right direction would be helpful.

 

  • lbendlin Profile Picture
    7,943 Super User 2025 Season 1 on at
    Re: 403 Forbidden Teams User Presence

    The redirect URI, for example.

  • DSFlemming Profile Picture
    117 on at
    Re: 403 Forbidden Teams User Presence

    Thanks @lbendlin, I'll continue to work on this. What do you mean by "Check all URLs"?

  • lbendlin Profile Picture
    7,943 Super User 2025 Season 1 on at
    Re: 403 Forbidden Teams User Presence

    Check if other scopes are required as well. Check all URLs.

  • DSFlemming Profile Picture
    117 on at
    Re: 403 Forbidden Teams User Presence

    Small progress, I created a new app registration with api permissions Presence.ReadWrite.All. Now the token shows that a role:

     

    DSFlemming_2-1663476275494.png

     

    But I still get a forbidden when I try to use it in a GET request.

  • DSFlemming Profile Picture
    117 on at
    Re: 403 Forbidden Teams User Presence

    Thanks for the tip. I checked the token in there and couldn't see a scope section. That's probably the problem but not sure why?

    DSFlemming_0-1663474235503.png

     

    When I check the token made by the graph explorer I can see the permissions scope: 

     

    DSFlemming_1-1663474399296.png

    Could there be something wrong with my app registration?

     

     

  • lbendlin Profile Picture
    7,943 Super User 2025 Season 1 on at
    Re: 403 Forbidden Teams User Presence

    use https://jwt.io  to examine if your bearer token has the required scope.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics