When you move files from a local drive or a shared network folder to OneDrive for Business, you may notice the file owner changes to your own account. This creates confusion because permissions, sharing links, and audit logs now point to you instead of the original creator. The root cause is that OneDrive treats any file you upload or move as a new creation, assigning you as the owner for all access control and sharing purposes. This article explains why this happens and provides the only reliable method to preserve the original file owner during a migration.
Key Takeaways: Preserving Original File Ownership in OneDrive for Business
- Microsoft 365 admin center > SharePoint Migration Tool (SPMT): The only supported method to move files without changing the original owner field.
- OneDrive sync client upload: Always assigns the uploading user as the new owner — not suitable for preserving ownership.
- SharePoint Online > Manage Access > Advanced Permissions: Where you can manually restore unique permissions after a move, but the owner field remains changed.
Why OneDrive Changes the File Owner After You Move Files
OneDrive for Business stores files in SharePoint Online document libraries. Every file in a SharePoint library has a metadata field called “Created By” and a separate permission owner. When you upload or move a file using the OneDrive sync client, the OneDrive web interface, or even Windows File Explorer drag-and-drop, the system records the uploading user as the creator. The original file owner metadata from the source location is not transferred because the sync client creates a brand-new file entry in the SharePoint content database.
This behavior is by design. The sync client is built for individual file synchronization, not for bulk data migration where ownership must be preserved. The same applies to the OneDrive web upload button and the Windows context menu “Move to OneDrive” command. None of these methods carry over the Created By, Modified By, or permission owner fields from the source.
The Technical Difference Between Copy and Migration
A standard copy operation in Windows or OneDrive creates a new file with a new GUID, new version history, and no link to the original. A proper migration tool like the SharePoint Migration Tool reads the source file metadata and writes it into the SharePoint target library’s corresponding fields. SPMT uses the SharePoint CSOM API to set the Created By field to the original author, provided the migrating user has administrative rights to do so.
Steps to Move Files Without Changing the Owner
Follow these steps to migrate files from a local folder, network share, or another cloud service to OneDrive for Business while preserving the original file owner. You need the SharePoint Migration Tool, which is free and included with your Microsoft 365 subscription.
- Download and install the SharePoint Migration Tool
Go to the Microsoft 365 admin center. In the left navigation, select Migration. Click Get started under the SharePoint Migration Tool section. Download the installer and run it on the machine that has access to the source files. - Open SPMT and start a new migration
Launch the tool. On the welcome screen, select Start your first migration. Choose File share or Local folder as the source type depending on where your data lives. - Specify the source folder
Browse to the folder containing the files you want to move. SPMT can scan subfolders automatically. Do not select individual files — select the root folder that contains all the content. - Set the destination to your OneDrive library
For the destination, choose SharePoint Site. Enter the URL of your OneDrive for Business site. The format ishttps://yourtenant-my.sharepoint.com/personal/yourname_yourtenant_com. You can find this URL by opening OneDrive in a browser and copying the address from the address bar. - Enable the preserve owner setting
After you set the destination, click Edit next to the migration task. In the settings panel, scroll to Advanced settings. Turn on Preserve file owner. This option tells SPMT to write the original creator into the SharePoint Created By field. - Start the migration
Click Start to begin the process. SPMT will show progress for each file. Do not close the tool until it reports that all files have been processed. The time depends on the number and size of files. - Verify file ownership after migration
Open your OneDrive in a browser. Navigate to a migrated file. Click the file name to open the details pane. Check the Created by field. It should show the original author, not your account. If it shows your name, the preserve owner setting was not applied.
Alternative Method: Use PowerShell with PnP
For advanced users, the PnP PowerShell module can also preserve file ownership. Install the module with Install-Module PnP.PowerShell. Connect to your OneDrive site with Connect-PnPOnline -Url https://yourtenant-my.sharepoint.com/personal/yourname_yourtenant_com. Use the Add-PnPFile cmdlet with the -Values parameter to set the Editor and Author fields to the original user. This method requires the original user’s UPN and appropriate permissions on the target library.
If File Ownership Still Changes After the Main Fix
OneDrive sync client re-uploaded the files after SPMT migration
If you had the OneDrive sync client running during the SPMT migration, the sync client may have detected the new files and overwritten the owner metadata. Before running SPMT, pause the sync client. Right-click the OneDrive icon in the system tray, select Help & Settings > Pause sync, and choose 2 hours. After SPMT finishes, resume sync and let the client download the metadata without uploading again.
Files were moved using a third-party migration tool without owner support
Third-party tools like Mover, MigrationWiz, or manual copy operations do not preserve the Created By field in OneDrive for Business. Only SPMT and direct SharePoint API calls can set the owner. If you already moved files with an unsupported tool, the owners are permanently changed. You cannot retroactively fix the owner field without re-migrating the files using SPMT with preserve owner enabled.
Users report they cannot edit files because the new owner is wrong
When the owner changes, sharing links that relied on the original owner’s permissions break. To fix this, go to the OneDrive library in a browser. Select the affected file or folder. Click the … menu and choose Manage access. Under Advanced permissions settings, click Stop Inheriting Permissions and then grant explicit permissions to the correct users. This does not restore the original owner field but does restore access.
OneDrive Sync Client vs SharePoint Migration Tool: Owner Preservation
| Item | OneDrive Sync Client | SharePoint Migration Tool |
|---|---|---|
| Preserves Created By field | No | Yes, with setting enabled |
| Preserves Modified By field | No | Yes |
| Preserves version history | No | No |
| Requires admin permissions | No | Yes, site collection admin |
| Use case | Daily sync of individual files | Bulk migration with metadata |
The SharePoint Migration Tool is the only Microsoft-supported method that preserves the original file owner when moving files to OneDrive for Business. The sync client always assigns the uploading user as the new owner.
You can now migrate files to OneDrive for Business without losing the original creator metadata. Use the SharePoint Migration Tool with the preserve owner setting enabled. For ongoing file management, remember that any direct upload through the OneDrive web interface or sync client will change the owner. If you need to move files regularly while preserving ownership, set up a recurring SPMT task in the Microsoft 365 admin center under Migration > SPMT tasks.