SOLVED

Unable to List channels with Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-359761%22%20slang%3D%22en-US%22%3EUnable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-359761%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%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fgroups%2F%7Bid%7D%2Fchannels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fgroups%2F%7Bid%7D%2Fchannels%3C%2FA%3E%60%20(%60GET%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2F%7Bid%7D%2Fchannels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%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%22BadRequest%22%2C%3CBR%20%2F%3E%20%20%20%20%22message%22%3A%20%22Failed%20to%20execute%20Skype%20backend%20request%20GetThreadS2SRequest.%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%2274635040-5d24-4399-9954-2c15643db862%22%2C%3CBR%20%2F%3E%20%20%20%20%20%20%22date%22%3A%20%222019-03-04T13%3A20%3A37%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%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FjoinedTeams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FjoinedTeams%60%3C%2FA%3E%20works%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%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-359761%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%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-382712%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-382712%22%20slang%3D%22en-US%22%3E%3CP%3EThanks.%20It%20turns%20out%20to%20be%20a%20problem%20with%20my%20account%3A%20it%20was%20some%20old%20account%20and%20when%20I%20logged%20in%20with%20it%20to%20Graph%20Explorer%20I%20realized%20that%20some%20request%20does%20not%20work%20as%20expected.%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20created%20a%20new%20account%20and%20sign%20into%20Microsoft%20developer%20program.%20Everything%20works%20fine%20now.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-363014%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-363014%22%20slang%3D%22en-US%22%3E%3CP%3EPlease%20ignore%20my%20previous%20reply.%20I%20found%20the%20reason%20on%20SO%20why%20I%20am%20getting%20404.%20Trying%20to%20resolve%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-363011%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-363011%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20your%20reply.%20I%20have%20signed%20in%20with%20the%20same%20credentials%20(to%20graph-explorer%20and%20teams.microsoft.com).%20I%20do%20have%20some%20teams%2C%20but%26nbsp%3BGET%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FjoinedTeams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FjoinedTeams%3C%2FA%3E%20returns%20me%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%22ResourceNotFound%22%2C%3CBR%20%2F%3E%20%20%20%20%22message%22%3A%20%22Resource%20not%20found.%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%2275aba59f-1b7b-4edb-b923-ca4cca4f4dbe%22%2C%3CBR%20%2F%3E%20%20%20%20%20%20%22date%22%3A%20%222019-03-07T21%3A39%3A10%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%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-362988%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362988%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20doing%20this%20on%20an%20E3...The%20Graph%20explorer%20can%20help%20you%20see%20if%20the%20API%20is%20working%20for%20your%20id.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-362987%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362987%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20you%20Please%20go%20to%20GraphExplorer%26nbsp%3B%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fgraph-explorer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fgraph-explorer%3C%2FA%3E%3C%2FFONT%3E%20add%20the%20Teams%20Category%20and%20login%20with%20your%20Office%20365%20Credentials.%20Try%20the%20Channels%20of%20a%20Team%20which%20I%20am%20a%20member%20of.%26nbsp%3B%20which%20eventually%20is%26nbsp%3B%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2F%7BID%7D%2Fchannels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2F%7BID%7D%2Fchannels%3C%2FA%3E.%20I%20tested%20just%20now%20it%20works%20fine...%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-362849%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362849%22%20slang%3D%22en-US%22%3E%3CP%3EUP.%20Still%20facing%20this%20issue.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-360548%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360548%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20looks%20like%20this%20is%20definitely%20not%20an%20id%20issue%3A%20I%20am%20able%20to%20get%20messages%20with%20%60%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2Fa72df4a4-bbb2-4ce8-9264-fc58df4bcf31%2Fchannels%2F19%3Af778a09939b446839d31162c8b952bdd%40thread.skype%2Fmessages%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2Fa72df4a4-bbb2-4ce8-9264-fc58df4bcf31%2Fchannels%2F19%3Af778a09939b446839d31162c8b952bdd%40thread.skype%2Fmessages%3C%2FA%3E%60%20(I%20have%20copied%20channel%20id%20from%20the%20web%20application).%20I%20am%20wondering%20are%20there%20any%20limitations%20for%20the%20free%20version%20of%20MS%20Teams%20or%20something%20like%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-360319%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360319%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3EI%20take%20%3CSPAN%3Eit%26nbsp%3B%3C%2FSPAN%3Efrom%20the%20%60%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FjoinedTeams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FjoinedTeams%3C%2FA%3E%60%20response%20and%20put%20it%20to%20next%20call%3A%20%60%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2F4779ff33-b05d-4617-ab4a-3fefb45f2280%2Fchannels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2Fa72df4a4-bbb2-4ce8-9264-fc58df4bcf31%2Fchannels%3C%2FA%3E%60.%20I%20am%20using%20postman.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-360295%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360295%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20do%20you%20insert%20the%20id%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712768%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712768%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F184117%22%20target%3D%22_blank%22%3E%40Maruthi%20Gadde%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20having%20the%20same%20issue.%20I%20can't%20create%20another%20account.%3C%2FP%3E%3CP%3EI%20go%20to%20the%20graph-explorer%20link%20you%20give%2C%20use%20the%20Channels%20of%20a%20Team%20which%20I%20am%20a%20member%20of%2C%20and%20I%20get%20the%20same%20respone.%3C%2FP%3E%3CP%3E%7B%3CBR%20%2F%3E%22error%22%3A%20%7B%3CBR%20%2F%3E%22code%22%3A%20%22AccessDenied%22%2C%3CBR%20%2F%3E%22message%22%3A%20%22Failed%20to%20execute%20Skype%20backend%20request%20GetThreadRequest.%22%2C%3CBR%20%2F%3E%22innerError%22%3A%20%7B%3CBR%20%2F%3E%22request-id%22%3A%20%22870a5389-4f23-44d7-86aa-6d198dd59751%22%2C%3CBR%20%2F%3E%22date%22%3A%20%222019-06-21T06%3A14%3A03%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20do%20have%20the%20Group.Read.All%20and%20Group.ReadWrite.All%20both%20as%20application%20and%20delegated%20permission.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-923658%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-923658%22%20slang%3D%22en-US%22%3E%3CP%3EHI%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F294756%22%20target%3D%22_blank%22%3E%40mhodovnaiuk%3C%2FA%3E%2C%3CBR%20%2F%3EDid%20you%20found%20a%20solution%20for%20this%20issue%20%3F%20I%20have%20same%20responce%20to%20the%20same%20request%3A%3CBR%20%2F%3E%3CBR%20%2F%3EGET%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2F994b7a25-c7ab-41a4-89ac-1ef122af6c70%2Fchannels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2F994b7a25-c7ab-41a4-89ac-1ef122af6c70%2Fchannels%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22error%22%3A%20%7B%3CBR%20%2F%3E%22code%22%3A%20%22AccessDenied%22%2C%3CBR%20%2F%3E%22message%22%3A%20%22Failed%20to%20execute%20Skype%20backend%20request%20GetThreadS2SRequest.%22%2C%3CBR%20%2F%3E%22innerError%22%3A%20%7B%3CBR%20%2F%3E%22request-id%22%3A%20%222fa1089b-77cb-4dcc-a8f9-9d32649c6653%22%2C%3CBR%20%2F%3E%22date%22%3A%20%222019-10-21T17%3A32%3A42%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Eteam_id%20(994b7a25-c7ab-41a4-89ac-1ef122af6c70)%20is%20copypasted%20from%20Azure%20portal%20UI%2C%20and%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EI%20have%20the%20Group.Read.All%20and%20Group.ReadWrite.All%20both%20as%20application%20and%20delegated%20permission.%3C%2FSPAN%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ERequest%3CBR%20%2F%3EGET%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fusers%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fusers%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eworks%20fine.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-924888%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-924888%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F430334%22%20target%3D%22_blank%22%3E%40syanenko%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ESolved%20by%20changing%20from%20'authorization_code'%20to%20'client_credentials'%20while%20requesting%20access%20token.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1556021%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20List%20channels%20with%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1556021%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20this%20issue%20fixed%3F%20I%20am%20still%20facing%20the%20issue%20in%20getting%20ms%20teams%20channels%20only%20for%20non%20azure%20admin%20users%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2Fteam_id%2Fchannels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fteams%2Fteam_id%2Fchannels%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22sBrace%20structure%20is-brace%20is-opening%22%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22children%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectK%20structure%20is-object-key%22%3E%22error%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sColon%20structure%20is-colon%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22sBrace%20structure%20is-brace%20is-opening%22%3E%7B%3C%2FSPAN%3E%3CDIV%20class%3D%22children%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectK%20structure%20is-object-key%22%3E%22code%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sColon%20structure%20is-colon%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectV%20structure%20is-object-value%22%3E%22Forbidden%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sComma%20structure%20is-comma%22%3E%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectK%20structure%20is-object-key%22%3E%22message%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sColon%20structure%20is-colon%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectV%20structure%20is-object-value%22%3E%22Failed%26nbsp%3Bto%26nbsp%3Bexecute%26nbsp%3BSkype%26nbsp%3Bbackend%26nbsp%3Brequest%26nbsp%3BGetThreadRequest.%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sComma%20structure%20is-comma%22%3E%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectK%20structure%20is-object-key%22%3E%22innerError%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sColon%20structure%20is-colon%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22sBrace%20structure%20is-brace%20is-opening%22%3E%7B%3C%2FSPAN%3E%3CDIV%20class%3D%22children%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectK%20structure%20is-object-key%22%3E%22date%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sColon%20structure%20is-colon%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectV%20structure%20is-object-value%22%3E%222020-07-29T21%3A09%3A30%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sComma%20structure%20is-comma%22%3E%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectK%20structure%20is-object-key%22%3E%22request-id%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22sColon%20structure%20is-colon%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22sObjectV%20structure%20is-object-value%22%3E%223c6e8d8a-fdff-433b-877e-c785690837f5%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22indent%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CSPAN%20class%3D%22sBrace%20structure%20is-brace%20is-closing%22%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22indent%22%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CSPAN%20class%3D%22sBrace%20structure%20is-brace%20is-closing%22%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22sBrace%20structure%20is-brace%20is-closing%22%3E%7D%3C%2FSPAN%3E%3CBR%20%2F%3EProvided%20the%20right%20delegated%20permissions%20Group.ReadWrite.all%20and%20Directory.Read.all%20permissions%20and%20granted%20admin%20consent.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional 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": "BadRequest",
"message": "Failed to execute Skype backend request GetThreadS2SRequest.",
"innerError": {
"request-id": "74635040-5d24-4399-9954-2c15643db862",
"date": "2019-03-04T13:20:37"
}
}
}

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?

 

Thanks.

13 Replies
Highlighted

How do you insert the id?

Highlighted

Thank you for your reply.

I take it from the `https://graph.microsoft.com/v1.0/me/joinedTeams` response and put it to next call: `https://graph.microsoft.com/v1.0/teams/a72df4a4-bbb2-4ce8-9264-fc58df4bcf31/channels`. I am using postman.

 

Highlighted

It looks like this is definitely not an id issue: I am able to get messages with `https://graph.microsoft.com/beta/teams/a72df4a4-bbb2-4ce8-9264-fc58df4bcf31/channels/19:f778a09939b4...` (I have copied channel id from the web application). I am wondering are there any limitations for the free version of MS Teams or something like this.

Highlighted

UP. Still facing this issue.

Highlighted
Solution

Can you Please go to GraphExplorer https://developer.microsoft.com/en-us/graph/graph-explorer add the Teams Category and login with your Office 365 Credentials. Try the Channels of a Team which I am a member of.  which eventually is https://graph.microsoft.com/v1.0/teams/{ID}/channels. I tested just now it works fine... 

Highlighted

I am doing this on an E3...The Graph explorer can help you see if the API is working for your id. 

Highlighted

Thank you for your reply. I have signed in with the same credentials (to graph-explorer and teams.microsoft.com). I do have some teams, but GET https://graph.microsoft.com/v1.0/me/joinedTeams returns me

{
"error": {
"code": "ResourceNotFound",
"message": "Resource not found.",
"innerError": {
"request-id": "75aba59f-1b7b-4edb-b923-ca4cca4f4dbe",
"date": "2019-03-07T21:39:10"
}
}
}

 

Highlighted

Please ignore my previous reply. I found the reason on SO why I am getting 404. Trying to resolve it.

Highlighted

Thanks. It turns out to be a problem with my account: it was some old account and when I logged in with it to Graph Explorer I realized that some request does not work as expected.

I have created a new account and sign into Microsoft developer program. Everything works fine now.

Highlighted

@Maruthi Gadde 

 

I'm having the same issue. I can't create another account.

I go to the graph-explorer link you give, use the Channels of a Team which I am a member of, and I get the same respone.

{
"error": {
"code": "AccessDenied",
"message": "Failed to execute Skype backend request GetThreadRequest.",
"innerError": {
"request-id": "870a5389-4f23-44d7-86aa-6d198dd59751",
"date": "2019-06-21T06:14:03"
}
}
}

 

I do have the Group.Read.All and Group.ReadWrite.All both as application and delegated permission.

Highlighted

HI, @mhodovnaiuk,
Did you found a solution for this issue ? I have same responce to the same request:

GET https://graph.microsoft.com/v1.0/teams/994b7a25-c7ab-41a4-89ac-1ef122af6c70/channels

{
"error": {
"code": "AccessDenied",
"message": "Failed to execute Skype backend request GetThreadS2SRequest.",
"innerError": {
"request-id": "2fa1089b-77cb-4dcc-a8f9-9d32649c6653",
"date": "2019-10-21T17:32:42"
}
}
}

 

team_id (994b7a25-c7ab-41a4-89ac-1ef122af6c70) is copypasted from Azure portal UI, and I have the Group.Read.All and Group.ReadWrite.All both as application and delegated permission. 

Request
GET https://graph.microsoft.com/v1.0/users

works fine.

Highlighted

@syanenko 

Solved by changing from 'authorization_code' to 'client_credentials' while requesting access token.

Highlighted

Is this issue fixed? I am still facing the issue in getting ms teams channels only for non azure admin users
https://graph.microsoft.com/v1.0/teams/team_id/channels

{

  "error":{
    "code":"Forbidden",
    "message":"Failed to execute Skype backend request GetThreadRequest.",
    "innerError":{
      "date":"2020-07-29T21:09:30",
      "request-id":"3c6e8d8a-fdff-433b-877e-c785690837f5"
    
}
  
}

}
Provided the right delegated permissions Group.ReadWrite.all and Directory.Read.all permissions and granted admin consent.