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

%3CLINGO-SUB%20id%3D%22lingo-sub-712789%22%20slang%3D%22en-US%22%3EError%20trying%20to%20use%20%2Fteams%2F%7Bid%7D%2Fchannels%20endpoint.%20Not%20authorized%20but%20permissions%20are%20granted.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712789%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20list%20channels%20with%20Graph%20API%20by%20sending%3CBR%20%2F%3E%60GET%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fgroups%2F%257Bid%257D%2Fchannels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fgroups%2F%7Bid%7D%2Fchannels%3C%2FA%3E%60%20(%60GET%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2F%257Bid%257D%2Fchannels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2F%7Bid%7D%2Fchannels%3C%2FA%3E%60%20does%20not%20work%20as%20well).%3C%2FP%3E%3CP%3EThe%20response%20is%3A%3C%2FP%3E%3CPRE%3E%7B%3CBR%20%2F%3E%20%20%22error%22%3A%20%7B%3CBR%20%2F%3E%20%20%20%20%22code%22%3A%20%22AccessDenied%22%2C%3CBR%20%2F%3E%20%20%20%20%22message%22%3A%20%22Failed%20to%20execute%20Skype%20backend%20request%20GetThreadRequest.%22%2C%3CBR%20%2F%3E%20%20%20%20%22innerError%22%3A%20%7B%3CBR%20%2F%3E%20%20%20%20%20%20%22request-id%22%3A%20%224b0e4fae-11fb-42f0-a1ac-fbd9c4264eaf%22%2C%3CBR%20%2F%3E%20%20%20%20%20%20%22date%22%3A%20%222019-06-21T06%3A28%3A24%22%3CBR%20%2F%3E%20%20%20%20%7D%3CBR%20%2F%3E%20%20%7D%3CBR%20%2F%3E%7D%3C%2FPRE%3E%3CP%3EAt%20the%20same%20time%20%60GET%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FjoinedTeams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FjoinedTeams%60%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eworks%20well.%20I%20have%20tried%20to%20create%20a%20new%20team%20and%20pass%20its%20id%2C%20but%20the%20result%20is%20the%20same.%20Is%20this%20MS%20issue%20or%20something%20wrong%20with%20my%20setup%2Frequest%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20using%20the%20graph-explorer%20and%20same%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20app%20does%20have%20the%20Group.Read.All%20and%20Group.ReadWrite.All%20permission%20granted%20(application%20and%20delegated).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20greatly%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-712789%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EChannels%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGraph%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New 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
www.000webhost.com