How to Copy All OneDrive for Business Files to Azure Blob Storage
Question details
Organizations need to continuously back up or copy new and modified files from every user's OneDrive for Business account to Azure Blob Storage for compliance and data retention purposes.

- Product
- OneDrive for Business, Azure Blob Storage
- Device & OS
- not provided
- Scenario
- Enterprise data retention and compliance archiving across multiple user accounts.
- Observed behavior
- A standard cloud flow created under a single user account does not automatically grant access to every user's OneDrive, preventing automated organization-wide archiving without proper permissions and architecture.
Ensure you have Microsoft 365 global administrator or appropriate delegated administrative permissions, as well as an active Azure subscription with the target Blob Storage account provisioned.
Use Microsoft Graph API and Azure Data Factory
This is the recommended enterprise-scale approach for enumerating users and continuously transferring large volumes of data securely.
Because accessing multiple users' OneDrive accounts requires tenant-level administrative privileges, standard user flows are insufficient. Integrating Azure Data Factory with the Microsoft Graph API provides the necessary application-level access and scalability for compliance archiving.
Navigate to the Microsoft Entra admin center, register a new application, and grant it application-level permissions for 'Files.Read.All' and 'User.Read.All' via the Microsoft Graph API.
In the Azure portal, navigate to Storage Accounts, select or create your storage account, and set up a new Blob container to act as the destination sink for the organizational files.
Set up an Azure Data Factory instance and create a new data pipeline. Use an HTTP linked service authenticated with your registered app's credentials to connect to the Microsoft Graph API.
Configure a recurring trigger in Azure Data Factory to query the Microsoft Graph API for modified OneDrive files using Delta Queries, and use the Copy Data activity to route the fetched files directly to your Azure Blob Storage container.

Use Power Automate for Targeted Folders
Use Power Automate for smaller environments or specific shared folders where a service account holds delegated access.
Try WPS Office for Seamless Enterprise Document Management
While setting up Azure Blob Storage integrations for your OneDrive organizational data, ensure your teams have a reliable suite to open and manage backed-up files. WPS Office is a powerful, lightweight alternative to Microsoft Office that perfectly supports viewing and editing your archived documents.

Frequently Asked Questions
Can I use a standard user account to back up all organization OneDrive files?
No. A flow created under a standard user account only provides access to that specific user's files. You must use an account with Microsoft 365 administrative privileges or set up application-level permissions via the Microsoft Graph API.
How can I only copy files that are new or modified to save bandwidth?
You can utilize Microsoft Graph API Delta Queries, or rely on the 'When a file is created or modified' trigger in Power Automate. This ensures you only process incremental changes rather than re-copying the entire drive every time.
Is Power Automate suitable for continuous enterprise-wide backups?
While Power Automate can handle basic file transfers, it may face API throttling limits and complex permission management at an enterprise scale. For large organizations, using Azure Data Factory and Microsoft Graph is highly recommended by Microsoft community experts for better robustness and scalability.




