FS Logix - Office 365 Containers for Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1433612%22%20slang%3D%22en-US%22%3EFS%20Logix%20-%20Office%20365%20Containers%20for%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1433612%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20we%20are%20using%20Office%20365%20Containers%20to%20store%20the%20users%20profiles%20for%20Teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20size%20of%20them%20though%20grow%20very%20large%20and%20we%20would%20like%20to%20exclude%20these%20folders%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5CApplication%20Cache%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5CCache%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5Cblob_storage%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5Cdatabases%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5CIndexeddb%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5CLocal%20Storage%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5Ctmp%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5CService%20Worker%5CCacheStorage%3C%2FP%3E%3CP%3EApplication%20Data%5CMicrosoft%5CTeams%5CService%20Worker%5CScriptCache%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20could%20we%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20couldn't%20see%20a%20way%20through%20group%20policy%2C%20but%20maybe%20it%20could%20be%20done%20through%20a%20powershell%20script%20to%20delete%20the%20folders%20at%20log%20on%20%2F%20off%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1433612%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Efslogix%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1944563%22%20slang%3D%22en-US%22%3ERe%3A%20FS%20Logix%20-%20Office%20365%20Containers%20for%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1944563%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F597581%22%20target%3D%22_blank%22%3E%40danieldunn10000%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20for%20the%20late%20response.%3CBR%20%2F%3EAccording%20to%20my%20tests%2C%20the%20exclusion%20(redirection.xml)%20is%20not%20taken%20into%20account%20by%20the%20office%20container.%20The%20exclusions%20is%20only%20apply%20to%20profile%20containers%20and%20for%20this%20you%20must%20not%20include%20Teams%20and%20Onedrive%20data%20in%20the%20office%20container.%3C%2FP%3E%3CP%3EIt%20is%20possible%20to%20use%20profile%20containers%20and%20redirect%20user's%20documents%20to%20another%20location%20(add%20exclude%20in%20redirection.xml).%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi we are using Office 365 Containers to store the users profiles for Teams.

 

The size of them though grow very large and we would like to exclude these folders

 

Application Data\Microsoft\Teams\Application Cache

Application Data\Microsoft\Teams\Cache

Application Data\Microsoft\Teams\blob_storage

Application Data\Microsoft\Teams\databases

Application Data\Microsoft\Teams\Indexeddb

Application Data\Microsoft\Teams\Local Storage

Application Data\Microsoft\Teams\tmp

Application Data\Microsoft\Teams\Service Worker\CacheStorage

Application Data\Microsoft\Teams\Service Worker\ScriptCache

 

How could we do this?

 

I couldn't see a way through group policy, but maybe it could be done through a powershell script to delete the folders at log on / off?

 

Thanks

1 Reply

@danieldunn10000  

Sorry for the late response.
According to my tests, the exclusion (redirection.xml) is not taken into account by the office container. The exclusions is only apply to profile containers and for this you must not include Teams and Onedrive data in the office container.

It is possible to use profile containers and redirect user's documents to another location (add exclude in redirection.xml).