Forum Discussion
abenet beyene
Aug 09, 2023Copper Contributor
Powershell Get Members of a Team and the Date they Joined only getting last 2 month and half
I am working on scrip to get users who joined Members groups for last year but I keep only getting the last 2 month and half. #Connect-ExchangeOnline -UserPrincipalName myaccount.env.com $Outp...
VasilMichev
Aug 10, 2023MVP
The Unified audit log only keeps event for 90 days by default. To go over that window, you need to have Audit Premium: https://learn.microsoft.com/en-us/purview/audit-premium
Or export the events periodically to another system and run your queries against it.
Or export the events periodically to another system and run your queries against it.
abenet beyene
Aug 10, 2023Copper Contributor
@vasil Or export the events periodically to another system and run your queries against it. not sure what you mean