logo
search
Data Backup Problems

How to Move OneDrive Files to Azure Storage After User Deletion

John WilsonJohn Wilson Oct 21, 2026 868 views

Question details

Determine whether user data in OneDrive is automatically backed up to Azure Storage when their Microsoft 365 account is deleted, and explore options for automating this data transfer.

How to Move OneDrive Files to Azure Storage After User Deletion
Product
Microsoft 365
Device & OS
not provided
Scenario
A Microsoft 365 administrator is deleting a user account and needs to ensure their OneDrive files are retained and transferred securely to an Azure Storage environment.
Observed behavior
OneDrive files are not automatically moved to Azure Storage upon user deletion; administrators must proactively implement manual transfers or set up automation rules.
Before you start

Verify your Microsoft 365 data retention policies and temporarily assign another user (such as a manager) access to the deleted user's OneDrive to prevent data from being permanently purged before the transfer completes.

Solution 1Recommended

Automate Data Transfer Using Microsoft Power Automate

Create an automated workflow in Power Automate to copy documents from OneDrive to an Azure Blob Storage container prior to deleting the user account.

Microsoft 365 does not natively transfer files to Azure upon account deletion. However, Power Automate offers built-in connectors for both OneDrive for Business and Azure Blob Storage, making it possible to design an automated cloud flow that secures critical data.

1
Access Power Automate

Log into the Microsoft Power Automate portal using your Microsoft 365 administrator credentials.

2
Create a New Flow

Click 'Create' on the left sidebar and select 'Automated cloud flow' or 'Scheduled cloud flow' depending on your specific backup routine.

3
Configure the OneDrive Trigger

Search for the 'OneDrive for Business' connector and set up a trigger or action to 'Get file content' for the target user's drive.

4
Add Azure Blob Storage Action

Add a new step, select the 'Azure Blob Storage' connector, and choose the 'Create blob' action. Provide your Azure storage account name, access key, and map the OneDrive file contents to the Azure Blob creation fields.

Automate Data Transfer Using Microsoft Power Automate
Community Support: If you require specific logic for large batch migrations, the Microsoft Power Automate community forums offer excellent implementation templates and guidance.
Free Microsoft Office alternative

Manage Your Local and Cloud Documents Easily with WPS Office

Handling server-side configurations and data backups in Microsoft 365 can be highly complex. If you are looking for a straightforward, cost-effective way to manage daily documents, consider WPS Office. It provides powerful desktop tools, built-in cloud storage capabilities, and complete compatibility with standard Office files.

  1. 1. Download the Installer: Visit the WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the straightforward on-screen instructions to complete the installation.
  3. 3. Open Your Documents: Launch WPS Office and easily open, edit, or save your existing Microsoft Office formats without losing any formatting.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight suite that installs quickly and runs smoothly on Windows, Mac, and Linux.Built-in WPS Cloud makes file backup, sharing, and recovery simple and intuitive.
microsoft office alternative - wps office

Frequently Asked Questions

How long are OneDrive files kept after a Microsoft 365 user is deleted?

By default, OneDrive files are retained for 30 days after a user account is deleted. Microsoft 365 administrators can extend this retention period up to 3650 days (10 years) through the SharePoint admin center.

Can I give another user access to a deleted user's OneDrive?

Yes. When you delete a user in the Microsoft 365 admin center, you are prompted with an option to give another user (usually a manager) access to the deleted user's OneDrive. They will have access during the retention period to move or download necessary files.

Is there a native 1-click button to migrate Microsoft 365 data to Azure Storage?

No, Microsoft 365 does not provide a direct one-click feature to migrate user data straight to an Azure Storage Blob. Such migrations require third-party backup solutions, administrative scripts, or automated workflows via Power Automate.