Skip to content

IAdmExchangeRemoteMailboxOps3

The IAdmExchangeRemoteMailboxOps3 interface extends the IAdmExchangeRemoteMailboxOps insterface with the ability to enable shared remote mailboxes.

Inheritance: The IAdmExchangeRemoteMailboxOps3 interface inherits from the IAdmExchangeRemoteMailboxOps2 interface.

Methods

Details

EnableRemoteMailboxEx2()

Enables a remote mailbox for the user.

void EnableRemoteMailboxEx2(String remoteRoutingAddress, 
                            String alias,
                            Boolean equipment, 
                            Boolean room, 
                            Boolean shared, 
                            Boolean archive, 
                            String archiveName, 
                            String primarySmtpAddress)

Parameters

  • remoteRoutingAddress - Specifies the SMTP address of the remote mailbox in Microsoft 365 (e.g. username@mycompany.mail.onmicrosoft.com). If you set the parameter to NULL, an address will be generated automatically by Exchange.
  • alias - Specifies an email alias for the mailbox. An alias can contain characters from A to Z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &, ‘, , +, -, \/, =, ?, ^, _, `, {, |, } or ~. If the parameter is set to NULL*, the alias will be generated automatically.
  • equipment - When set to TRUE, the method creates an equipment mailbox.
  • room - When set to TRUE, the method creates a room mailbox.
  • shared - When set to TRUE, the method creates a shared mailbox.
  • archive - When set to TRUE, the method creates a mailbox archive mailbox. It can be created only if a user already has a mailbox in Exchange Online.
  • archiveName - Specifies a name for the mailbox archive. If the archive name is set to NULL, it will be generated automatically by Exchange. The parameter is taken into account only if the archive parameter is set to TRUE.
  • primarySmtpAddress - Specifies a primary SMTP address for the mail user that represents the mailbox in on-premises Exchange organization. If the parameter is set to NULL, the address will be generated automatically based on the default address policy of the Exchange organization.

Requirements

Minimum required version: 2019.2

See also