Remove/Add Email Address O365

Connect to O365 Exchange Online

Then confirm that the user doesn’t already have the email address

Get-Mailbox user_alias@domain.com



Set-Mailbox user@domain.com -EmailAddresses @{add="user_alias@domain.com"}


Review the assigned addresses



$userAcc = Get-Mailbox user@domain.com


$userAcc.EmailAddresses | fl

To remove an address


Set-Mailbox user@domain.com -EmailAddresses @{remove="user_alias@domain.com"}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s