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.


2 Replies
best response confirmed by franckma (Contributor)
Great thanks,
and I could filter the OneDrive through this command:
Get-SPOSite -Limit ALL -Filter {Url -like ""} -IncludePersonalSite:$true