0

Calling GET https://graph.microsoft.com/beta/teams/5732849c-7b33-433c-b9aa-7d80f0274034/channels results in 403 (Forbidden) error with the body:

{
    "error": {
        "code": "Forbidden",
        "message": "Failed to execute Skype backend request GetThreadS2SRequest.",
        "innerError": {
            "date": "2020-12-02T20:52:22",
            "request-id": "dbe941bd-7e8e-4756-a197-d1b7c1ce9c57",
            "client-request-id": "dbe941bd-7e8e-4756-a197-d1b7c1ce9c57"
        }
    }
}

This is a similar issue as reported in Why are we suddenly getting 403 on graph calls to list a team's channels?

As I understand from a number of forums this issue occurs from time to time. At this moment I'm waiting for a week for this issue to be resolved, but I've never succeeded in getting the list of channels yet. All permissions are granted and it really looks like an internal issue of Graph API and my question is what are the further directions for the users facing this issue? Is there a resource where users can track the status of this issue? Because every related thread I found is closed but the issue still occurs.

Vadim Pashaev
  • 171
  • 1
  • 5
  • 403 refer to the permission issue. Could you please check the required permissions as documented [here](https://learn.microsoft.com/en-us/graph/api/channel-get?view=graph-rest-beta&tabs=http)? – Nikitha-MSFT Dec 03 '20 at 07:27
  • Make sure you have enough permissions, roles require to perform this above Graph API call. You can check the token using https://jwt.ms, see the scope/permission/roles as well – Dev Dec 03 '20 at 07:57
  • I miss ChannelSettings.Read.Group and ChannelSettings.ReadWrite.Group permissions. Added them to app Manifest and got this error: "A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value". I used the description from here: https://learn.microsoft.com/ru-ru/microsoftteams/platform/graph-api/rsc/resource-specific-consent#configure-group-owner-consent-settings-in-the-azure-ad-portal – Vadim Pashaev Dec 03 '20 at 09:36
  • I've change manifest by adding webApplicationInfo key that looks like this: "webApplicationInfo": { "id": "my-app-id", "resource": "https://RscBasedStoreApp", "applicationPermissions": [ "ChannelSettings.Read.Group", "ChannelSettings.ReadWrite.Group" ] } But this method doesn't work and I cant find another method to add those two permissions. – Vadim Pashaev Dec 03 '20 at 09:40
  • You need to add the permissions in the azure where you have registered the application. – Nikitha-MSFT Dec 04 '20 at 05:39
  • does the above helped? – Dev Dec 08 '20 at 12:04
  • @vadimPashaev, did the above thing helped? – Manish-MSFT Dec 09 '20 at 07:29
  • No. I can't find where to add "ChannelSettings.ReadWrite.Group" permission in azure where I registered the app. I'm using Postman to make API calls and the only place where I can enable ChannelSettings.ReadWrite.Group permission is Teams App, but I don't use one. – Vadim Pashaev Dec 14 '20 at 15:41
  • You will find the permissions under application permission. Could you please try adding the required permission? – Nikitha-MSFT Dec 22 '20 at 10:44
  • @VadimPashaev- Could you please confirm if your issue is resolved? Also, could you please try calling same for V1 endpoint instead of beta and check? – Wajeed Shaikh Dec 24 '20 at 17:24

0 Answers0