Forum Discussion
AB21805
Jul 16, 2024Bronze Contributor
Automatically email anyone who's one-drive is over 100gb
Hi all, I would like to implement an automation process to save time and avoid the need to manually find and email these users individually. The goal is to automatically email anyon...
GoziechukwuC
Jul 18, 2024Copper Contributor
Power Automate Flow:
Create a Power Automate flow that triggers periodically (e.g., daily or weekly).
Use the Graph API command getOneDriveUsageAccountDetail to retrieve OneDrive usage details for the last 180 days.
Apply a loop (for each command) to check each user’s storage size.
If a user’s storage exceeds 100GB, send them an email with the necessary steps.
Graph API Command:
The getOneDriveUsageAccountDetail command provides information about OneDrive sites and their capacity.
You can use this data to identify users with excessive storage.
Email Content:
In the automated email, include instructions for managing storage (e.g., deleting files, optimizing storage).
Provide links to relevant documentation or support resources.
Create a Power Automate flow that triggers periodically (e.g., daily or weekly).
Use the Graph API command getOneDriveUsageAccountDetail to retrieve OneDrive usage details for the last 180 days.
Apply a loop (for each command) to check each user’s storage size.
If a user’s storage exceeds 100GB, send them an email with the necessary steps.
Graph API Command:
The getOneDriveUsageAccountDetail command provides information about OneDrive sites and their capacity.
You can use this data to identify users with excessive storage.
Email Content:
In the automated email, include instructions for managing storage (e.g., deleting files, optimizing storage).
Provide links to relevant documentation or support resources.