Assign an Existing Mailbox to a User

 

Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Assigns an existing mailbox to a user.

POST services/builtin/MailboxManagement.svc/mailbox/set?username={username}&email={email}

{username}
The name of a user.

{email}
The email address to assign to the user.

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

HTTP/1.1 200 OK  

Error CodeError Message
400One or more parameters are not valid.
404The path does not exist.
409The mailbox is already assigned to another user.
500An internal server error occurred.
501Not implemented.

Web Service Methods

Community Additions

ADD
Show: