Sets the option to copy sent items to a shared mailbox for a specific user.
The Set-CIPPCopyToSent function sets the option to copy sent items to a shared mailbox for a specific mailbox in the CIPP system.
![]()
![]()
Specifies the ID of the mailbox to set the copy sent items option for.
![]()
![]()
Specifies whether to enable or disable the option to copy sent items for the mailbox.
PS > Set-CIPPCopyToSent -CustomerTenantID "contoso.onmicrosoft.com" -UserID "john.doe@domain.com" -MessageCopyState $true
This example sets the option to copy sent items to a shared mailbox for the user "john.doe@domain.com" in the customer's tenant with ID "contoso.onmicrosoft.com".