Forum Discussion
paulomi07
Jun 28, 2019Copper Contributor
Deleting a Team via Graph API
I am using the below API to delete the Team: DELETE https://graph.microsoft.com/v1.0/groups/{id} This successfully deletes the group, but it does not delete the team. I still see the team in th...
Jul 09, 2019
paulomi07 No, nothing wrong. This is the correct way to delete a Team through the API. Problem here is "timing": Teams and the Teams API (exposed through Graph) runs on its own backend, which caches information from Azure AD. Due to this, changes made on Azure AD side (like deleting the Group) don't translate immediately on the Teams side. It takes some time to become visible there.
By now, your Team should have disappeared from the list. If not, please let me know!
- Ruben ToribioOct 04, 2019Copper Contributor
YannickReekmans How much time takes to be deleted ? Because depending of team is 1 hour , some times is 3 h , 1 day.
It´s hard to explain to the users this behavior.
- Oct 04, 2019
Ruben Toribio There isn't a "fixed" timing, we're seeing the same type of delays...
- Ruben ToribioOct 04, 2019Copper ContributorThanks , at least i´m not alone on this ... Hope this will be fixed in short term