Changing UPNs / Primary SMTP address and ODB site

%3CLINGO-SUB%20id%3D%22lingo-sub-108292%22%20slang%3D%22en-US%22%3EChanging%20UPNs%20%2F%20Primary%20SMTP%20address%20and%20ODB%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-108292%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20new%20to%20OneDrive%20for%20Business.%20I%20have%20a%20few%20questions%20and%20looking%20for%20answers.%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20a%20user's%20UPN%2FPrimaty%20email%20address%20(%20they%20are%20same%20for%20us)%20change%2C%3C%2FP%3E%3CP%3E1)%20%26nbsp%3BDoes%20the%20user%20keep%20the%20same%20ODB%20site%20with%20all%20files%2Ffolders%20intact%20%3F%3C%2FP%3E%3CP%3E2)%20Does%20the%20URL%20path%20to%20ODB%20site%20change%20to%20reflect%20the%20change%20in%20UPN%3F%3C%2FP%3E%3CP%3E3)%20Does%20the%20user%20whose%20UPN%20has%20changed%20contnue%20to%20see%20shared%20files%2Ffolders%2C%20the%20other%20users%26nbsp%3Bhave%20shared%20with%20him%3F%3C%2FP%3E%3CP%3E4)%20When%20user's%20AD%20Object%2FAzure%20AD%20account%20is%20restored%20from%20soft%20delete%2C%20will%20the%20user%20get%20back%20the%20old%20ODB%20site%3F%3C%2FP%3E%3CP%3E5)%20Does%20the%20old%20ODB%20site%20(if%20found%20under%20Get%3CSPAN%3E-SPODeletedSite%20%26nbsp%3B-inlcudeOnlyPersonalSite%3C%2FSPAN%3E)%20restored%20and%20linked%20automatcially%20to%20a%20new%20Azure%20AD%20account%20if%20the%20profile%20matches%20that%20of%20the%20deleted%20ODB%20site%3F%20or%20the%20%26nbsp%3Bcmdlet%20Restore-SPODeletedSite%20can%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-108292%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-108432%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20UPNs%20%2F%20Primary%20SMTP%20address%20and%20ODB%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-108432%22%20slang%3D%22en-US%22%3EMy%20two%20cents%20here%3A%3CBR%20%2F%3E(1)%20If%20you%20mean%20to%20change%20the%20part%20that%20is%20before%20of%20the%20%40%2C%20then%20the%20ODFB%20site%20is%20not%20going%20to%20be%20the%20same%3CBR%20%2F%3E(2)%20As%20in%20(1)%2C%20if%20the%20part%20changed%20in%20the%20UPN%20is%20the%20one%20before%20the%20%40%2C%20then%20the%20ODFB%20Url%20is%20going%20to%20change%3CBR%20%2F%3E(3)%20As%20in%20(1)%20and%20(2)%2C%20No%20if%20you%20are%20changing%20the%20UPN%20portion%20before%20the%20%40%3CBR%20%2F%3E(4)%20and%20(5)%20My%20understanding%20is%20that%20you%20recover%20all%20the%20user%20stuff%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-108323%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20UPNs%20%2F%20Primary%20SMTP%20address%20and%20ODB%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-108323%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Raj%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20tricky%20question.%3C%2FP%3E%3CP%3EFrom%20my%20experience%3B%20i%20would%20still%20wait%20for%20expert%20advice%20from%20MS%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.If%20you%20are%20just%20changing%20the%20primary%20email%20address%3B%20NOT%20actualyl%20deleting%20and%20recreating%20an%20account%20then%20there%20are%20the%20following%20consequences%3A%3C%2FP%3E%3CP%3E%26nbsp%3Bi.The%20url%20after%20%2Fpersonal%2F...%20should%20change%20to%20reflect%20the%20new%20UPN%3Bthis%20takes%20time%20though.%3C%2FP%3E%3CP%3E%26nbsp%3Bii.Files%20and%20folders%20do%20remain%20the%20same.%3C%2FP%3E%3CP%3Eiii.I%20have%20seen%20issues%20with%20files%20not%20appearing%20on%20the%20shared%20with%20me%20tab%3B%20apprently%20this%20happens%20because%20the%20feature%20is%20dependant%20on%20search%20and%20the%20new%20UPN%20needs%20to%20be%20re-crawled.%20You%20would%20have%20to%20contact%20support%20if%20the%20files%20do%20not%20appear.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.Coming%20to%20the%20point%20where%20the%20user%20account%20is%20actually%20deleted%20and%20recreated%20with%20the%20same%20name...%20at%20this%20time%20the%20ODB%20site%20would%20be%20marked%20for%20deletion%2C%20and%20when%20the%20user%20signs%20in%20with%20the%20new%20account%20and%20clicks%20on%20onedrive%20there%20would%20be%20a%20fresh%20site%20provisioned.%3C%2FP%3E%3CP%3EThe%20site%20could%20restored%20using%20powershell%20but%20i%20guess%20to%20relink%20it%20to%20the%20new%20account%20which%20would%20have%20a%20new%20unique%20identifier%20you%20would%20have%20to%20contact%20support.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi,

I am new to OneDrive for Business. I have a few questions and looking for answers. 

When a user's UPN/Primaty email address ( they are same for us) change,

1)  Does the user keep the same ODB site with all files/folders intact ?

2) Does the URL path to ODB site change to reflect the change in UPN?

3) Does the user whose UPN has changed contnue to see shared files/folders, the other users have shared with him?

4) When user's AD Object/Azure AD account is restored from soft delete, will the user get back the old ODB site?

5) Does the old ODB site (if found under Get-SPODeletedSite  -inlcudeOnlyPersonalSite) restored and linked automatcially to a new Azure AD account if the profile matches that of the deleted ODB site? or the  cmdlet Restore-SPODeletedSite can do this?

 

Thanks,

2 Replies

Hey Raj,

 

This is a tricky question.

From my experience; i would still wait for expert advice from MS on this.

 

1.If you are just changing the primary email address; NOT actualyl deleting and recreating an account then there are the following consequences:

 i.The url after /personal/... should change to reflect the new UPN;this takes time though.

 ii.Files and folders do remain the same.

iii.I have seen issues with files not appearing on the shared with me tab; apprently this happens because the feature is dependant on search and the new UPN needs to be re-crawled. You would have to contact support if the files do not appear.

 

2.Coming to the point where the user account is actually deleted and recreated with the same name... at this time the ODB site would be marked for deletion, and when the user signs in with the new account and clicks on onedrive there would be a fresh site provisioned.

The site could restored using powershell but i guess to relink it to the new account which would have a new unique identifier you would have to contact support.

 

Hope this helps!

My two cents here:
(1) If you mean to change the part that is before of the @, then the ODFB site is not going to be the same
(2) As in (1), if the part changed in the UPN is the one before the @, then the ODFB Url is going to change
(3) As in (1) and (2), No if you are changing the UPN portion before the @
(4) and (5) My understanding is that you recover all the user stuff