Change the Primary Owner of a SharePoint Online Personal Site
Question details
Change and verify the owner of a SharePoint Online personal site using PowerShell.

- Product
- SharePoint Online and OneDrive for Business
- Device & OS
- not provided
- Scenario
- An administrator needs to update the owner of a user's OneDrive personal site.
- Observed behavior
- The ownership command runs, but the owner value does not appear to change.
Confirm that you have SharePoint administrator permissions, the exact personal site URL, and the new owner's user principal name. Make sure the SharePoint Online Management Shell is installed and that the new owner is a valid user in the tenant.
Set and verify the personal site owner with PowerShell
Use the exact OneDrive site URL to update the owner, then check the returned value after the operation completes.
The site Owner property is an administrative setting. Changing it does not necessarily transfer the user's OneDrive account or ownership of every file.
Open SharePoint Online Management Shell and run Connect-SPOService -Url https://tenant-admin.sharepoint.com, replacing tenant with your tenant name. Sign in with an authorized administrator account.
Run Get-SPOSite -Identity 'https://tenant-my.sharepoint.com/personal/user_tenant_domain_com' | Select-Object Url, Owner. Replace the example with the exact personal site URL and confirm it is the intended site.
Run Set-SPOSite -Identity 'https://tenant-my.sharepoint.com/personal/user_tenant_domain_com' -Owner 'user@domain.com', replacing the URL and user principal name with the correct values. Omitting -NoWait lets the command wait for the operation rather than returning immediately.
After the command completes, run Get-SPOSite -Identity 'https://tenant-my.sharepoint.com/personal/user_tenant_domain_com' | Select-Object Url, Owner again. If the value is unchanged, wait briefly and check again, then verify the URL, account, and administrator permissions.
If the owner still does not update, open the Microsoft 365 admin center and use Help & support to contact Microsoft support. Include the site URL, commands, returned owner value, and any error messages.

Work with Office files in WPS Office
WPS Office is a free, lightweight alternative for editing documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move existing files into your workflow. It does not change SharePoint or OneDrive site ownership.

Frequently Asked Questions
Why does the owner still look unchanged after Set-SPOSite runs?
If you used -NoWait, the operation may still be processing. Wait and run Get-SPOSite with the same exact personal site URL again. Also check that the new user principal name and your administrator permissions are correct.
Which URL should I use for Connect-SPOService?
Use your SharePoint admin center URL, such as https://tenant-admin.sharepoint.com. Use the separate personal site URL with Set-SPOSite and Get-SPOSite.
Does changing the site owner transfer every OneDrive file?
Not necessarily. Set-SPOSite changes a site-level owner property; it should not be treated as a transfer of the user's account or ownership of every file.
What should I do if the owner still does not change?
Recheck the exact site URL and the new owner's user principal name, then verify the result with Get-SPOSite. If it remains unchanged, use Help & support in the Microsoft 365 admin center and provide the commands and returned values.




