Others

How to Fix Cannot Re-Enable Microsoft 365 Directory Synchronization

Rana GarciaRana Garcia Nov 13, 2026 868 views

Question details

The user needs to re-enable Microsoft 365 directory synchronization after it was disabled, but receives an error because the tenant is still in a cooldown period or has a locked backend status.

How to Fix Cannot Re-Enable Microsoft 365 Directory Synchronization
Product
Microsoft 365
Device & OS
not provided
Scenario
An administrator disabled Microsoft 365 directory synchronization and now wants to turn it back on for user and group synchronization.
Observed behavior
Set-MsolDirSyncEnabled -EnableDirSync $true returns an error stating that Active Directory synchronization cannot be turned off, which prevents re-enabling directory synchronization.
Before you start

Confirm how long ago directory synchronization was disabled and verify that you are using an account with the required Microsoft 365 administrator permissions before running the enable command.

Solution 1Recommended

Wait 72 Hours and Re-Run the Set-MsolDirSyncEnabled Command

Use this solution first if you recently disabled Microsoft 365 directory synchronization and the tenant is still within the cooldown period.

Microsoft 365 applies a directory synchronization cooldown after directory sync is disabled. During this time, the backend keeps the sync state locked, and the enable command can fail even when the previous disable operation appeared to finish.

1
Check when directory synchronization was disabled

In the Microsoft 365 admin center, go to your directory synchronization settings or review your previous PowerShell session to confirm the exact time Set-MsolDirSyncEnabled -EnableDirSync $false was run.

2
Wait at least 72 hours

Do not retry the enable command during the 72-hour cooldown. Allow the Microsoft 365 tenant backend to release the directory synchronization state.

3
Run the enable command again

Open an elevated Microsoft Azure AD PowerShell or MSOnline PowerShell session, run Set-MsolDirSyncEnabled -EnableDirSync $true, and check whether the command completes without the previous error.

Wait 72 Hours and Re-Run the Set-MsolDirSyncEnabled Command
Cooldown completed: After the 72-hour waiting period, the enable command normally succeeds and directory synchronization resumes.
Free Microsoft Office alternative

Use WPS Office as a Free Microsoft Office Alternative While Microsoft 365 Directory Sync Is Unavailable

WPS Office cannot release the Microsoft 365 backend directory synchronization lock, but it is a free, lightweight Microsoft Office alternative with strong Word, Excel, PowerPoint, and PDF compatibility. It offers a familiar ribbon-style interface and lets you keep opening, editing, and saving Microsoft Office files locally during the waiting period.

  1. 1. Download WPS Office: Go to the official WPS Office download page and download the free version for your device.
  2. 2. Install and open WPS Office: Install the application, open WPS Office, and use Writer, Spreadsheets, Presentation, or PDF tools for your Microsoft Office files.
  3. 3. Open or save Microsoft Office files: Open existing .docx, .xlsx, or .pptx files in WPS Office, edit as needed, and save them back in their original Microsoft Office formats.
Free to download and use for local document, spreadsheet, and presentation tasks.Opens, edits, and saves Word, Excel, PowerPoint, and PDF files with Microsoft Office format compatibility.Lightweight and familiar UI makes it easy to migrate from Microsoft 365.No dependency on Microsoft 365 tenant or directory synchronization status for local editing.Seamless migration from existing Microsoft Office files and workflows.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Set-MsolDirSyncEnabled fail when I try to re-enable Microsoft 365 directory synchronization?

Microsoft 365 enforces a directory synchronization cooldown after the feature is disabled. During this cooldown, the tenant backend remains locked, so the enable command returns an error even if the previous disable command appeared to finish.

How long must I wait before re-enabling Microsoft 365 directory synchronization?

You should wait at least 72 hours after disabling directory synchronization before running Set-MsolDirSyncEnabled -EnableDirSync $true again.

What should I do if directory synchronization still cannot be enabled after 72 hours?

Open a private Microsoft Support request from the Microsoft 365 admin center, provide the exact error message and tenant details, and ask support to release the directory synchronization status from the backend.

Can WPS Office replace Microsoft 365 for local document editing while directory synchronization is unavailable?

Yes. WPS Office supports Word, Excel, PowerPoint, and PDF files, so you can open, edit, and save Microsoft Office files locally without depending on Microsoft 365 tenant or directory synchronization status.