Adds a shared mailbox to a specified tenant.
This function adds a shared mailbox to a specified tenant using the provided tenant ID, display name, domain, and username. Optionally, additional aliases can be added.
![]()
![]()
The ID of the customer tenant where the shared mailbox will be added. This parameter is mandatory. Either TenantID or Default domain can be used to identify the tenant.
![]()
![]()
The display name for the shared mailbox. This parameter is mandatory.
![]()
![]()
The domain for the shared mailbox. This parameter is mandatory.
![]()
![]()
The username for the shared mailbox. This parameter is mandatory.
![]()
![]()
An array of additional aliases to be added to the shared mailbox. This parameter is optional.
PS > Add-CIPPSharedMailbox -CustomerTenantID "d6766bb9-44e0-4a4b-b8d0-3d9c4d1d15cc" -DisplayName "Support" -Domain "example.com" -Username "support"
PS > Add-CIPPSharedMailbox -CustomerTenantID "example.com" -DisplayName "Support" -Domain "example.com" -Username "support" -AddedAliases "itsupport@example.com"
PS > Add-CIPPSharedMailbox -CustomerTenantID "example.com" -DisplayName "Support" -Domain "example.com" -Username "support" -AddedAliases 'itsupport@example.com','helpdesk@example.com','sos@example.com'