Sep 13 2020 01:23 PM
I have a very interesting problem where i get a 502 Bad Gateway error when adding certain users to a team or channel via the graph API.
https://docs.microsoft.com/en-us/graph/api/team-post-members?view=graph-rest-beta&tabs=http
https://docs.microsoft.com/en-us/graph/api/conversationmember-add?view=graph-rest-beta&tabs=http
Both fail for these users. The users are always the same.
If use the group to add a member to the team
https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-beta&tabs=http
it works for these users.
But as far as i know there is no equivalent way to add members to channels.
I couldn't find any obvious difference between the users. If i add them manually via the Teams client there are no problems.
Any one got an idea whats the problem or how to solve this?
Thanks
Sep 14 2020 01:17 AM
I tried to do the same with official Teams PowerShell Cmdlet and I get the same error.
There seems to be some problem with these particular users.
Sep 14 2020 01:27 AM
Sep 14 2020 01:30 AM