SOLVED

Archiving Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-210320%22%20slang%3D%22en-US%22%3EArchiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-210320%22%20slang%3D%22en-US%22%3E%3CP%3EThere's%20now%20two%20ways%20to%20archive%20a%20team.%20Microsoft's%20official%20method%20is%20now%20rolling%20out%20with%20Teams%20desktop%20client%20updates%20(%3CA%20href%3D%22https%3A%2F%2Fwww.petri.com%2Farchiving-teams-official-way%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.petri.com%2Farchiving-teams-official-way%3C%2FA%3E)%20or%20you%20can%20roll%20your%20own%20with%20PowerShell%20to%20deal%20with%20all%20Office%20365%20Groups%20resources%2C%20including%20Teams%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.petri.com%2Farchive-inactive-office-365-groups%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.petri.com%2Farchive-inactive-office-365-groups%3C%2FA%3E.%20Choose%20your%20method%20and%20have%20fun!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-210320%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-298664%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-298664%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Darryn%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%26nbsp%3Baccomplish%20this%20using%20PowerShell%20(Invoke-Webrequest)%20%26amp%3B%20Graph.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-archive%3Fview%3Dgraph-rest-1.0%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fteam-archive%3Fview%3Dgraph-rest-1.0%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%5CMagnus%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-298585%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-298585%22%20slang%3D%22en-US%22%3E%3CP%3EAny%20further%20information%20on%20archiving%20via%20PowerShell%20yet%3F%3C%2FP%3E%3CP%3EI%20would%20like%20to%20clean%20up%20our%20old%20(2017)%20EDU%20teams%20we%20have%26nbsp%3B4000%2B%20so%20manually%20is%20not%20an%20option.%3C%2FP%3E%3CP%3EAlso%20we%20need%20to%20archive%20our%20Semester%201%20teams%20easily.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286543%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286543%22%20slang%3D%22en-US%22%3EYou%20have%20Microsoft%20Teams%20Version%201.1.00.29053.%20It%20was%20last%20updated%20on%2026%2F10%2F2018.%3CBR%20%2F%3E%3CBR%20%2F%3EJust%20realised%20my%20mistake%2C%20as%20you%20mentioned%20the%20cog%20by%20Join%20or%20Create%20Team%2C%20went%20there%20and%20see%20the%20list%20of%20Teams%20and%20can%20archive%20there.%20Thanks%20Chris.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286534%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286534%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Graham%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20version%20of%20Teams%20are%20you%20using%3F%20In%20the%20Desktop%20Client%20if%20you%20select%20your%20picture%20in%20the%20top%20right%20%26gt%3B%20About%20%26gt%3B%20Version%20then%20it%20should%20show%20you%20what%20your%20on%20and%20when%20Teams%20was%20last%20updated%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20me%20it%20shows%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EYou%20have%20Microsoft%20Teams%20Version%201.1.00.29068%20(64%20bit).%20It%20was%20last%20updated%20on%2007%2F11%2F2018.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20definitely%20have%20archiving%20by%26nbsp%3Bselecting%20the%20cog%20next%20to%20Join%20or%20Create%20Teams%20on%20this%20version.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThis%20article%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FWhat-s-new-in-Microsoft-Teams-d7092a6d-c896-424c-b362-a472d5f105de%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FWhat-s-new-in-Microsoft-Teams-d7092a6d-c896-424c-b362-a472d5f105de%3C%2FA%3E%20states%20that%20Archiving%20was%20introduced%20June%2026th%202018.%20I%20can't%20find%20anything%20online%20that%20has%20a%20specific%20desktop%20client%20version%20history.%20That%20would%20be%20helpful%20may%20do%20a%20user%20voice.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHope%20that%20helps.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EBest%2C%20Chris%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286532%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286532%22%20slang%3D%22en-US%22%3EExactly%20that%20Magnus.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286531%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286531%22%20slang%3D%22en-US%22%3EYou're%20the%20owner%20of%20the%20team%20and%20you%20are%20missing%20Archive%20team%20when%20you%20click%20the%20ellipsis%20next%20to%20the%20team%20from%20within%20the%20Manage%20teams%20area%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286512%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286512%22%20slang%3D%22en-US%22%3EDoes%20anyone%20have%20an%20idea%20why%20this%20is%20missing%20from%20my%20tenant%3F%20I%20am%20a%20global%20admin%2C%20we%20are%20in%20Ring%203%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-210806%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-210806%22%20slang%3D%22en-US%22%3EEDU%20tenants%20using%20School%20Data%20Sync%20should%20be%20able%20to%20automate%20archiving%20of%20class%20teams%20in%20a%20few%20weeks.%20Archiving%20teams%20the%20same%20way%20as%20in%20the%20GUI%20will%20also%20be%20available%20using%20Graph%20and%2For%20PowerShell%20soon.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-860703%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-860703%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64%22%20target%3D%22_blank%22%3E%40Tony%20Redmond%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20sahre.%26nbsp%3B%3C%2FP%3E%3CP%3EEverything%20works%20as%20you%20mentionned%3A%20when%20you%20archive%20a%20Teams%2C%20users%20will%20have%20access%20on%20the%20documents%20with%20READ%20ONLY%2C%20and%20the%20same%20from%20the%20SharePoint%20site%20associated%20to%20the%20Teams%20group.%3C%2FP%3E%3CP%3EOnly%20the%20DataOwner%20could%20apply%20modifications%20on%20all%20documents.%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20question%20right%20now%20is%3A%20could%20we%20be%20able%20to%20archive%20a%20SHIFTS%20please%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-861291%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-861291%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F383613%22%20target%3D%22_blank%22%3E%40Sofianeda1st%3C%2FA%3E%26nbsp%3BShifts%20is%20a%20Teams%20app%20whose%20data%20is%20stored%20in%20Azure.%20AFAIK%2C%20the%20only%20way%20to%20archive%20Shifts%20information%20is%20to%20archive%20the%20team%20the%20shift%20belongs%20to.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1502766%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1502766%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64%22%20target%3D%22_blank%22%3E%40Tony%20Redmond%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20have%20a%20script%20to%20archive%20the%20MS%20teams%20based%20on%20their%20object%20ID's%20or%20group%20email%20id's%20from%20an%20input%20source%20(txt%20or%20cvs).%20Remove%20all%20the%20owners%20and%20members%20and%20add%20a%20separate%20account%20as%20the%20new%20owner%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EMuhamed%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1502783%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1502783%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F587908%22%20target%3D%22_blank%22%3E%40muhamedrafeeq%3C%2FA%3E%26nbsp%3B%20I%20do.%20It's%20included%20in%20the%20Office%20365%20for%20IT%20Pros%20ebook.%20I%20haven't%20published%20it%20on%20GitHub%20or%20in%20a%20separate%20article.%20One%20day%2C%20when%20I%20get%20some%20time%2C%20I%20might%20just%20do%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1502811%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1502811%22%20slang%3D%22en-US%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64%22%20target%3D%22_blank%22%3E%40Tony%20Redmond%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%20The%20school%20is%20closing%20for%20this%20academic%20year%20and%20I%20need%20to%20archive%20around%20600%2B%20TEAMS.%20Will%20you%20be%20kind%20enough%20to%20share%20the%20powershell%20script%26nbsp%3B%40%20%3CA%20href%3D%22mailto%3Amuhamed.rafeeq%40hotmail.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Emuhamed.rafeeq%40hotmail.com%3C%2FA%3E%26nbsp%3B%3F%20Thanks%20alot%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1503745%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1503745%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F587908%22%20target%3D%22_blank%22%3E%40muhamedrafeeq%3C%2FA%3E%26nbsp%3Bjust%20for%20you...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EArchiving%20Microsoft%20365%20Groups%20(and%20Teams)%20with%20PowerShell%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20Microsoft%20365%20Groups%20and%20Teams%20reach%20the%20end%20of%20their%20useful%20life%2C%20it%E2%80%99s%20good%20to%20archive%20them%20so%20that%20their%20data%20stays%20online%20and%20available%20for%20eDiscovery.%20A%20recent%20request%20looked%20for%20help%20to%20archive%20600%20Groups%20at%20the%20end%20of%20the%20academic%20year.%20The%20script%20described%20here%20might%20help%20solve%20the%20problem.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Foffice365itpros.com%2F2020%2F07%2F03%2Farchiving-microsoft-365-groups-teams-powershell%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foffice365itpros.com%2F2020%2F07%2F03%2Farchiving-microsoft-365-groups-teams-powershell%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504063%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504063%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B-ERR%3AREF-NOT-FOUND-%40Tony%20Redmond%2C%3C%2FP%3E%3CP%3EThank%20you%20so%20much.%20I%20will%20test%20this.%20For%20some%20reason%20I%20am%20getting%20error%20while%20running%26nbsp%3BGet-UnifiedGroup.%20I%20am%20already%20a%20Global%20admin.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet-UnifiedGroup%20%3A%20The%20term%20'Get-UnifiedGroup'%20is%20not%20recognized%20as%20the%20name%20of%20a%20cmdlet%2C%20function%2C%20script%20file%2C%20or%3CBR%20%2F%3Eoperable%20program.%20Check%20the%20spelling%20of%20the%20name%2C%20or%20if%20a%20path%20was%20included%2C%20verify%20that%20the%20path%20is%20correct%20and%20try%3CBR%20%2F%3E%3CBR%20%2F%3Eagain.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504072%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504072%22%20slang%3D%22en-US%22%3EYou%20are%20not%20connected%20to%20Exchange%20Online.%20Use%20the%20instructions%20online%20to%20download%20and%20install%20the%20Exchange%20Online%20Management%20module%20from%20the%20PowerShell%20gallery%20and%20then%20run%20the%20Connect-ExchangeOnline%20cmdlet%20to%20connect.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504194%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504194%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B-ERR%3AREF-NOT-FOUND-%40Tony%20Redmond%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20alot%20for%20all%20the%20support%3CSPAN%3E.%20Is%20it%20possible%20you%20can%20share%20the%26nbsp%3BGroupsForReview.CSV%20sample%20template%20as%20we%20have%20around%2032000%20Teams%20in%20my%20tenant.%20It%20is%20better%20I%20fill%20the%20details%20manually.%20I%20can%20export%20the%20below%20details%20from%20azure%20active%20directory.%20Can%20this%20info%20be%20useful%20in%20the%26nbsp%3BGroupsForReview%20file%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%221245px%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22252px%22%3Eid%3C%2FTD%3E%3CTD%20width%3D%22260.667px%22%3EdisplayName%3C%2FTD%3E%3CTD%20width%3D%2288px%22%3EgroupType%3C%2FTD%3E%3CTD%20width%3D%22133.333px%22%3EmembershipType%3C%2FTD%3E%3CTD%20width%3D%2257.3333px%22%3Esource%3C%2FTD%3E%3CTD%20width%3D%22452.667px%22%3Email%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22252px%22%3Eccd84f2e-7b8c-4137-afd2-3c561d03c128%3C%2FTD%3E%3CTD%20width%3D%22260.667px%22%3EGCS-Grade1A%3C%2FTD%3E%3CTD%20width%3D%2288px%22%3EOffice%3C%2FTD%3E%3CTD%20width%3D%22133.333px%22%3EAssigned%3C%2FTD%3E%3CTD%20width%3D%2257.3333px%22%3ECloud%3C%2FTD%3E%3CTD%20width%3D%22452.667px%22%3EGrade1A%40ABC.onmicrosoft.com%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22252px%22%3E5cf8gff9-cac3-415c-be6f-157e15f6221d%3C%2FTD%3E%3CTD%20width%3D%22260.667px%22%3EGCS-Grade1B%3C%2FTD%3E%3CTD%20width%3D%2288px%22%3EOffice%3C%2FTD%3E%3CTD%20width%3D%22133.333px%22%3EAssigned%3C%2FTD%3E%3CTD%20width%3D%2257.3333px%22%3ECloud%3C%2FTD%3E%3CTD%20width%3D%22452.667px%22%3EGrade1B%40%40ABC.onmicrosoft.com%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22252px%22%3E81id75db-c35e-49fb-a480-13d18b908f09%3C%2FTD%3E%3CTD%20width%3D%22260.667px%22%3EGCS-Grade1C%3C%2FTD%3E%3CTD%20width%3D%2288px%22%3EOffice%3C%2FTD%3E%3CTD%20width%3D%22133.333px%22%3EAssigned%3C%2FTD%3E%3CTD%20width%3D%2257.3333px%22%3ECloud%3C%2FTD%3E%3CTD%20width%3D%22452.667px%22%3EGrade1C%40ABC.onmicrosoft.com%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504221%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504221%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F587908%22%20target%3D%22_blank%22%3E%40muhamedrafeeq%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20quickest%20way%20to%20create%20the%20template%20is%20to%20create%20a%20new%20CSV%20file%20with%20the%20columns%20used%20by%20the%20script%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDisplayName%3C%2FP%3E%0A%3CP%3EAlias%3C%2FP%3E%0A%3CP%3EDistinguishedName%3C%2FP%3E%0A%3CP%3EPrimarySmtpAddress%3C%2FP%3E%0A%3CP%3ESensitivityLabel%20(if%20you%20don't%20use%20these%20labels%2C%20you%20can%20omit%20this%20field)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%20then%20you%20can%20fill%20it%20in%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20information%20exported%20from%20Azure%20AD%20could%20be%20used%20with%20the%20script.%20You%20could%20replace%20the%20reference%20to%20%24Group.DistinguishedName%20with%20%24Group.Id%20(the%20GUID%20or%20identifier%20for%20the%20group).%20Exchange%20is%20happy%20to%20accept%20either%20the%20distinguished%20name%20or%20identifier%20to%20find%20a%20group.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%20you'd%20also%20have%20to%20make%20sure%20that%20all%20the%20groups%20you%20download%20from%20Azure%20AD%20are%20Microsoft%20365%20Groups%20used%20by%20Teams.%20i%20guess%20you%20know%20them%2C%20so%20you%20can%20tell%20them%20by%20sight.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504222%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504222%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F587908%22%20target%3D%22_blank%22%3E%40muhamedrafeeq%3C%2FA%3E%26nbsp%3B%20BTW%2C%20with%2032%2C000%20teams%20in%20the%20tenant%2C%20I%20would%20say%20that%20it%20is%20always%20best%20to%20automate%20rather%20than%20do%20things%20manually...%20Much%20faster%20and%20less%20prone%20to%20error...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504475%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504475%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B-ERR%3AREF-NOT-FOUND-%40Tony%20Redmond%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20able%20to%20run%20the%20script%20without%20any%20error%2C%20but%20I%20didnt%20get%20the%20result%20as%20expected.%20Please%20see%20the%20findings%20below%3A%3C%2FP%3E%3CP%3E1.%20The%20script%20removed%20the%20current%20owners%20and%20members%20and%20added%20the%20%22compliance%20manager%22%20user%20as%20new%20owner%20as%20seen%20below%20in%20the%20Teams%20admin%20center.%3C%2FP%3E%3CP%3E2.%20All%20the%20groups%20got%20renamed%20to%20%22Archived%22%20without%20the%20orginal%20name.%3C%2FP%3E%3CP%3E3.%20The%20Teams%20didnt%20get%20archived%20and%20are%20still%20active.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Teams%20admin%20portal.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203314i34A8CE2BE0FB057E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Teams%20admin%20portal.png%22%20alt%3D%22Teams%20admin%20portal.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E4.%20The%20past%20owners%20and%20members%20are%20still%20able%20to%20access%20the%20%22supposed%20to%20be%20archived%22%20Teams%20in%20their%20login%20with%20the%20old%20name.%3C%2FP%3E%3CP%3E5.%20Compliance%20manager%20dont%20see%20these%20Teams%20in%20his%20login.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20attaching%20the%20script%20I%20used%20and%20the%20output%20report%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Archive%20script%20report.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203316i4AA82492FCE599E4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Archive%20script%20report.png%22%20alt%3D%22Archive%20script%20report.png%22%20%2F%3E%3C%2FSPAN%3E%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-1504501%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504501%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F587908%22%20target%3D%22_blank%22%3E%40muhamedrafeeq%3C%2FA%3E%26nbsp%3BThe%20script%20worked%20and%20the%20teams%20are%20archived.%20What%20you're%20seeing%20is%20that%20the%20Teams%20clients%20have%20not%20yet%20refreshed%20their%20%22rosters%22%20(team%20membership).%20When%20this%20happens%2C%20people%20who%20have%20been%20removed%20will%20lose%20access%20to%20the%20teams.%20This%20process%20can%20take%20more%20than%20a%20day...%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504502%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504502%22%20slang%3D%22en-US%22%3E%3CP%3EBut%20I%20will%20bring%20the%20issue%20to%20the%20attention%20of%20the%20Teams%20developers%20because%20the%20process%20seems%20to%20be%20taking%20even%20longer%20right%20now%20than%20it%20used%20in%20the%20past.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504514%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504514%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64%22%20target%3D%22_blank%22%3E%40Tony%20Redmond%3C%2FA%3E%26nbsp%3B.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20I%20have%20some%20hope%20%3A-).%20I%20will%20wait%20for%201%20day%20then.%3C%2FP%3E%3CP%3EThank%20you%20so%20much.%20Really%20appreciate%20your%20kindness.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EMuhamed%20Rafeeq%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-1504530%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504530%22%20slang%3D%22en-US%22%3EThe%20script%20works%20by%20appending%20the%20string%20%E2%80%9C(Archived)%E2%80%9D%20to%20an%20input%20group%20name.%20What%20seems%20to%20have%20happened%20here%20is%20that%20the%20input%20file%20didn%E2%80%99t%20populate%20the%20group%20name.%20However%2C%20it%20should%20be%20easy%20to%20repair%20the%20damage%20by%20reading%20the%20input%20file%20to%20find%20the%20original%20display%20name%20and%20using%20that%20to%20create%20a%20new%20display%20name%20with%20the%20(Archived)%20appendage.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504532%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504532%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64%22%20target%3D%22_blank%22%3E%40Tony%20Redmond%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20it%20was%20my%20mistake.%20There%20was%20a%20space%20for%20Display%20Name%20in%20the%20input%20file.%20Now%20I%20will%20wait%20to%20see%20if%20the%20teams%20get%20really%20archived%20tomorrow.%20Then%20I%20am%20good%20to%20go%20with%20my%20600%2B%20Teams%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2Fimages%2Femoticons%2Fstareyes_40x40.gif%22%20alt%3D%22%3Astareyes%3A%22%20title%3D%22%3Astareyes%3A%22%20%2F%3E%3C%2FP%3E%3CP%3EVery%20happy%20for%20tonight.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBye.%20Take%20care.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1505612%22%20slang%3D%22en-US%22%3ERe%3A%20Archiving%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1505612%22%20slang%3D%22en-US%22%3E%3CP%3EDearest%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64%22%20target%3D%22_blank%22%3E%40Tony%20Redmond%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunately%20the%20TEAMS%20didnt%20get%20archived%20even%20after%20waiting%20for%203%20days.%20The%20Teams%20are%20getting%20renamed%20and%20current%20owners%2Fmembers%20are%20getting%20removed.%20They%20are%20still%20not%20visible%20in%20the%20%22Compliance%20manager%22%20login%20even%20though%20he%20is%20the%20only%20owner%20for%20the%20Teams%20now.%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%20image-alt%3D%22muhamedrafeeq_0-1594064740792.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203644i9B20998B686F7DB3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22muhamedrafeeq_0-1594064740792.png%22%20alt%3D%22muhamedrafeeq_0-1594064740792.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20changes%20I%20should%20make%20in%20the%20script%2C%20so%20that%20it%20removes%20the%20current%20owners%2Fmembers%20and%20add%20the%20new%20owner%20without%20archiving%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EMuhamed%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
MVP

There's now two ways to archive a team. Microsoft's official method is now rolling out with Teams desktop client updates (https://www.petri.com/archiving-teams-official-way) or you can roll your own with PowerShell to deal with all Office 365 Groups resources, including Teams https://www.petri.com/archive-inactive-office-365-groups. Choose your method and have fun!

30 Replies
Highlighted
EDU tenants using School Data Sync should be able to automate archiving of class teams in a few weeks. Archiving teams the same way as in the GUI will also be available using Graph and/or PowerShell soon.
Highlighted
Does anyone have an idea why this is missing from my tenant? I am a global admin, we are in Ring 3
Highlighted
You're the owner of the team and you are missing Archive team when you click the ellipsis next to the team from within the Manage teams area?
Highlighted
Exactly that Magnus.
Highlighted

Hi Graham,

 

What version of Teams are you using? In the Desktop Client if you select your picture in the top right > About > Version then it should show you what your on and when Teams was last updated

 

For me it shows

 

You have Microsoft Teams Version 1.1.00.29068 (64 bit). It was last updated on 07/11/2018.

 

I definitely have archiving by selecting the cog next to Join or Create Teams on this version.

 

This article: https://support.office.com/en-us/article/What-s-new-in-Microsoft-Teams-d7092a6d-c896-424c-b362-a472d... states that Archiving was introduced June 26th 2018. I can't find anything online that has a specific desktop client version history. That would be helpful may do a user voice.

 

Hope that helps.

 

Best, Chris

Highlighted
You have Microsoft Teams Version 1.1.00.29053. It was last updated on 26/10/2018.

Just realised my mistake, as you mentioned the cog by Join or Create Team, went there and see the list of Teams and can archive there. Thanks Chris.
Highlighted

Any further information on archiving via PowerShell yet?

I would like to clean up our old (2017) EDU teams we have 4000+ so manually is not an option.

Also we need to archive our Semester 1 teams easily.

Highlighted

Hi Darryn,

 

You can accomplish this using PowerShell (Invoke-Webrequest) & Graph.

 

https://docs.microsoft.com/en-us/graph/api/team-archive?view=graph-rest-1.0

 

\Magnus

Highlighted

Hello @Tony Redmond 

Thank you for the sahre. 

Everything works as you mentionned: when you archive a Teams, users will have access on the documents with READ ONLY, and the same from the SharePoint site associated to the Teams group.

Only the DataOwner could apply modifications on all documents. 

My question right now is: could we be able to archive a SHIFTS please? 

Highlighted

@Sofianeda1st Shifts is a Teams app whose data is stored in Azure. AFAIK, the only way to archive Shifts information is to archive the team the shift belongs to.

Highlighted

Hi @Tony Redmond ,

 

Do you have a script to archive the MS teams based on their object ID's or group email id's from an input source (txt or cvs). Remove all the owners and members and add a separate account as the new owner ?

 

Regards,

Muhamed

Highlighted

@muhamedrafeeq  I do. It's included in the Office 365 for IT Pros ebook. I haven't published it on GitHub or in a separate article. One day, when I get some time, I might just do that.

Highlighted

Dear @Tony Redmond ,

 

Thanks for the reply. The school is closing for this academic year and I need to archive around 600+ TEAMS. Will you be kind enough to share the powershell script @ muhamed.rafeeq@hotmail.com ? Thanks alot in advance.

Highlighted
Best Response confirmed by ThereseSolimeno (Microsoft)
Solution

@muhamedrafeeq just for you...

 

Archiving Microsoft 365 Groups (and Teams) with PowerShell

 

Once Microsoft 365 Groups and Teams reach the end of their useful life, it’s good to archive them so that their data stays online and available for eDiscovery. A recent request looked for help to archive 600 Groups at the end of the academic year. The script described here might help solve the problem.

 

https://office365itpros.com/2020/07/03/archiving-microsoft-365-groups-teams-powershell/

Highlighted

Hi @Tony Redmond,

Thank you so much. I will test this. For some reason I am getting error while running Get-UnifiedGroup. I am already a Global admin.

 

Get-UnifiedGroup : The term 'Get-UnifiedGroup' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.

Highlighted
You are not connected to Exchange Online. Use the instructions online to download and install the Exchange Online Management module from the PowerShell gallery and then run the Connect-ExchangeOnline cmdlet to connect.
Highlighted

Hi @Tony Redmond ,

 

Thanks alot for all the support. Is it possible you can share the GroupsForReview.CSV sample template as we have around 32000 Teams in my tenant. It is better I fill the details manually. I can export the below details from azure active directory. Can this info be useful in the GroupsForReview file ?

 

iddisplayNamegroupTypemembershipTypesourcemail
ccd84f2e-7b8c-4137-afd2-3c561d03c128GCS-Grade1AOfficeAssignedCloudGrade1A@ABC.onmicrosoft.com
5cf8gff9-cac3-415c-be6f-157e15f6221dGCS-Grade1BOfficeAssignedCloudGrade1B@@ABC.onmicrosoft.com
81id75db-c35e-49fb-a480-13d18b908f09GCS-Grade1COfficeAssignedCloudGrade1C@ABC.onmicrosoft.com
Highlighted

@muhamedrafeeq 

 

The quickest way to create the template is to create a new CSV file with the columns used by the script

 

DisplayName

Alias

DistinguishedName

PrimarySmtpAddress

SensitivityLabel (if you don't use these labels, you can omit this field)

 

And then you can fill it in 

 

The information exported from Azure AD could be used with the script. You could replace the reference to $Group.DistinguishedName with $Group.Id (the GUID or identifier for the group). Exchange is happy to accept either the distinguished name or identifier to find a group.

 

But you'd also have to make sure that all the groups you download from Azure AD are Microsoft 365 Groups used by Teams. i guess you know them, so you can tell them by sight.

Highlighted

@muhamedrafeeq  BTW, with 32,000 teams in the tenant, I would say that it is always best to automate rather than do things manually... Much faster and less prone to error...