Error trying to use /teams/{id}/channels endpoint. Not authorized but permissions are granted.

Copper Contributor

Hi,

 

I am trying to list channels with Graph API by sending
`GET https://graph.microsoft.com/beta/groups/{id}/channels` (`GET https://graph.microsoft.com/v1.0/teams/{id}/channels` does not work as well).

The response is:

{
"error": {
"code": "AccessDenied",
"message": "Failed to execute Skype backend request GetThreadRequest.",
"innerError": {
"request-id": "4b0e4fae-11fb-42f0-a1ac-fbd9c4264eaf",
"date": "2019-06-21T06:28:24"
}
}
}

At the same time `GET https://graph.microsoft.com/v1.0/me/joinedTeams` works well. I have tried to create a new team and pass its id, but the result is the same. Is this MS issue or something wrong with my setup/request?

 

I tried using the graph-explorer and same error.

 

The app does have the Group.Read.All and Group.ReadWrite.All permission granted (application and delegated).

 

Any help greatly appreciated.

0 Replies