Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Check if Enable-OrganizationCustomization is Enabled in Office 365

December 22, 2022
in Blog, Microsoft 365
0
ADVERTISEMENT

Table of Contents

Description

In the Microsoft datacenters, certain objects are consolidated to save space. When you use Exchange Online PowerShell or the Exchange admin center to modify one of these objects for the first time, you may encounter an error message that tells you to run the Enable-OrganizationCustomization cmdlet.

Here are some examples of when you might see this:

  • Creating a new role group or creating a new management role assignment.
  • Creating a new role assignment policy or modifying a built-in role assignment policy.
  • Creating a new Outlook on the web mailbox policy or modifying a built-in Outlook on the web mailbox policy.
  • Creating a new sharing policy or modifying a built-in sharing policy.
  • Creating a new retention policy or modifying a built-in retention policy.
  • Enabling preset security policies in the Microsoft 365 Security Center.

Connect to Exchange Online Powershell

1. You need to connect to Exchange Online PowerShell to run the cmdlet. Right click on the button then open Windows PowerShell Admin.

Note Note: In Windows 11, select instead of Windows PowerShell (Admin)
pw1

2. Copy then paste all below commands into PowerShell window to install required modules and connect to Exchange Online PowerShell.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine -Force;
Install-PackageProvider -Name NuGet -Force;
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted;
Install-Module -Name ExchangeOnlineManagement;
Import-Module ExchangeOnlineManagement;
Connect-ExchangeOnline;

Enable-OrganizationCustomization

Once you connected to Exchange Online, run below command to check the IsDehydrated property:

Get-OrganizationConfig | Select-Object IsDehydrated
  • False ($false) = the command has already been run;
  • True ($true) = the command has never been run.
PS C:\Users\mpnadmin> Get-OrganizationConfig | Select-Object IsDehydrated

IsDehydrated
------------
       False

If the IsDehydrated property is set to True, you can run below command to enable it.

Enable-OrganizationCustomization
PS C:\Users\mpnadmin> Enable-OrganizationCustomization
PS C:\Users\mpnadmin> Get-OrganizationConfig | Select-Object IsDehydrated

IsDehydrated
------------
       False
Note Note that you are only required to run the Enable-OrganizationCustomization cmdlet once in your Exchange Online organization. If you attempt to run the cmdlet again, you'll get an error.
PS C:\Users\mpnadmin> Enable-OrganizationCustomization
This operation is not required. Organization is already enabled for customization.
    + CategoryInfo          : NotSpecified: (:) [Enable-OrganizationCustomization], InvalidOperationException
    + FullyQualifiedErrorId : [Server=TY0PR0101MB4466,RequestId=da7b6c5a-6369-4032-9d2b-c8f36e6d0835,TimeStamp=5/24/20
   22 8:16:17 AM] [FailureCategory=Cmdlet-InvalidOperationException] 2198EFBD,Microsoft.Exchange.Management.Deploymen
  t.EnableOrganizationCustomizationTask
    + PSComputerName        : outlook.office365.com
ADVERTISEMENT
5/5 - (4 votes)
Previous Post

How to Enable OrganizationCustomization in Office 365

Next Post

How to Disable or Turn Off Form Autofill, Auto Suggestion, Autocomplete in Microsoft Edge

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory