cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jorge_s
Helper I
Helper I

Get Team Channels Unauthorised

I get Unauthorised when I try to get the channels of a Team in Flow, but using the Graph explorer returns all Channels fine.

 

I've tried using a token authorization in the header of the HTTP request but still fails.

 

https://graph.microsoft.com/v1.0/teams/xxxxxxxx-934d-xxxx-9887-7dbfd11dae04/channels

 

{
"error": {
"code": "Unauthorized",
"message": "Failed to execute Aad backend request GetUsersByObjectIdsRequest. Workload Unknown. Request Url: https://graph.windows.net/myorganization/getObjectsByObjectIds?api-version=1.61-internal, Request Method: POST, Response Status Code: Unauthorized, Response Headers: ocp-aad-diagnostics-server-name: 6SK+WJUuLr5qRFcEUkKjZvp0TSZRMYlDi+omX1kqlCE=\r\nrequest-id: 0484df3f-5d4a-4688-bfd8-a494f606edfa\r\nclient-request-id: a61cfb33-ced4-44e1-9a7e-07eaa8510a13\r\nStrict-Transport-Security: max-age=31536000; includeSubDomains\r\nDate: Wed, 21 Oct 2020 09:27:58 GMT\r\n, Reason Phrase: Unauthorized",
"innerError": {
"date": "2020-10-21T09:27:58",
"request-id": "a6cfa646-ece9-4ffc-b09c-dff518f17ffa",
"client-request-id": "a6cfa646-ece9-4ffc-b09c-dff518f17ffa"
}
}

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @Jorge_s , 

I made a test on my side, but It can work fine. 

Snipaste_2020-10-22_11-11-40.png

It may be that you used the wrong token to call the MS Graph and caused the error, please check your access token. Also try to use another authorization method to see if the issue can fixed? 

If not, please consider submitting a Support Ticket to Microsoft for further assistance.

Sik

View solution in original post

1 REPLY 1
v-siky-msft
Community Support
Community Support

Hi @Jorge_s , 

I made a test on my side, but It can work fine. 

Snipaste_2020-10-22_11-11-40.png

It may be that you used the wrong token to call the MS Graph and caused the error, please check your access token. Also try to use another authorization method to see if the issue can fixed? 

If not, please consider submitting a Support Ticket to Microsoft for further assistance.

Sik

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,008)