There is often the case that a female user will have a name change due to change in marital status. Here is the basics of how to change their name in both Active Directory and Office 365.
Active Directory User Changes Name objects
- Open Active Directory Users and Computers
- Find the user needing the changed name, right click on them and choose the “Rename” option.
- Change the user’s name as needed then press Enter then in the window that opens make all the further changes needed and click the “OK” button.
- Click on the View menu at the top and check the “Advanced Features” option.
- Double click on the users new name to open their Properties. Change the email address if needed in the General tab.
- Choose the “Attribute Editor” tab, scroll down the list to “proxyAddress” attribute and double click it. Click on the current SMTP:old.email@company.com and click the “Remove” button then change it to a smtp:old.email@company.com then click the “Add” button.
- Type in SMTP:new.email@company.com for the user and then click the “Add” button. Click the “OK” button on this window and the one beneath it.
- Make sure to also rename the users Redirected Folder if there is one created via Group Policy
- Run a manual sync of the DirSync tool via the Microsoft Forefront Identity Manager console.
Changes to Office 365
- Make sure the Windows Azure Active Directory Module for Windows PowerShell is installed properly
- Open Windows Azure Active Directory Module for Windows PowerShell as administrator
- Type in the following to run signed scripts for Exchange Online:
Set-ExecutionPolicy RemoteSigned
- Type in the following to enter the administrative credentials for Office 365:
$creds = Get-Credential
- Enter the Office 365 Administrator credentials then click “OK” button.
- Type in the following to connect to Office 365 via PowerShell:
Import-Module MsOnline
Connect-MsolService -Credential $creds
- Type in the following to connect to Exchange Online via Powershell:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $creds -Authentication Basic -AllowRedirection
Import-PSSession $Session
- Type in the following to change the username for login to Office 365:
Set-MsolUserPrincipalName -UserPrincipalName old.email@company.com -NewUserPrincipalName new.email@company.com
- Login to the portal as administrator and make sure the changes have take effect.
If your company has an Active Directory user changes name in your domain or Office 365 user changes name, then contact us for assistance.