Permission & Access Issues

Change the Primary Owner of a SharePoint Online Personal Site

Camila MilosovichCamila Milosovich Nov 18, 2026 868 views

Question details

Change and verify the owner of a SharePoint Online personal site using PowerShell.

Change the Primary Owner of a SharePoint Online Personal Site
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.
Before you start

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.

Solution 1Recommended

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.

1
Connect to SharePoint Online

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.

2
Check the current owner

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.

3
Set the new owner

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.

4
Verify the result

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.

5
Escalate an unchanged value

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.

Set and verify the personal site owner with PowerShell
Asynchronous changes: If you use -NoWait, the command can return before the change finishes. Allow time for processing before checking the owner again.
Free Microsoft Office alternative

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.

Open and edit Microsoft Office formats including DOCX, XLSX, and PPTXUse a familiar interface for documents, spreadsheets, and presentationsWork with accessible Office files while SharePoint ownership is being resolvedGet started with a free, lightweight office suite
QA img-9

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.