Programming Tutorials

Change primary e-mail address of a Office 365 user or group

By: Emiley J in Office365 Tutorials on 2012-03-16  

If your office 365 account has multiple domains and aliases, and one user has multiple proxy addresses then when there is always a primary email address for each user or group. To change this for any user you can run this following command.

Set-Mailbox -EmailAddresses SMTP:,,,...

Suppose your Office 365 organization and all the user IDs are in contoso.com, and

you have configured accepted domains and proxy addresses for all mailboxes in contoso.net and contoso.org. To change the primary e-mail address of a user named Kim Akers with the user ID [email protected] to [email protected] and to keep the existing proxy addresses on the mailbox, run the following command

Set-Mailbox [email protected] -EmailAddresses SMTP:[email protected],[email protected],[email protected], [email protected]

Note that SMTP has to be in Capital letters as it is case-sensitive






Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Office365 )

Moving changes from a development environment (sandbox) to a production environment in Dynamics 365

Copy Power Automate Flows from one environment to another

ADFS and ADFS Proxy in Windows Server 2012

Email limits and message limitations in Office 365

Change Dirsync synchronization frequency

Migration from on-premise exchange 2003 to Office 365

On-premise Exchange and Lync Online integration

xxxx cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.

365 office login (office 365 login)

Steps to create Microsoft Flow to sync data from SharePoint list to Dataverse Table

Comparison: SharePoint Online Plan 1 vs SharePoint Online Plan 2

What is Ofice 365 Home Premium

Create Word, Excel, PowerPoint using Office Web Apps in Office 365

Microsoft Flow to sync data from SharePoint list update/delete records to Dataverse Table

Configure IIS as SMTP relay server for Office 365

Latest Articles (in Office365)

Copy Power Automate Flows from one environment to another

Moving changes from a development environment (sandbox) to a production environment in Dynamics 365

Microsoft Flow to sync data from SharePoint list update/delete records to Dataverse Table

Steps to create Microsoft Flow to sync data from SharePoint list to Dataverse Table

ADFS and ADFS Proxy in Windows Server 2012

365 office login (office 365 login)

Configure SSO for a domain with ADFS - Convert a domain to a federated domain in Office 365

What is Office 365 Small Business Premium?

What is Ofice 365 Home Premium

What is Office 365 Midsize Business Plan?

Migration from on-premise exchange 2003 to Office 365

Create Word, Excel, PowerPoint using Office Web Apps in Office 365

On-premise Exchange and Lync Online integration

Email limits and message limitations in Office 365

Migrating SharePoint WSS2.0 site to SharePoint Online and Backup the SharePoint Online