Forum Discussion
Unable to delete team members via Graph
A couple of weeks ago the delete group member method stopped working:
DELETE https://graph.microsoft.com/v1.0/groups/{id}/members/{id}/$ref
The deleted user is still able the to connect to the group via Teams (webapp, clientapp) and send messages to channels, etc. Only the related SharePoint site gets unavailable for the user.
Thank you,
Zsolt
14 Replies
- Trinetra-MSFTFormer Employee
zskoroczki , We are checking this with our engineering team for v1.0. You can also look at suggestion made by Wajeed if possible to use beta api in your project.
- Trinetra-MSFTFormer EmployeeWhen I tried to [remove member from Team](https://docs.microsoft.com/en-us/graph/api/team-delete-members?view=graph-rest-1.0&tabs=http#http-request) using Graph API, it works fine, Removing member from team/Group in sync takes at least 48 hours so better to use remove member graph api using membership id
- zskoroczkiCopper ContributorThank you for your response. Will that method remove the user from the M365 group as well?
Thank you
- zskoroczkiCopper Contributor
Nikitha-MSFT Any updates?
- Wajeed-MSFT
Microsoft
zskoroczki - Please use Remove members from team for instant deletion.
- zskoroczkiCopper ContributorUnoftunatley I can not use beta version in my project.
- Nikitha-MSFTFormer Employee
zskoroczki - We could able to reproduce the issue on our side. Raised a bug
- DMarcoloCopper ContributorAny updates ?
- Nikitha-MSFTFormer Employee
DMarcolo - we are tracking it internally we don't have ETA to share when it will be fixed
- zskoroczkiCopper ContributorThank you!