Blog
Projects
About
Backtrack:
Blog
›
Change primary UPN-suffix (Use…
Comments
Change primary UPN-suffix (User Principal Name) quickly through Powershell
posted on March 18th 2015, at 13:38
by
lunarg
When implementing AD/Dirsync to synchronize your on-premise AD with Office365, you may have to change the UPN-suffix to match the (e-mail) domain name used in your Office365 tenant. Most often, the local UPN-suffix would be something like domain.local, and would then have to be changed to domain.com. With a lot of users, it can quickly become tedious to change this manually. Along came Powershell...
The attached script is an easy way to quickly change the UPN-suffix for all users in a particular OU. Simply adjust the parameters to match your configuration, and let it run. Note that the script runs recursively, so be careful when running this on a top-level OU, as it will cascade through a
...
read more
add a comment
Tags
computer
windows
software
vmware
microsoft
linux
exchange
network
hardware
news
mac
home
powershell
office365
msoffice
server
sqlserver
dell
ad
soaring
internet
esx
rds
sbs
mssql
events
terminalserver
powercli
hp
virtualization
Archive
«
‹
February 2023
›
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Links
-
@harkx
-
Cats & Dogs
-
Jargon-free Security Guide
Quote
«
Stripes on a tiger are hard to change.
»
The Noisettes
Contact
© 2009-2023 Black Manticore – all rights reserved
code by
lunarg
, design by
SuriAmanah
, hosted at Cats&Dogs