Specify the Email Addresses for a Microsoft Office 365 Account


Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Specifies (sets) the email addresses for a Microsoft Office 365 account.

POST services/builtin/MailboxManagement.svc/mailbox/setEmailAddresses?username={username}&emails={emails}

The logon name of a user.

A comma-separated list of email addresses to attach to the user.

POST https://www.contoso.com/services/builtin/MailboxManagement.svc/mailbox/setEmailAddresses?username=user1&emails=user1@tt1.onmicrosoft.com,user2@tt1.onmicrosoft.com HTTP/1.1  
Content-Type: application/xml  
Accept: application/xml  
Cookie: ASP.NET_SessionId=********************  
Canary: *********************  
Host: domainname  
Content-Length: 0  

Microsoft Office 365

HTTP/1.1 200 OK  

Error CodeError Message
400One or more parameters are not valid.
404The path does not exist.
500An internal server error occurred.
501Not implemented.

Web Service Methods

Community Additions