SOLVED

Delete Teams from Admin Interface not as efficient as from UI

%3CLINGO-SUB%20id%3D%22lingo-sub-1040265%22%20slang%3D%22en-US%22%3EDelete%20Teams%20from%20Admin%20Interface%20not%20as%20efficient%20as%20from%20UI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1040265%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20realized%20that%20if%20I%20delete%20a%20Team%20from%20admin%20interface%2C%20you%20can%20still%20see%20it%20in%20from%20user%20interface.%20But%20when%20deleting%20Team%20from%20user%20interface%2C%20it%20disappear%20from%20both%20admin%20and%20user%20interfaces.%20See%20Capture%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F159464i1DEAEC3E6EBE70DC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22DeleteTeamFromAdminUI.gif%22%20title%3D%22DeleteTeamFromAdminUI.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20%22Good%20way%22%20to%20properly%20remove%20a%20Team%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBeyond%20this%2C%20if%20you%20want%20to%20permanently%20delete%20a%20Team%2C%20how%20to%20achieve%20this%20%3F%20Until%20now%2C%20the%20best%20way%20for%20me%20was%20to%20%3A%3C%2FP%3E%3CP%3E-%20remove%20the%20Team%20from%20UI%3C%2FP%3E%3CP%3E-%20remove%20the%20Group%20from%20Deleted%20Groups%3C%2FP%3E%3CP%3E-%20remove%20the%20SP%20Site%20permanently%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20you%20answers.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1040265%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministration%20User%20Interface%20Delete%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1040359%22%20slang%3D%22en-US%22%3ERe%3A%20Delete%20Teams%20from%20Admin%20Interface%20not%20as%20efficient%20as%20from%20UI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1040359%22%20slang%3D%22en-US%22%3EHi%20%2C%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20you%20are%20well.%20Official%20documentation%20doesn%E2%80%99t%20specify%20an%20optimal%20way%2C%20It%20outlines%20both%20the%20IT%20admin%20led%20way%20via%20the%20TAC%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Farchive-or-delete-a-team%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Farchive-or-delete-a-team%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20the%20owner%2Fuser%20led%20way%20in%20the%20Team%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fdelete-a-team-c386f91b-f7e6-400b-aac7-8025f74f8b41%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fdelete-a-team-c386f91b-f7e6-400b-aac7-8025f74f8b41%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20my%20experience%20most%20in%20the%20community%20typically%20recommends%20the%20user%20led%20way%20as%20like%20you%20said%20it%20is%20perceived%20to%20be%20cleaner%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FDelete-Team%2Fm-p%2F269752%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FDelete-Team%2Fm-p%2F269752%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EWhilst%20others%20recommend%20Powershell%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2Fremove-team%3Fview%3Dteams-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2Fremove-team%3Fview%3Dteams-ps%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20others%20the%20Graph%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FTeams-Developer%2FDeleting-a-Team-via-Graph-API%2Fm-p%2F729152%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FTeams-Developer%2FDeleting-a-Team-via-Graph-API%2Fm-p%2F729152%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20you%20will%20see%20from%20the%20Graph%20conversation%20removing%20a%20Team%20on%20the%20back%20end%20takes%20time%20and%20the%20team%20can%20hang%20around.%20This%20is%20how%20it%20is%20designed%20but%20the%20confusion%20resulting%20from%20the%20persistence%20is%20why%20deleting%20them%20in%20the%20client%20is%20typically%20recommend%20over%20a%20back%20end%20delete.%20However%20an%20IT%20admin%20may%20not%20have%20the%20ability%20to%20access%20that%20team.%20So%20you%20may%20want%20to%20do%20back%20end%20but%20a%20little%20bit%20of%20education%20is%20needed.%20Also%20the%20admin%20needs%20to%20define%20an%20approach%20to%20deletion%20as%20in%20simply%20delete%20or%20archive%20then%20delete%2C%20also%20can%20it%20be%20simply%20deleted%20due%20to%20retention%2C%20legal%20hold%20etc%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20way%20you%20are%20permanently%20deleting%20things%20is%20typically%20the%20way%20people%20do%20it.%20Team%2C%20Group%2C%20Site.%20I%20also%20see%20Group%20delete%20then%20Group%20hard%20delete%20then%20site.%20I%20would%20also%20recommend%20keeping%20the%2030%20day%20soft%20delete%20period%20in%20just%20in%20case%20recovery%20is%20ever%20needed.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20helps%20to%20answer%20your%20question!%20It%20is%20largely%20interpretive%20and%20working%20it%20out%20is%20part%20of%20your%20Teams%20lifecycle%20policy!%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1040401%22%20slang%3D%22en-US%22%3ERe%3A%20Delete%20Teams%20from%20Admin%20Interface%20not%20as%20efficient%20as%20from%20UI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1040401%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20add%20some%20additional%20detail%20to%20what%20Chris%20said%3A%20It%20all%20revolves%20around%20the%20whole%20concept%20of%20Groups%2FTeams%2C%20the%20fact%20that%20they%20are%20composed%20of%20%22loosely%20coupled%22%20parts%20across%20several%20workloads.%20Thus%20when%20you%20delete%20one%20component%2C%20all%20the%20other%20workloads%20need%20to%20be%20%22notified%22%20about%20the%20deletion.%20Usually%20this%20should%20happen%20synchronously%2C%20but%20it's%20not%20uncommon%20for%20this%20process%20to%20fail%2C%20which%20then%20means%20you%20have%20to%20wait%20for%20the%20asynchronous%2Fbackground%20task%20to%20synchronize%20the%20changed%20between%20the%20workloads.%20And%20you%20have%20the%20client%20angle%20as%20well%2C%20the%20UI%20is%20designed%20to%20give%20you%20the%20impression%20that%20the%20action%20was%20completed%20immediately%2C%20while%20the%20actual%20status%20on%20the%20backend%20might%20still%20be%20unchanged.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegardless%20of%20where%20you%20perform%20the%20action%20though%2C%20the%20result%20should%20be%20the%20same%2C%20given%20enough%20time.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1040691%22%20slang%3D%22en-US%22%3ERe%3A%20Delete%20Teams%20from%20Admin%20Interface%20not%20as%20efficient%20as%20from%20UI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1040691%22%20slang%3D%22en-US%22%3ECompletely%20agree%20with%20you%2C%20therefore%20I've%20waited%20some%20time%20to%20see%20if%20my%20Teams%20backend%20actions%20were%20propagated%20to%20UI%2C%20without%20success%20(too%20impatient%20%3F).%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20confirms%20that%20for%20the%20time%2C%20there's%20no%20governance%20about%20Teams%20Deletion%2C%20no%20%22perfect%20way%22.%20But%20I'm%20sure%20it%20will%20come%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

 

I just realized that if I delete a Team from admin interface, you can still see it in from user interface. But when deleting Team from user interface, it disappear from both admin and user interfaces. See Capture below.

 

DeleteTeamFromAdminUI.gif

 

Is there a "Good way" to properly remove a Team ?

 

Beyond this, if you want to permanently delete a Team, how to achieve this ? Until now, the best way for me was to :

- remove the Team from UI

- remove the Group from Deleted Groups

- remove the SP Site permanently

 

Thank you for you answers.

3 Replies
best response confirmed by michaelmaillot (Occasional Contributor)
Solution
Hi ,

Hope you are well. Official documentation doesn’t specify an optimal way, It outlines both the IT admin led way via the TAC

https://docs.microsoft.com/en-us/microsoftteams/archive-or-delete-a-team

And the owner/user led way in the Team

https://support.office.com/en-us/article/delete-a-team-c386f91b-f7e6-400b-aac7-8025f74f8b41

In my experience most in the community typically recommends the user led way as like you said it is perceived to be cleaner

https://gorovian.000webhostapp.com/?exam=t5/Microsoft-Teams/Delete-Team/m-p/269752

Whilst others recommend Powershell

https://docs.microsoft.com/en-us/powershell/module/teams/remove-team?view=teams-ps

And others the Graph

https://gorovian.000webhostapp.com/?exam=t5/Teams-Developer/Deleting-a-Team-via-Graph-API/m-p/729152

As you will see from the Graph conversation removing a Team on the back end takes time and the team can hang around. This is how it is designed but the confusion resulting from the persistence is why deleting them in the client is typically recommend over a back end delete. However an IT admin may not have the ability to access that team. So you may want to do back end but a little bit of education is needed. Also the admin needs to define an approach to deletion as in simply delete or archive then delete, also can it be simply deleted due to retention, legal hold etc

The way you are permanently deleting things is typically the way people do it. Team, Group, Site. I also see Group delete then Group hard delete then site. I would also recommend keeping the 30 day soft delete period in just in case recovery is ever needed.

Hope that helps to answer your question! It is largely interpretive and working it out is part of your Teams lifecycle policy!

Best, Chris

To add some additional detail to what Chris said: It all revolves around the whole concept of Groups/Teams, the fact that they are composed of "loosely coupled" parts across several workloads. Thus when you delete one component, all the other workloads need to be "notified" about the deletion. Usually this should happen synchronously, but it's not uncommon for this process to fail, which then means you have to wait for the asynchronous/background task to synchronize the changed between the workloads. And you have the client angle as well, the UI is designed to give you the impression that the action was completed immediately, while the actual status on the backend might still be unchanged.

 

Regardless of where you perform the action though, the result should be the same, given enough time.

Completely agree with you, therefore I've waited some time to see if my Teams backend actions were propagated to UI, without success (too impatient ?).

It confirms that for the time, there's no governance about Teams Deletion, no "perfect way". But I'm sure it will come :)
www.000webhost.com