Forum Discussion
KK-UK
Jun 30, 2020Copper Contributor
Update e-mail address via csv
hi guys, The tenacy I manage has a lot of users. They have just bought a new domain name and want to assign a new primary address to everyone whilst keeping their exisiting address as an alias so...
VasilMichev
Jun 30, 2020MVP
Changing the UPN value via PowerShell does not automatically result in changing the Primary SMTP address, unlike performing the same operation via the UI. Thus you need to change the SMTP address manually, and the code you have above should work just fine.
KK-UK
Jul 02, 2020Copper Contributor
VasilMichevthanks for confirming that the script i'm using should be ok