Need Powershell script for fetch the details of in active team since 90 days

%3CLINGO-SUB%20id%3D%22lingo-sub-2527208%22%20slang%3D%22en-US%22%3ENeed%20Powershell%20script%20for%20fetch%20the%20details%20of%20in%20active%20team%20since%2090%20days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2527208%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20identify%20inactive%20Teams%2C%20I%20work%20for%20a%20reasonably%20sized%20company%20so%20we%20have%20hundreds%20of%20Teams%20setup.%20I%20have%20tried%20running%20a%20Usage%20Report%20but%20that%20only%20shows%20Teams%20that%20have%20had%20activity%20within%20the%20last%207%2C%2028%20or%2090%20days%2C%20if%20a%20Team%20has%20had%20no%20activity%20for%20over%2090%20days%20it%20does%20not%20seem%20to%20appear%20within%20the%20report.%3C%2FP%3E%3CP%3EAlso%2C%20I%20want%26nbsp%3B%20to%20know%20the%20space%20they%20are%20consuming.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2527208%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2527301%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20Powershell%20script%20for%20fetch%20the%20details%20of%20in%20active%20team%20since%2090%20days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2527301%22%20slang%3D%22en-US%22%3EGenerally%2C%20the%20reporting%20functionality%20(M365%20Admin%20Center%2C%20Microsoft%20Graph)%20allows%20you%20to%20go%20back%201%20day%2C%207%20days%2C%2030%20days%2C%2090%20days%20or%20180%20days.%20If%20you%20require%20additional%20reporting%20over%20a%20longer%20period%2C%20you%20would%20probably%20have%20to%20start%20storing%20these%20details%20in%20a%20separate%20database%20so%20you%20can%20do%20more%20reporting%20on%20them.%3CBR%20%2F%3E%3CBR%20%2F%3EUsing%20the%20Microsoft%20Graph%20PowerShell%20modules%20you%20can%20get%20such%20reporting%2C%20have%20a%20look%20at%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fmicrosoft.graph.reports%2F%3Fview%3Dgraph-powershell-1.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fmicrosoft.graph.reports%2F%3Fview%3Dgraph-powershell-1.0%3C%2FA%3E.%3C%2FLINGO-BODY%3E
Occasional Contributor

 

Hello,

 

I am trying to identify inactive Teams, I work for a reasonably sized company so we have hundreds of Teams setup. I have tried running a Usage Report but that only shows Teams that have had activity within the last 7, 28 or 90 days, if a Team has had no activity for over 90 days it does not seem to appear within the report.

Also, I want  to know the space they are consuming.

1 Reply
Generally, the reporting functionality (M365 Admin Center, Microsoft Graph) allows you to go back 1 day, 7 days, 30 days, 90 days or 180 days. If you require additional reporting over a longer period, you would probably have to start storing these details in a separate database so you can do more reporting on them.

Using the Microsoft Graph PowerShell modules you can get such reporting, have a look at https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.reports/?view=graph-powershell-1.....