question

APIStartupDeveloper avatar image
3 Votes"
APIStartupDeveloper asked Prasad-MSFT commented

403 when trying to access /channels endpoint as a team admin

I'm unable to list channels using https://graph.microsoft.com/v1.0/teams/{team_id}/channels when authenticated as an admin of a team.
I can access the endpoint as a member of a team.

The 403 I receive as an admin is:

{ "error": { "code": "Forbidden", "message": "Failed to execute Skype backend request GetThreadS2SRequest.", "innerError": { "date": "2021-07-14T20:36:43", "request-id": "85651d96-f5b3-4628-8e6a-c09701da407d", "client-request-id": "85651d96-f5b3-4628-8e6a-c09701da407d" } } }


I've added the following permissions in my Azure AD:

API/Permissions Name - Status

  • Channel.ReadBasic.All - Granted for {company name}

  • ChannelMessage.Send - Granted for {company name}

  • offline_access - Granted for {company name}

  • Team.ReadBasic.All - Granted for {company name}

  • User.Read - Granted for {company name}

Authenticated as an admin I am able to access the /joinedTeams endpoint, which is very confusing.

My Azure app is a multi-tenant app using OAuth. I've been unable to register for an MPN ID and I'm working with Partner Support to try and resolve that (Case # 2107070010002734).














office-teams-app-devmicrosoft-graph-teamworkazure-ad-authentication
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @APIStartupDeveloper

Our forum is mainly focused on the general issue of Microsoft Teams. According to your description, your issue is related to teams development, which is not in our support scope. I will remove teams tag and add teams-app-dev tag. Thanks for your understanding and patience!

1 Vote 1 ·

Hi @APIStartupDeveloper ,

There might be some issue with access token.
Could you please try to acquire the access token following this & with the help of access token try to call the API using Postman.

Thanks!


0 Votes 0 ·

0 Answers