Error Code: 15. Error Description: Identity synchronization is not yet activated for this company.

Ben-7466 40 Reputation points
2023-12-01T13:16:54.78+00:00

Hello,

I'm attempting to use Entra Cloud Sync between a single on-premises AD domain and Entra ID. In the online portal, the sync status is showing up as "provisioning quarantined".

Clicking on that status shows:

Error code = AzureDirectoryServiceDirSyncNotAllowed

Error message = An error occurred. Error Code: 15. Error Description: Identity synchronization is not yet activated for this company. To activate Identity synchronization, click the Activate button on the Identity synchronization page in your Admin Portal. Tracking ID: {id} Server Name: .

I'm not sure where the mentioned "Activate" button is.

Any ideas what's going on or how I should debug this?

Thank you!

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author
Sandeep G-MSFT 21,241 Reputation points Microsoft Employee Moderator
2023-12-04T12:26:43.7566667+00:00

@Ben-7466

Thank you for posting this in Microsoft Q&A.

This error indicates that Synchronization is disabled for your tenant.

You can enable sync for your tenant by following below steps.

  • Open Windows PowerShell as administrator.
  • Run command "Import-odule MsOnline"
  • Run "Install-Module MsOnline"
  • Connect-MsolService (Enter the global admin credentials of Azure AD).
  • Run command "Get-MsolCompanyInformation"
  • In the result you can look for Property "DirectorySynchronizationEnabled". This value should be set to "True"
  • If it is set to "False" then you can Run below command to set this to True.
  • Set-MsolDirSyncEnabled -EnableDirSync $True
  • Once this is done, you can try to configure cloud sync in your environment.

It may take up to 72 hours to complete activation once you have Enable DirSync through this cmdlet.

Let me know if you have any further questions.

Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Muhammad Sadiq-admin 0 Reputation points
    2026-09-09T22:55:10.6233333+00:00

    To do the same via MS Graph:

    Connect-MgGraph -Scopes Organization.ReadWrite.All

    Get-MgOrganization | Format-List *

    Confirm "OnPremisesSyncEnabled" is either empty or set to False

    Run the following commands to enable On Premises Sync

    $MyOrgID = (Get-MgOrganization).id

    $Var1 = @{ onPremisesSyncEnabled = $True }

    Update-MgOrganization -OrganizationId $MyOrgID -BodyParameter $Var1

    Get-MgOrganization | Format-List *

    To confirm "OnPremisesSyncEnabled" is now set to True

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.