Edit

Share via


Disable Remote Mailbox (Hybrid)

You can use the Disable Remote Mailbox (Hybrid) activity to remove a mailbox from the cloud-based service (hybrid environment). When you remove a mailbox with this activity, the associated user object in the on-premises Active Directory isn't removed.

The following tables list the required properties, optional properties, and published data for this activity.

Required properties for Disable Remote Mailbox (Hybrid)

Element Description Valid values
Identity The identity of the Active Directory user whose remote mailbox will be disabled. This can be one of the following value types:
ADObjectID
GUID
Distinguished name (DN)
Domain\SamAccountName
User principal name (UPN)
LegacyExchangeDN
Email Address
User alias
String

Optional properties for Disable Remote Mailbox (Hybrid)

Element Description Valid values
Archive Indicates whether to disconnect the archive mailbox in the service from the associated mailbox in the service.
If you use this property, the on-premises mail-enabled user and its associated mailbox in the service aren't removed.
Default is True, when selected.
True, False
Domain Controller Specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory. String
Ignore Default Scope When configured and set to True, this property instructs the command to ignore the default recipient scope setting for the Exchange Management Shell session and to use the entire forest as the scope. This allows the command to access Active Directory objects that aren't currently in the default scope.
If you use this property, you can't use the Domain Controller property. The command automatically uses an appropriate global catalog server.
If you use this property, you can only use the DN for the Identity property. Other forms of identification, such as alias or GUID, aren't accepted.
Default is True, when selected.
True, False
Ignore Legal Hold If this element is configured and set to True, the command ignores the legal hold status of the mailbox user and allows you to disable the cloud mailbox that has been on legal hold.
When you disable a mailbox, the mailbox is disconnected from the user account. After you disable a mailbox, you can't include it in a discovery search. Disconnected mailboxes are permanently deleted from the mailbox database after the deleted mailbox retention period expires. Check with your organization's legal or Human Resources department before you disable a mailbox that is on legal hold.
Default is True, when selected.
True, False

Published data for Disable Remote Mailbox (Hybrid)

Element Description Valid values
Exchange Environment Indicates the type of Exchange environment where this activity will be executed. Default is On-Premise. String
Exchange PowerShell Application Specifies the application name segment of the connection URI. String
Exchange Server Host The associated Exchange server host machine. String
Exchange Server Port The associated Exchange server port. String
Exchange User Name The username to sign in to the Exchange server. String
Identity The identity of the remote mailbox to be disabled. String
Skip CA Check Indicates whether the client must validate that the server certificate is signed by a trusted certification authority (CA) when connecting over Hypertext Transfer Protocol over Secure Socket Layer. String
Skip CN Check Indicates whether the client must validate that the certificate common name (CN) of the server matches the hostname of the server. String
Skip Revocation Check Indicates whether the connection doesn't check the revocation status of the server certificate. String
Use SSL Indicates whether SSL encryption is used. String

Other Resources

Using Runbooks in System Center 2016 - Orchestrator