Thursday, 28 March 2013

Windows Server Office 365 Integration Service fails

I had some more fun this week with an Windows Server Essentials 2012 box. After having a bunch of updates recently and tweaking how we get alerts from servers we got alerted to the Windows Server Office 365 Integration Service failing all the time, but it seemed to cause no issues as long as it was started. A colleague has set it to start upon any failure so it was always running within a minute of crashing.

I'd had enough of these alerts and set about looking to resolve the issue. It turns out a new service Microsoft introduced in the first Rollup Update called Windows Server Password Synchronization Service was DISABLED by default and since RU1 the Windows Server Office 365 Integration Service seems to need the Password Synchronization Service to be enabled and started to carry on running without crashing.

Nice once Microsoft. Thank you for making what should be a simple product more aggravating than it should be.


Further reading on the subject here and here


Obligatory Application Event log messages:

==================================================

Log Name:      Application
Source:        Application Error
Date:          28/03/2013 15:24:43
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERVERNAME.local
Description:
Faulting application name: SharedServiceHost.exe, version: 6.2.9805.0, time stamp: 0x504a9e6d
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16451, time stamp: 0x50988aa6
Exception code: 0xe0434352
Fault offset: 0x000000000003811c
Faulting process id: 0x3380
Faulting application start time: 0x01ce2bc850758d14
Faulting application path: C:\Program Files\Windows Server\Bin\SharedServiceHost.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 9d1ef8ea-97bb-11e2-9462-00155d58c900
Faulting package full name:
Faulting package-relative application ID:
Event Xml:

 
   
    1000
    2
    100
    0x80000000000000
   
    133640
    Application
    SERVERNAME.local
   
 
 
    SharedServiceHost.exe
    6.2.9805.0
    504a9e6d
    KERNELBASE.dll
    6.2.9200.16451
    50988aa6
    e0434352
    000000000003811c
    3380
    01ce2bc850758d14
    C:\Program Files\Windows Server\Bin\SharedServiceHost.exe
    C:\Windows\system32\KERNELBASE.dll
    9d1ef8ea-97bb-11e2-9462-00155d58c900
   
   
   
   
 


==================================================

Log Name:      Application
Source:        .NET Runtime
Date:          28/03/2013 15:24:43
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SERVERNAME.local
Description:
Application: SharedServiceHost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ObjectModelBaseExtended`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Action)
   at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.CleanUpPasswordSyncData(Microsoft.WindowsServerSolutions.O365Integration.O365User[])
   at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.Run()
   at Microsoft.WindowsServerSolutions.O365Integration.BackgroundTask.TimerCallback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()

Event Xml:

 
   
    1026
    2
    0
    0x80000000000000
   
    133639
    Application
    SERVERNAME.local
   
 
 
    Application: SharedServiceHost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ObjectModelBaseExtended`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Action)
   at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.CleanUpPasswordSyncData(Microsoft.WindowsServerSolutions.O365Integration.O365User[])
   at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.Run()
   at Microsoft.WindowsServerSolutions.O365Integration.BackgroundTask.TimerCallback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()

 


==================================================

No comments:

Post a comment