Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 2 KB

Add-CIPPSharedMailbox.md

File metadata and controls

40 lines (33 loc) · 2 KB

Add-CIPPSharedMailbox

SYNOPSIS

Adds a shared mailbox to a specified tenant.

DESCRIPTION

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.

PARAMETERS

-CustomerTenantID

Foo Foo
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.

-DisplayName

Foo Foo
The display name for the shared mailbox. This parameter is mandatory.

-Domain

Foo Foo
The domain for the shared mailbox. This parameter is mandatory.

-Username

Foo Foo
The username for the shared mailbox. This parameter is mandatory.

-AddedAliases

Foo Foo
An array of additional aliases to be added to the shared mailbox. This parameter is optional.

EXAMPLE 1

PS > Add-CIPPSharedMailbox -CustomerTenantID "d6766bb9-44e0-4a4b-b8d0-3d9c4d1d15cc" -DisplayName "Support" -Domain "example.com" -Username "support"

EXAMPLE 2

PS > Add-CIPPSharedMailbox -CustomerTenantID "example.com" -DisplayName "Support" -Domain "example.com" -Username "support" -AddedAliases "itsupport@example.com"

EXAMPLE 3

PS > Add-CIPPSharedMailbox -CustomerTenantID "example.com" -DisplayName "Support" -Domain "example.com" -Username "support" -AddedAliases 'itsupport@example.com','helpdesk@example.com','sos@example.com'