Forum Discussion
prashantguptag
Feb 25, 2020Brass Contributor
Graph API get private channel connected site url failing
I am following this article Manage lifecycle of private channels to get private channel's site url using App-Only authentication. As per the article, its giving the desired result for this first request
"GET https://graph.microsoft.com/beta/teams/<group_id>/channels?$filter=membershipType eq 'private'"
but for second request
GET https://graph.microsoft.com/beta/teams/<group_id>/channels/<channel_id>/filesFolder
its throwing error "502 Bad Gateway". Can anyone suggest what could be the issue?
Error:
{ "error": { "code": "BadGateway", "message": "Failed to execute backend request.", "innerError": { "request-id": "6ab8032b-8d33-4543-b2f1-0e13978e9699", "date": "2020-02-05T07:00:11" } } }
Jeremy Thake any tip why its failing?
- Trinetra-MSFT
Microsoft
prashantguptag , This is a known issue at our end. We are working on it. We will let you know once the fix will be rolled out.
- webfortCopper Contributor
I get the same trying to create a channel with members as per documentation
{ "@odata.type": "#Microsoft.Teams.Core.channel", "membershipType": "private", "displayName": "My First Private Channel", "description": "This is my first private channels", "members": [ { "@odata.type":"#microsoft.graph.aadUserConversationMember", "user@odata.bind":"https://graph.microsoft.com/beta/users('{9b5c5cc9-cafb-4fe4-a58d-5bdc96ea7712}')", "roles":["owner"] } ] }
- prashantguptagBrass Contributor
Trinetra-MSFT Good to know. Thanks.
Is there any place where do you follow these issues and report the fix for e.g. in github?
- Trinetra-MSFT
Microsoft
prashantguptag , We are tracking this bug internally. We will let you once it is fixed.