Forum Discussion

Deleted's avatar
Deleted
Jan 03, 2017

Renaming AD Account

We are running Federated domain setup with AD accounts on on-premise and synchronizing using AAD.

 

There is an ask to rename AD Account or UPN.

 

Can some one please let me know what will be the impact if we change UPN and rename AD account?

 

Will the user get same access to his office365 services like mailbox/OneDrive/Sharepoint/Active sync etc?

  • He will keep access/permissions, however he should now use the changed UPN when prompted for credentials. His ODFB URL will also change, all files should remain intact though.

    • Ivan54's avatar
      Ivan54
      Bronze Contributor

      I just did exactly this yesterday and had the following experience:

       

      • Renamed Lastname (because of a typo error), samaccountname and UPN
      • wait for AAD-Connect sync (or do manually via powershell)
        • O365 Admin Center showed a new email address (with the correct lastname) and moved the previously used email address to the proxyAddresses
      • waited for another AAD-Connect sync, but onPrem (Exchange Admin Center) still showed the old email address as the primary address. 
        • I wasn't sure if I had to wait just longer, but I added the correct email address manually (because our onPrem Spam Firewall wouldn't accept external mails if there was no correct onPrem email address found)
      • the mail.onmicrosoft.com target proxy addresses remain unchanged. 
        • I'm unsure if I should manually add a "correct" proxy address (tenant.mail.onmicrosoft.com) to the online mailbox  and manually change the target address onPrem or leave it be, any suggestions?
      • Vinay Shekhar's avatar
        Vinay Shekhar
        Icon for Microsoft rankMicrosoft

        Hi Ivan,

         

        Needed a small help –

        Customer has Sharepoint Onpremise, Skype for Business onprem and Exchange Onprem.

        SAMAccountName : Contoso\JohnDoe

        UPN : JohnDoe@contoso.com

         

        They now plan to move to office 365. However before moving to Office 365, they want to change the SAMAccountName as follows-

        New SAMAccountName : Contoso\A123134

        UPN: JohnDoe@contoso.com

         

        Queries-

        • Will their existing on-premise AD profile change when they login to the laptops after this SAMAccountName change?
        • Any impact on their on-premise applications such as Exch, Sharepoint or SfB?
        • Any impact on implementing an Exchange / Sharepoint migration if the SAMAccountName and UPN’s are different?

         

          

        Appreciate any insights.

         

Resources