Enable-OrganizationCustomization is only available in the Cloud-based Exchange Online & Exchange Online – Advanced Threat Protection products
Status of your tenant – Enable-OrganizationCustomization
Errors that occur with the configuring and deployment of RBAC, rules or coexistence technologies hydration status of your tenant at Microsoft 365.
Microsoft has rebranded its Office 365 suite as Microsoft 365, which includes a variety of productivity and collaboration tools. Additionally, the PowerShell command syntax and connection method have changed for Exchange Online. The updated information and scripts for checking and enabling organization customization are as follows:
Tenant Hydration Status and Enable-OrganizationCustomization
The hydration status of your tenant in Microsoft 365 refers to whether certain settings, such as RBAC, rules, or coexistence technologies, are customized for your tenant or shared among multiple tenants. To enable customization, you must run the Enable-OrganizationCustomization cmdlet in Exchange Online PowerShell.
Examples of customization include:
New role groups or management roles
Role assignment or modifying built-in assignments
Creating or modifying an Outlook Web App policy
Creating or modifying a retention policy
Powershell Command to Check Hydration Status
To check if your Microsoft 365 tenant is hydrated or dehydrated, follow these steps:
- Open Windows PowerShell or PowerShell Core.
- Connect to Exchange Online by executing the following command:
powershellCopy codeConnect-ExchangeOnline
- Check the hydration status by running this command:
powershellCopy codeGet-OrganizationConfig | fl Identity, IsDehydrated
You will then receive information about the hydration status, either True (dehydrated) or False (hydrated).

Powershell Command to Enable-OrganizationCustomization
To enable organization customization for your Microsoft 365 tenant, follow these steps:
- Open Windows PowerShell or PowerShell Core.
- Connect to Exchange Online by executing the following command:
powershellCopy codeConnect-ExchangeOnline
- Enable organization customization by running this command:
powershellCopy codeEnable-OrganizationCustomization
Once the process is complete, you can configure RBAC, rules, and coexistence technologies without encountering the “Exception has been thrown by the target of an invocation” error.
*This page has been updated from its original dated 2016