Linton-RenameUser
Jump to CustomersLinton > Linton > RenameUser
Rename a user
Home folder
- Rename home folder on the file server (the actual directory)
- Change home folder path (drive L) in AD user properties to match the new name.
If prompted "The folder already exists, do you want to give full control?", answer NO
Rename object
- Right click user object and choose rename, set new names and username
E-mail address
- Set new e-mail address in the mail field
- In attribute editor of user object edit proxyAddresses
- "SMTP:" is the default mail address (only set one and it should match the user's mail field)
- "smtp:" are alias addresses (you can have many)
SMTP:jane.married@domain.com smtp:jane.unmarried@domain.com smtp:jane@domain.com
Papercut
- "C:\Program Files\PaperCut MF\server\bin\win\server-command.exe" rename-user <OLD USERNAME> <NEW USERNAME>
Office365
- Sync object to Office365
- Using Azure Active Directory Module, set the new UPN
Old module (v1)
Connect-MsolService
Set-MsolUserPrincipalName -UserPrincipalName <OLD UPN> -NewUserPrincipalName <NEW UPN>
Set-MsolUserPrincipalName -UserPrincipalName <OLD UPN> -NewUserPrincipalName <NEW UPN>
New module (v2)
Connect-AzureAD
Set-AzureADUser -ObjectId <OLD UPN> -UserPrincipalName <NEW UPN>
Set-AzureADUser -ObjectId <OLD UPN> -UserPrincipalName <NEW UPN>