SOLVED

How do I change a user's personal site url on Office 365?

%3CLINGO-SUB%20id%3D%22lingo-sub-1284179%22%20slang%3D%22en-US%22%3EHow%20do%20I%20change%20a%20user's%20personal%20site%20url%20on%20Office%20365%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1284179%22%20slang%3D%22en-US%22%3E%3CP%3EOffice%20365%20used%20to%20update%20a%20user's%20personal%20site's%20URL%20after%20changing%20its%20email%20address%20to%20reflect%20the%20email%20change%2C%20but%20it%20seems%20like%20this%20behavior%20was%20modified%20sometime%20ago%20and%20now%20Office%20365%20no%20longer%20does%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20I%20can%20manually%20do%20this%3F%20I%20tried%20Start-SPOSiteRename%20in%20Powershell%20but%20received%20this%20error%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%20Code%3A%20-1%2C%20Microsoft.SharePoint.Client.ResourceNotFoundException%2CCannot%20find%20resource%20for%3CBR%20%2F%3Ethe%20request%20SiteRenameJobs.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1284179%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1284367%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20change%20a%20user's%20personal%20site%20url%20on%20Office%20365%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1284367%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F281415%22%20target%3D%22_blank%22%3E%40nozhatwork%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EUser's%20OneDrive%20for%20Business%20URL%20%5BPersonal%20Site%5D%20in%20Office%20365%20is%20derived%20based%20on%20their%20UPN.%20After%20you%20change%20User's%20UPN%20%5B%20Prefix%20or%20Suffix%20or%20Both%5D%2C%20automatically%20these%20User's%20OneDrive%20URL%20also%20changes.%20This%20is%20done%20automatically%20in%20your%20tenant%20by%20Office%20365%20based%20on%20the%20User's%20UPN%20and%20as%20far%20as%20I%20know%2C%20Office%20365%20doesn't%20provide%20you%20with%20the%20option%20of%20manually%20overriding%20or%20renaming%20via%20UI%20or%20PowerShell.%20In%20fact%2C%20if%20you%20try%20running%20Powershell%20command%20%22Start-SPOSiteRename%22%20to%20rename%20your%20OneDrive%20URL%2C%20it%20generates%20one%20of%20the%20error%20like%20%22This%20site%20template%20is%20not%20supported%20for%20rename%22%20means%20that%20Personal%20Site%20Templates%20are%20not%20permitted%20to%20rename%20via%20Script%20manually%20at%20this%20point%20of%20time.%20Also%2C%20please%20note%20that%20UPN%20changes%20can%20take%20several%20hours%20to%20propagate%20through%20your%20environment.%3CBR%20%2F%3EPlease%20refer%20to%20the%20below%20link%20from%20Microsoft%20on%20how%20UPN%20changes%20affect%20the%20OneDrive%20URL%20and%20OneDrive%20features%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fupn-changes%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fupn-changes%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps.%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1284430%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20change%20a%20user's%20personal%20site%20url%20on%20Office%20365%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1284430%22%20slang%3D%22en-US%22%3EAre%20there%20any%20guarantees%20of%20how%20long%20will%20it%20take%20to%20propagate%20the%20UPN%20change%20to%20the%20onedrive%20url%2C%20ex%3A%20it%20will%20always%20be%20done%20within%2024%20hours%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1284702%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20change%20a%20user's%20personal%20site%20url%20on%20Office%20365%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1284702%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F281415%22%20target%3D%22_blank%22%3E%40nozhatwork%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EWe%20might%20have%20to%20wait%20up%20to%2024%20hours.%20As%20per%20Microsoft%2C%20It%20might%20take%20up%20to%2024%20hours%20for%20this%20change%20to%20take%20effect%20across%20all%20services.%20See%20this%20link%20from%20Microsoft%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fadmin%2Fadd-users%2Fchange-a-user-name-and-email-address%3Fview%3Do365-worldwide%23change-a-users-display-name%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fadmin%2Fadd-users%2Fchange-a-user-name-and-email-address%3Fview%3Do365-worldwide%23change-a-users-display-name%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20this%20is%20helpful%2C%20please%20like%20it%20or%20mark%20it%20as%20a%20solution%20if%20it%20answers%20your%20query.%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Office 365 used to update a user's personal site's URL after changing its email address to reflect the email change, but it seems like this behavior was modified sometime ago and now Office 365 no longer does this.

 

Is there any way I can manually do this? I tried Start-SPOSiteRename in Powershell but received this error:

 

Error Code: -1, Microsoft.SharePoint.Client.ResourceNotFoundException,Cannot find resource for
the request SiteRenameJobs.

3 Replies
Highlighted
Best Response confirmed by nozhatwork (New Contributor)
Solution

Hi @nozhatwork,

User's OneDrive for Business URL [Personal Site] in Office 365 is derived based on their UPN. After you change User's UPN [ Prefix or Suffix or Both], automatically these User's OneDrive URL also changes. This is done automatically in your tenant by Office 365 based on the User's UPN and as far as I know, Office 365 doesn't provide you with the option of manually overriding or renaming via UI or PowerShell. In fact, if you try running Powershell command "Start-SPOSiteRename" to rename your OneDrive URL, it generates one of the error like "This site template is not supported for rename" means that Personal Site Templates are not permitted to rename via Script manually at this point of time. Also, please note that UPN changes can take several hours to propagate through your environment.
Please refer to the below link from Microsoft on how UPN changes affect the OneDrive URL and OneDrive features - https://docs.microsoft.com/en-us/onedrive/upn-changes

 

Hope this helps.

Thanks.

 

Highlighted
Are there any guarantees of how long will it take to propagate the UPN change to the onedrive url, ex: it will always be done within 24 hours?
Highlighted

Hi @nozhatwork,

We might have to wait up to 24 hours. As per Microsoft, It might take up to 24 hours for this change to take effect across all services. See this link from Microsoft - https://docs.microsoft.com/en-us/microsoft-365/admin/add-users/change-a-user-name-and-email-address?....

 

I hope this is helpful, please like it or mark it as a solution if it answers your query.

Thanks.