So I upgraded my Azure Active Directory Sync server to Windoes Server 2012 R2 and now my sync isn’t working anymore. I downloaded the latest version from the link in the Technet article on setting up directory sync, since I have no idea where to get it from the new admin portal. When I try to run the upgrade it extracts the files, then I immediately receive a generic failure:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Microsoft.Online.DirSync.Common.MiisAction.GetTargetMA()
at Microsoft.Online.DirSync.Common.MiisAction.IsSyncInProgress()
at Microsoft.Online.DirSync.Common.PrerequisiteChecks.ThrowIfSyncInProgress()
at Microsoft.Online.DirSync.UI.IntroductionWizardPage.PreChecks()
at Microsoft.Online.DirSync.UI.IntroductionWizardPage.PrerequisiteValidation()
at Microsoft.Online.DirSync.UI.IntroductionWizardPage.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Setup
Assembly Version: 1.0.0.0
Win32 Version: 1.0.6475.7
CodeBase: file:///C:/Users/ADMINI~1.VHQ/AppData/Local/Temp/1/%7BBDA1E3A7-0A22-4C54-A5F9-E2A31AF8217C%7D/SETUP.EXE
----------------------------------------
Microsoft.Online.DirSync.Common
Assembly Version: 1.0.0.0
Win32 Version: 1.0.6475.7
CodeBase: file:///C:/Users/ADMINI~1.VHQ/AppData/Local/Temp/1/%7BBDA1E3A7-0A22-4C54-A5F9-E2A31AF8217C%7D/Microsoft.Online.DirSync.Common.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.Online.DirSync.Resources
Assembly Version: 1.0.0.0
Win32 Version: 1.0.6475.7
CodeBase: file:///C:/Users/ADMINI~1.VHQ/AppData/Local/Temp/1/%7BBDA1E3A7-0A22-4C54-A5F9-E2A31AF8217C%7D/Microsoft.Online.DirSync.Resources.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging=”true” />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
If I try to uninstall the current version I just get a popup that says Generic failure with no additional text.
*************************************************************************************
This is exactly what I did to get it to work:
1. Restart
2. Open your Windows Azure Active Directory Sync folder
3. Run SynchronizationService.msi
4. Remove Forefront Identity Manager synchronization Service
5. Run UnInstallDirectorySync.exe
6. Restart
7. Install the latest version