Set UPN Suffix Office 365 Migration Prep using PowerShell

Copper Contributor

To Prepare for Office 365 Migration you need to add the missing 'UPN Suffixes'.

 

The following example demonstrates how to create a new UPN suffix for the users in the ThatLazyAdmin forest:

Lets Start by running:

 

Import-Module ActiveDirectory

 

UPN-01.png

 

Then run :

 

Get-AdForest | Set-ADForest -UPNSuffixes @{Add="ThatLazyAdmin.com"}

 

UPN-02.png

 

Lets verify the new UPN in Active Directory Users and Computers

 

UPN-03.png

 

There you go.

 

#ThatLazyAdmin

thatlazyadmin.png

 

 

0 Replies