Forum Discussion
franckma
Feb 17, 2022Brass Contributor
Storage quota warning notification to Admins for all OneDrive accounts
I would like to configure a storage quota warning notification for all of the company's OneDrive for Business accounts to a group a admins.
Especially since we have FirstLine worker with a 2 GB storage limit, many OneDrives reach their storage limit. We would like to get a notification to admins at e.g. 90% of the storage limit.
Can this easily be achieved? I could not find anything.
Thanks,
Franck
- You can easily do this via PowerShell, here's a sample script: https://docs.microsoft.com/en-US/sharepoint/manage-site-collection-storage-limits?WT.mc_id=365AdminCSH_spo#monitor-site-storage-limits-by-using-powershell
- You can easily do this via PowerShell, here's a sample script: https://docs.microsoft.com/en-US/sharepoint/manage-site-collection-storage-limits?WT.mc_id=365AdminCSH_spo#monitor-site-storage-limits-by-using-powershell
- franckmaBrass ContributorGreat thanks,
and I could filter the OneDrive through this command:
Get-SPOSite -Limit ALL -Filter {Url -like "contoso-my.sharepoint.com/personal"} -IncludePersonalSite:$true