To change the AlternateEmailAddresses, you cannot set it to $null however, it needs to be a array as below
Get-MsolUser -userprincipalname firstname.lastname@example.org | Set-MsolUser -AlternateEmailAddresses @()
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!