Article ID: 2654338 - View products that this article applies to.
Expand all | Collapse all

PROBLEM

You experience one of the following symptoms in a Microsoft cloud service such as Office 365, Microsoft Azure, or Windows Intune:
  • When you activate directory synchronization on the https://portal.office.com/DirSync/DirectorySynchronization.aspx page of the Office 365 portal, the page indicates that directory synchronization is enabled. Then, when you install the Azure Active Directory Sync tool and run the Azure Active Directory Sync tool Configuration Wizard, you receive the following message: 
    Error 15: DirSync not activated
    When you revisit the https://portal.office.com/DirSync/DirectorySynchronization.aspx page to view directory synchronization status and look under 3: Active Directory Synchronization in the center pane, you see the following message:
    Active Directory synchronization is being activated
  • When you deactivate directory synchronization on the https://portal.office.com/DirSync/DirectorySynchronization.aspx page of the Office 365 portal, the page indicates that directory synchronization is enabled.

    When you revisit the https://portal.office.com/DirSync/DirectorySynchronization.aspx page to view directory synchronization status and look under 3: Active Directory Synchronization in the center pane, you see the following message:
    Active Directory synchronization is being deactivated

CAUSE

This issue may occur if directory synchronization isn't completely activated or deactivated. It may take up to 72 hours to complete activation or deactivation.

To determine whether directory synchronization is activated or deactivated, follow these steps on a computer that has the Azure Active Directory Module for Windows PowerShell installed:
  1. Click Start, type Windows Azure Active Directory Module for Windows PowerShell in the search box, and then click Windows Azure Active Directory Module for Windows PowerShell.
  2. Type the following cmdlets in the order in which they are presented. Make sure that you press Enter after you type each command.
    • $cred = get-credential
      Note
      When you're prompted, enter your cloud service admin credentials.
    • Connect-MSOLService -credential $cred
    • (Get-MSOLCompanyInformation).DirectorySynchronizationEnabled
      Note This cmdlet returns a value of either True or False. If it returns a value of True, directory synchronization is activated. If it returns a value of False, directory synchronization is deactivated.

SOLUTION

Wait until directory synchronization is activated or deactivated. Note the following:
  • If you enabled directory synchronization for the first time, activation may require up to 24 hours.
  • If you re-enabled directory synchronization, activation may require 72 hours. For more information, see the following Microsoft Knowledge Base article:
    2619062 You can't manage or remove objects that were synchronized through the Azure Active Directory Sync tool
  • If you disabled directory synchronization, deactivation may require up to 72 hours.
If directory synchronization isn't activated or deactivated after the expected time, follow these steps, and then contact Support:
  1. In the same Windows PowerShell console that you used in step 2 of the "Cause" section, type the following cmdlet, and then press Enter:
    (Get-MSOLCompanyInformation).DirectorySynchronizationStatus
    If the output is "PendingEnabled" or "PendingDisabled" after the expected enablement time period of 24 hours has passed, this is a known issue with Exchange Online.
  2. Collect the following information from the Windows PowerShell connection:
    • Context ID: To collect the context ID, type the following cmdlet, and then press Enter:
      (Get-MSOLCompanyInformation).objectID
    • Service instance: To collect the service instance, type the following cmdlet, and then press Enter:
      (Get-MSOLCompanyInformation).AuthorizedServiceInstances

MORE INFORMATION

For more information about how to enable directory synchronization in Office 365, Azure, and Windows Intune, see Prepare for directory synchronization.
Still need help? Go to the Office 365 Community website or the Azure Active Directory Forums website.

Properties

Article ID: 2654338 - Last Review: July 13, 2014 - Revision: 22.0
Applies to
  • Microsoft Azure
  • Microsoft Azure Active Directory
  • Microsoft Office 365
  • Windows Intune
  • CRM Online via Office 365 E Plans
  • Microsoft Azure Recovery Services
  • Office 365 Identity Management
Keywords: 
o365 o365e o365a o365022013 o365m KB2654338

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com