SOLVED

Deleting a Team from within Teams client UI seems to leave the associated SharePoint group site

%3CLINGO-SUB%20id%3D%22lingo-sub-62484%22%20slang%3D%22en-US%22%3EDeleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62484%22%20slang%3D%22en-US%22%3E%3CP%3EFrom%20within%20the%20Teams%20client%20application%20I%20deleted%20a%20team.%20%26nbsp%3BHowever%20I%20noticed%20its%20associated%20Sharepoint%20site%20is%20still%20there.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20manually%20delete%20that%20also%2C%20but%20I%20just%20wanted%20to%20know%20if%20this%20is%20how%20it%20is%20supposed%20to%20work%20and%20what%20else%20might%20I%20need%20to%20delete%20manually%20associated%20with%20the%20deleted%20team%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20running%20Windows%207%20client.%3C%2FP%3E%3CP%3EWe%20have%20an%20O365%20Enterprise%20E3%20license.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-62484%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169554%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169554%22%20slang%3D%22en-US%22%3E%3CP%3EAlessandro%20-%20I%20do%20not%20know%20how%20to%20do%20that%20directly%2C%20but%20could%20you%20do%20something%20like%20make%20the%20Team%20private%20and%20remove%20all%20the%20other%20members%20so%20that%20they%20do%20not%20see%20any%20references%20to%20it%20anywhere%3F%26nbsp%3B%20I%20think%20you%20will%20want%20to%20stay%20a%20member%20so%20that%20you%20can%20have%20access%20to%20the%20behind%20the%20scenes%20SharePoint%20team%20site.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20is%20also%20a%26nbsp%3B%20HiddenFromAddressListsEnabled%20parameter%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Flibrary%2Fmt238274(v%3Dexchg.160).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESet-UnifiedGroup%20%3C%2FA%3Epowershell%20command%20that%20specifies%20whether%20the%20Office%20365%20Group%20appears%20in%20the%20global%20address%20list%20(GAL)%20and%20other%20address%20lists%20in%20your%20organization.%20Replace%20%22Marketing%20Department%22%20with%20your%20team%20name.%26nbsp%3B%20I've%20never%20done%20this%20but%20it%20looks%20like%20it%20would%20be%20relevant%20for%20you.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3ESet-UnifiedGroup%20-Identity%20%22Marketing%20Department%22%20-HiddenFromAddressListsEnabled%20%24true%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20may%20be%20some%20other%20creative%20workarounds%20if%20what%20you%20want%20to%20do%20is%20not%20possible.%20Hopefully%20this%20could%20work%20for%20you%20or%20will%20give%20you%20other%20ideas%20to%20try.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169527%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169527%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F97370%22%20target%3D%22_blank%22%3E%40Ellya%20Gold%3C%2FA%3E%26nbsp%3B-%20very%20nice%20instructions!%26nbsp%3B%20I%20had%20not%20previously%20worked%20with%20powershell%20so%20it%20took%20awhile%20for%20me%20to%20get%20back%20to%20this%2C%20I%20had%20a%20bit%20of%20a%20learning%20curve%20just%20to%20get%20started.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20case%20anyone%20else%20is%20just%20getting%20started%20with%20powershell%20with%20SharePoint%20online%20(O365)%2C%20here%20are%20my%20beginner%20tips%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EYou%20have%20to%20first%20install%20SharePoint%20Online%20Management%20Shell%20(required%20to%20use%20powershell%20to%26nbsp%3Binteract%20with%20SP%20Online)%20%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D35588%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20color%3D%22%230066cc%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D35588%3C%2FFONT%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EYou%20must%20be%20an%20O365%20global%20administrator%3C%2FLI%3E%0A%3CLI%3EYou%20must%20open%20powershell%20on%20your%20PC%20as%20an%20administrator%3C%2FLI%3E%0A%3CLI%3EThen%20you%20must%20connect%20to%20your%20SP%20site%20before%20executing%20any%20commands%3A%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3B-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BConnect-SPOService%20-Url%20https%3A%2F%2F%3CEM%3Edomain%3C%2FEM%3E.sharepoint.com%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESample%20commands%3A%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGet-SPSite%3C%2FSTRONG%3E%20%3A%20output%20is%20a%20columnar%20table%20listing%20of%20all%26nbsp%3Byour%20SP%20sites.%26nbsp%3B%20Default%20columns%20are%20URL%2C%20owner%20and%20Storage%20Quota%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGet-SPSite%20%7C%20Get-Member%3C%2FSTRONG%3E%20%3A%20output%20is%20a%20list%20of%20all%20the%20SP-Site%20properties.%20Reference%20these%20names%20in%20explicit%20Select%20statement.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGet-SPSite%20%7C%20Select%20field1%2C%20field2%2C%20etc%3C%2FSTRONG%3E%20%3A%20will%20display%20just%20those%20column%20values%20in%20columnar%20table%20format%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGet-SPSite%20%7C%20Select%20field1%2C%20field2%2C%20etc%20%7C%20Format-Table%20-Autosize%26nbsp%3B%3C%2FSTRONG%3E%20%3A%26nbsp%3B%26nbsp%3B%20will%20set%20column%20widths%20to%20longest%20value%20in%20that%20column.%26nbsp%3B%20Otherwise%2C%20the%20default%20column%20widths%20may%20truncated%20some%20values.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGet-SPSite%20%7C%20Select%20field1%2C%20field2%2C%20etc.%20%7C%26nbsp%3B%20Where%20field2%20-eq%20'xxxxx'%20%7C%20Format-Table%20-Autosize%26nbsp%3B%3C%2FSTRONG%3E%20%3A%26nbsp%3B%20limit%20output%20based%20on%20Where%20criteria%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGet-SPSite%20%7C%20Select%20field1%2C%20field2%2C%20etc.%20%7C%20Where%20field2%20-eq%20'xxxxx'%20%7C%20sort%20field1%20%7C%26nbsp%3BFormat-Table%20-Autosize%26nbsp%3B%3C%2FSTRONG%3E%20%3A%26nbsp%3B%20sort%20by%20specified%20column%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EGet-SPSite%20%7C%20Select%20field1%2C%20field2%2C%20etc.%20%7C%20Where%20field2%20-eq%20'xxxxx'%20%7C%20sort%20field1%20%7C%26nbsp%3BFormat-List%26nbsp%3B%3C%2FSTRONG%3E%20%3A%26nbsp%3B%20the%20output%20values%20are%20displayed%20in%20a%20vertical%20list%20instead%20of%20a%20table.%20Each%20line%20is%20field-title%20%3A%20field-value%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUse%20Start-Transcript%20to%20copy%20all%20input%2Foutput%20during%20your%20powershell%20session%20to%20a%20file.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Start-Transcript%20-Path%20c%3A%5Ctemp%5Cps.txt%20-Append%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20....%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Stop-Transcript%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20couple%20of%20intro%20articles%20I%20found%20helpful%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.itprotoday.com%2Fmanagement-mobility%2Fpowershell-objects-and-output%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20color%3D%22%230066cc%22%3Ehttp%3A%2F%2Fwww.itprotoday.com%2Fmanagement-mobility%2Fpowershell-objects-and-output%3C%2FFONT%3E%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.petri.com%2Fpowershell-101-sharepoint-friends%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.petri.com%2Fpowershell-101-sharepoint-friends%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EComplete%20TechNet%20documentation%3A%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fscripting%2Fpowershell-scripting%3Fview%3Dpowershell-6%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fscripting%2Fpowershell-scripting%3Fview%3Dpowershell-6%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20again%20for%20putting%20me%20on%20a%20powershell%20adventure!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-168721%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-168721%22%20slang%3D%22en-US%22%3EHello%20There.%20I%20know%20this%20is%20a%20technical%20post%20but%20as%20user%20i%20would%20like%20to%20know%20if%20someone%20knows%20any%20way%20to%20delete%20the%20team%20but%20keep%20the%20sharepoint%20site%20(so%20the%20opposite%20situation%20we%20are%20talking%20here)%20.%20this%20is%20usually%20related%20to%20the%20situation%20in%20which%20I%20completed%20a%20project%20and%20i%20don't%20want%20my%20people%20(and%20me%20neither)%20to%20see%20the%20team%20inside%20their%20list%20but%2C%20of%20course%2C%20i%20would%20like%20to%20keep%20all%20the%20documentation%20related%20to%20the%20project%20without%20having%20the%20need%20to%20copy%20it%20into%20another%20sharepoint%20location.%0A%0AThank%20you%20very%20much.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-143380%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-143380%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20your%20answer.%3C%2FP%3E%0A%3CP%3EIndeed%2C%20with%20your%20powershell%20instruction%2C%20I%20see%20my%20team%20site%20is%20locked%20and%20not%20removed.%3C%2FP%3E%0A%3CP%3EWhat%20a%20disappointment%20to%20always%20have%20to%20open%26nbsp%3B%20a%20support%20ticket.%20%3A(%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-143102%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-143102%22%20slang%3D%22en-US%22%3E%3CP%3EFurther%20investigation%20shows%20for%20our%20E2%20tenant%2C%20when%20you%20delete%20a%20Team%20via%20the%20Teams%20App%2C%20the%20O365%20Group%20gets%20deleted%2C%20but%20the%20corresponding%20SharePoint%20site%20is%20given%20a%20LockState%20of%20%22No%20Access%22%2C%20so%20even%20if%20you%20have%20permission%20to%20the%20site%2C%20it%20refuses%20to%20display%20in%20the%20browser.%20To%20see%20all%20these%20sites%20on%20your%20tenant%2C%20use%20the%20following%20PowerShell%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23800000%22%3Eget-SPOSite%20%7C%20Select%20URL%2C%20LockState%20%7C%20Where%20lockstate%20-eq%20'NoAccess'%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20unlock%20the%20site%2C%20so%20you%20can%20browse%20it%20again%2C%20use%20this%3A%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23800000%22%3Eset-SPOSite%20-identity%20%26lt%3B%3CEM%3ESite%20URL%3C%2FEM%3E%26gt%3B%20-lockstate%20%22unlock%22%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%20if%20you%20want%20to%20then%20delete%20it%3A%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23800000%22%3ERemove-SPOSite%20-identity%20%26lt%3B%3CEM%3ESite%20URL%3C%2FEM%3E%26gt%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20that%20helps%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142544%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142544%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20complete%2C%20it%20exists%20a%20delay%20for%20the%20deletion%20go%20up%20like%20Clifford%20said.%20I%20observe%20it%20too.%20I%20think%20this%20delay%20is%20due%20to%20the%20sync%20process%20between%20AAD%20and%20Teams.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20890px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26500i5BEB449E8D0B764C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Teams_sync_AAD.png%22%20title%3D%22Teams_sync_AAD.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESo%2C%20I%20think%20the%20delay%20max%20to%20see%20the%20deletion%20is%20over%2015%20mn.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142217%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142217%22%20slang%3D%22en-US%22%3EThat's%20great%20to%20hear!%20%20Thanks%20for%20sharing.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142209%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142209%22%20slang%3D%22en-US%22%3E%3CP%3EI%20also%20posted%20an%20update%26nbsp%3Bin%20the%20Microsoft%20Teams%20Uservoice%26nbsp%3Bto%20say%20that%20it%20looks%20like%20this%20has%20been%20fixed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142208%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142208%22%20slang%3D%22en-US%22%3E%3CP%3E%40Clifford%20-%20I%20gave%20this%20another%20go%20with%20the%20most%20current%20Teams%20Client%20Web%20UI%20and%20all%20is%20well.%26nbsp%3B%20I%20created%20a%20new%20Team%20and%20verified%20that%20it%20built%20an%20associated%20SharePoint%20site%2C%26nbsp%3B%20an%20O365%20Group%20(visible%20in%20Outlook%20from%20the%20Group%20drop-down%20and%20visible%20in%20Azure%20Active%20Directory%20Groups)%2C%20and%26nbsp%3BExchange%20Group%20mailbox.%20(%40Ellya%20-%20I%20forgot%20to%20check%20on%20the%20calendar).%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20verifying%20that%20all%20the%20expected%20objects%20had%20also%20been%20created%2C%20I%20proceeded%20to%20delete%20the%20Team%26nbsp%3Bthrough%20the%20Team%20client%20Web%20UI.%20(right-click%20Team%20name%2C%20and%20select%20Delete%20from%20drop-down%20menu)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20warning%20dialog%20box%20popped%20up%3A%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000ff%22%3EDelete%20%22xxxx%22%20team%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000ff%22%3EAre%20you%20sure%20you%20want%20to%20delete%20the%20team%20%22xxxxx%22%3F%20All%20channels%2C%20chats%2C%20files%2C%20and%20the%20Office%20365%20Group%20for%20this%20team%20will%20be%20deleted.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000ff%22%3E%5Bcheckbox%5D%20I%20understand%20that%20everything%20will%20be%20deleted.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CFONT%20color%3D%22%230000ff%22%3E%20buttons%3A%20%5BCancel%5D%20%5BDelete%20Team%5D%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20checked%20the%20checkbox%20and%20clicked%20%22Delete%20Team%22%20button.%3C%2FP%3E%0A%3CP%3EGoing%20back%20I%20verified%20that%20all%20associated%20objects%20had%20been%20deleted%20%3A%20SharePoint%20site%2C%26nbsp%3B%20the%20O365%20Group%20(no%20longer%20visible%20in%20Outlook%20from%20the%20Group%20drop-down%20nor%20in%20Azure%20Active%20Directory%20Groups)%2C%20and%26nbsp%3BExchange%20Group%20mailbox.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-141922%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-141922%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F11668%22%20target%3D%22_blank%22%3E%40Betty%20Stolwyk%3C%2FA%3E%26nbsp%3B-%20we%20were%20seeing%20this%20a%20few%20months%20back%2C%20but%20testing%20again%20today%20it%20is%20working%20for%20us%2C%20be%20it%20slow%20for%20the%20SPO%20Site%20and%20MBX%20to%20be%20removed%2C%20they%20do%20go%20within%2030mins%20(as%20others%20have%20shared%20above).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-141537%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-141537%22%20slang%3D%22en-US%22%3EYou%20made%20yourself%20perfectly%20clear%20to%20me%20%3A)%3C%2Fimg%3E%20%20...you%20deleted%20the%20%22Team%22%20(Not%20Team%20Site)%20from%20the%20Teams%20UI%20and%20the%20associated%20SharePoint%20Modern%20Site%20didn't%20delete%20too.%20I%20was%20wondering%20if%20the%20AD%20Group%20and%20Exchange%20Mailbox%20and%20Calendar%20also%20deleted.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64321%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64321%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Betty%2C%3C%2FP%3E%3CP%3ELike%20the%20others%20said%2C%20the%20best%20way%20is%20to%20open%20a%20ticket%20to%20support.%20It%20seems%20a%20bug%20with%20the%20client%20UI.%20Often%2C%20when%20a%20bug%20is%20identified%20with%20a%20ticket%2C%20the%20fix%20get%20faster.%3C%2FP%3E%3CP%3EIt's%20OK%20for%20me%20when%20you%20delete%20the%20office%20365%20group%20on%20the%20admin%20center%20UI.%20I%20never%20delete%20the%20site%20directly.%20It's%20not%20fast%20but%20it%20works.%3C%2FP%3E%3CP%3EHave%20a%20nice%20day%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-63413%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-63413%22%20slang%3D%22en-US%22%3E%3CP%3EHave%20entered%20this%20in%20Team%20User%20Voice%20as%20a%20development%20suggestion.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20title%3D%22link%20to%20user%20voice%22%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F18972259-delete-an-o365-team%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F18972259-delete-an-o365-team%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62737%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62737%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20to%20make%20this%20clear%20to%20everyone%2C%20this%20may%20be%20a%20better%20explanation%20of%20what%20I%20did.%3C%2FP%3E%3CP%3E(And%20by%20the%20way%2C%20how%20do%20you%20open%20a%20ticket%20to%20Support%3F)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20created%20a%20test%20team%20in%20Teams%20Client%20UI%3C%2FP%3E%3CP%3EThat%20automatically%20creates%20an%20Office%20365%20Group%20which%20is%20exposed%20in%20Outlook%20under%20Groups.%3C%2FP%3E%3CP%3EIt%20also%20automatically%20creates%20a%20SharePoint%20site%20called%20%3CA%20href%3D%22http%3A%2F%2Fxxxx.xxxx.com%2Fsites%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fxxxx.xxxx.com%2Fsites%2F%3C%2FA%3E%7B%3CEM%3ETeamSiteName%7D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20see%20in%20the%20attached%20image%2C%26nbsp%3Bthere%20is%20an%20example%20of%20what%20I%20then%20tried%20to%20do.%26nbsp%3B%20I%20am%20in%20the%20Teams%20client%20UI%2C%20I%20right%20click%20on%20a%20team%20I%20had%20created%2C%20then%20select%20%22Delete%20Team%22.%26nbsp%3B%26nbsp%3B%20The%20Office%20365%20Group%20name%20disappears%20from%20Outlook%20as%20expected.%26nbsp%3B%20But%20the%20SharePoint%20site%20called%20%3CA%20href%3D%22http%3A%2F%2Fxxxx.xxxx.com%2Fsites%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fxxxx.xxxx.com%2Fsites%2F%3C%2FA%3E%7B%3CEM%3ETeamSiteName%7D%20was%20not%20deleted%2C%20%3C%2FEM%3Ewhich%20I%20did%20not%20expect.%20I%20assumed%20the%20SharePoint%20site%20would%20have%20been%20deleted%20when%20I%20deleted%20the%20Team.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20it%20sounds%20like%20there%20is%20agreement%20that%20this%20sounds%20like%20a%20bug.%26nbsp%3B%20I%20just%20wanted%20to%20make%20sure%20it%20was%20clear%20what%20I%20had%20done%20and%20had%20expected.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20722px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F13332i79A23BD1606E6AAB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22TeamDelete.png%22%20title%3D%22TeamDelete.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESo%20how%20do%20I%20open%20a%20ticket%20to%20Support%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62726%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62726%22%20slang%3D%22en-US%22%3E%3CP%3EPaul%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%2C%20I%20did%20it%20recently.%26nbsp%3B%20And%20just%20to%20be%20clear%2C%20I%20was%20not%20deleting%20the%20site%2C%20I%20was%20deleting%20the%20team%20from%20within%20the%20client%20UI%2C%20then%20expecting%20the%20SP%20site%20to%20have%20automatically%20been%20deleted%2C%20which%20did%20not%20happen.%26nbsp%3B%20I%20am%20going%20to%20attach%20an%20image%20because%20I%20don't%20think%20I%20made%20myself%20very%20clear.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62569%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62569%22%20slang%3D%22en-US%22%3EAgree%20with%20Paul%2C%20that's%20not%20correct...I%20recommend%20you%20to%20open%20a%20ticket%20so%20support%20can%20see%20what's%20happening%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62568%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62568%22%20slang%3D%22en-US%22%3E%3CP%3ESeems%20like%20a%20bug%20to%20me.%20did%20you%20create%20the%20team%20before%20GA%20of%20teams%3F%20normally%20if%20you%20delete%20the%20site%20everthing%20has%20to%20be%20deleted.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62567%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62567%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Marie%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20not%20deleting%20the%20SP%20site%20directly%2C%20I%20was%20deleting%20a%20Team%20from%20within%20the%20Team%20UI%20and%20I%20had%20expected%20the%20associated%20SharePoint%20site%20to%20be%20deleted%20in%20the%20same%20process%20automatically.%20%26nbsp%3BHowever%2C%20the%20SP%20site%26nbsp%3Bis%20still%20there.%20%26nbsp%3BI%20can%20delete%20it%20manually%2C%20but%20I%20was%20not%20sure%20if%20this%20was%20a%20bug%20in%20the%20delete%20Team%20process%20or%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62566%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62566%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Juan%20Carlos%2C%20thank%20you%20for%20your%20answer.%20%26nbsp%3BThat%20does%20not%20seem%20to%20be%20my%20situation.%20%26nbsp%3BThe%20SharePoint%20site%20associated%20with%20the%20deleted%20Team%20is%20still%20there%20even%20more%20than%2024%20hours%20later.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62546%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62546%22%20slang%3D%22en-US%22%3EYes%20I%20confirm%20Juan%20Carlos%20says.%20When%20I%20delete%20a%20office365%20group%20I%20need%20to%20wait%20some%20times%20(less%20than%2030%20mn)%20before%20to%20see%20the%20group%20site%20appears%20deleted.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62501%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20a%20Team%20from%20within%20Teams%20client%20UI%20seems%20to%20leave%20the%20associated%20SharePoint%20group%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62501%22%20slang%3D%22en-US%22%3EThe%20Group%20Site%20should%20be%20deleted%20to...other%20community%20members%20has%20reported%20that%20the%20site%20is%20not%20initially%20removed%2C%20but%20after%20some%20time%20it's%20removed%3C%2FLINGO-BODY%3E
Highlighted
Contributor

From within the Teams client application I deleted a team.  However I noticed its associated Sharepoint site is still there.

 

I can manually delete that also, but I just wanted to know if this is how it is supposed to work and what else might I need to delete manually associated with the deleted team?

 

I am running Windows 7 client.

We have an O365 Enterprise E3 license.

 

 

21 Replies
Highlighted
The Group Site should be deleted to...other community members has reported that the site is not initially removed, but after some time it's removed
Highlighted
Yes I confirm Juan Carlos says. When I delete a office365 group I need to wait some times (less than 30 mn) before to see the group site appears deleted.
Highlighted

Hello Juan Carlos, thank you for your answer.  That does not seem to be my situation.  The SharePoint site associated with the deleted Team is still there even more than 24 hours later.

 

Highlighted

Hello Marie,

 

I was not deleting the SP site directly, I was deleting a Team from within the Team UI and I had expected the associated SharePoint site to be deleted in the same process automatically.  However, the SP site is still there.  I can delete it manually, but I was not sure if this was a bug in the delete Team process or not.

 

 

Highlighted

Seems like a bug to me. did you create the team before GA of teams? normally if you delete the site everthing has to be deleted.

Highlighted
Agree with Paul, that's not correct...I recommend you to open a ticket so support can see what's happening
Highlighted

Paul,

 

No, I did it recently.  And just to be clear, I was not deleting the site, I was deleting the team from within the client UI, then expecting the SP site to have automatically been deleted, which did not happen.  I am going to attach an image because I don't think I made myself very clear.

Highlighted

Just to make this clear to everyone, this may be a better explanation of what I did.

(And by the way, how do you open a ticket to Support?)

 

I created a test team in Teams Client UI

That automatically creates an Office 365 Group which is exposed in Outlook under Groups.

It also automatically creates a SharePoint site called http://xxxx.xxxx.com/sites/{TeamSiteName}

 

If you see in the attached image, there is an example of what I then tried to do.  I am in the Teams client UI, I right click on a team I had created, then select "Delete Team".   The Office 365 Group name disappears from Outlook as expected.  But the SharePoint site called http://xxxx.xxxx.com/sites/{TeamSiteName} was not deleted, which I did not expect. I assumed the SharePoint site would have been deleted when I deleted the Team.

 

So, it sounds like there is agreement that this sounds like a bug.  I just wanted to make sure it was clear what I had done and had expected.

 


TeamDelete.png

So how do I open a ticket to Support?

 

 

Highlighted
Highlighted

Hello Betty,

Like the others said, the best way is to open a ticket to support. It seems a bug with the client UI. Often, when a bug is identified with a ticket, the fix get faster.

It's OK for me when you delete the office 365 group on the admin center UI. I never delete the site directly. It's not fast but it works.

Have a nice day

 

Highlighted
You made yourself perfectly clear to me :) ...you deleted the "Team" (Not Team Site) from the Teams UI and the associated SharePoint Modern Site didn't delete too. I was wondering if the AD Group and Exchange Mailbox and Calendar also deleted.
Highlighted

Hi @Betty Stolwyk - we were seeing this a few months back, but testing again today it is working for us, be it slow for the SPO Site and MBX to be removed, they do go within 30mins (as others have shared above).

Highlighted

@Clifford - I gave this another go with the most current Teams Client Web UI and all is well.  I created a new Team and verified that it built an associated SharePoint site,  an O365 Group (visible in Outlook from the Group drop-down and visible in Azure Active Directory Groups), and Exchange Group mailbox. (@Ellya - I forgot to check on the calendar).  

 

After verifying that all the expected objects had also been created, I proceeded to delete the Team through the Team client Web UI. (right-click Team name, and select Delete from drop-down menu)

 

 

A warning dialog box popped up:

Delete "xxxx" team

Are you sure you want to delete the team "xxxxx"? All channels, chats, files, and the Office 365 Group for this team will be deleted.

[checkbox] I understand that everything will be deleted.

                                                                                               buttons: [Cancel] [Delete Team]

 

I checked the checkbox and clicked "Delete Team" button.

Going back I verified that all associated objects had been deleted : SharePoint site,  the O365 Group (no longer visible in Outlook from the Group drop-down nor in Azure Active Directory Groups), and Exchange Group mailbox.

 

 

 

Highlighted

I also posted an update in the Microsoft Teams Uservoice to say that it looks like this has been fixed.

Highlighted
Highlighted

To complete, it exists a delay for the deletion go up like Clifford said. I observe it too. I think this delay is due to the sync process between AAD and Teams.

Teams_sync_AAD.png

So, I think the delay max to see the deletion is over 15 mn.

 

 

Highlighted
Solution

Further investigation shows for our E2 tenant, when you delete a Team via the Teams App, the O365 Group gets deleted, but the corresponding SharePoint site is given a LockState of "No Access", so even if you have permission to the site, it refuses to display in the browser. To see all these sites on your tenant, use the following PowerShell: 

get-SPOSite | Select URL, LockState | Where lockstate -eq 'NoAccess'

 

To unlock the site, so you can browse it again, use this:

set-SPOSite -identity <Site URL> -lockstate "unlock"

 

And if you want to then delete it:

Remove-SPOSite -identity <Site URL>

 

Hope that helps

 

Highlighted

Thanks for your answer.

Indeed, with your powershell instruction, I see my team site is locked and not removed.

What a disappointment to always have to open  a support ticket. :(

 

 

Highlighted
Hello There. I know this is a technical post but as user i would like to know if someone knows any way to delete the team but keep the sharepoint site (so the opposite situation we are talking here) . this is usually related to the situation in which I completed a project and i don't want my people (and me neither) to see the team inside their list but, of course, i would like to keep all the documentation related to the project without having the need to copy it into another sharepoint location. Thank you very much.