none
Cannot run Get-ADSyncScheduler

    Question

  • Hi,

    I installed AADC on Windows 2012 R2 server.

    Install was OK and it work fine.

    But can not run Get-ADSyncScheduler with Powershell.

    ProvisioningWebServiceAdapter::ExecuteWithRetry: Action ProvisioningWebServiceAdapter::GetCompanyConfiguration, Unexpected Exception: System.Runtime.InteropServices.COMException (0x80010107)
       場所 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       場所 System.Management.ManagementObject.Initialize(Boolean getObject)
       場所 System.Management.ManagementBaseObject.get_Properties()
       場所 System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       場所 Microsoft.Online.DirSync.Common.PrerequisiteChecks.TryMachineIsDomainControllerCore()
       場所 Microsoft.Online.Coexistence.ProvisionHelper.IsMachineDomainController()
       場所 Microsoft.Online.Coexistence.ProvisionHelper.GenerateSyncToken()
       場所 Microsoft.Online.Coexistence.ProvisionHelper.OpenProxyConnection()
       場所 Microsoft.Online.Coexistence.ProvisionHelper.InvokeAwsAPI[T](Func`1 awsOperation, String opsLabel)
       場所 Microsoft.Azure.ActiveDirectory.Synchronization.ProvisioningWebServiceAdapter.ProvisioningWebServiceAdapter.<>c__DisplayClass1.<GetCompanyConfiguration>b__0()
       場所 Microsoft.Azure.ActiveDirectory.Synchronization.ProvisioningWebServiceAdapter.ProvisioningWebServiceAdapter.ExecuteWithRetry(String actionName, Action action).

    If I create or change AD account , I can sync AD to AAD.

    Only manual sync can not run.

    Tuesday, March 28, 2017 11:08 AM

All replies

  • You can find a similar issue discussed on this thread: Office 365 AAD Sync
    Alternatively, you can refer to the troubleshooting guide on the Error 0x80010107

    Also, here are some AAD Connect: Custom AAD Attributes & Scheduler PowerShell

    *****************************************************
    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Wednesday, March 29, 2017 5:50 AM
    Moderator
  • Thank you for Reply

    AADSyncAdmins group → join

    new configuration seems have deleted a large number of object → not change


    If it will work fine , second time is work after 30 minutes.

    But third time can not work and same error show Windows Application log.

    (it is work now about 8 hours or 12 hours)

    Wednesday, March 29, 2017 6:56 AM