Office 365 Integration Issue

Hi, Everyone,

I have a strange one for you...  I set up a new 2012 R2 Essentials server for a client about 8 months ago.  At the time I configured the Azure AD sync and Office 365 integration and it was working great, but I went to make a change the other day and noticed that these are no longer working.  Instead the Office 365 integration section of the "Services" tab in the Dashboard says "N/A" and the Azure AD sync section says it is enabled, but where it should list the domain, licensing information, etc. is blank.  

I've re-installed the FIMS as well as the Microsoft Online Services Assistant, but no luck.  The only thing that I can find is that when I run the PCNS tool from the command-line there doesn't appear to be any targets configured (it is installed and configured as I see service settings, but no listed targets).  That may or may not be related as I do not have another client that uses this sync setup, however...

Has anyone ran into this before?  Is there maybe a way to completely reset the AD and Office 365 syncs and start them from scratch like the server was out-of-the-box?

Thanks in advance for any assistance!

September 2nd, 2015 11:35pm

Can you post up the Office integration log files?

http://blogs.technet.com/b/sbs/archive/2014/09/30/windows-server-essentials-log-files.aspx

Service Integration Log Files:

O365/On-Premise Exchange/Intune

SharedServiceHost-EmailProviderServiceConfig.log

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 2:27pm

Hi, Susan,

Thank you for any assistance!  Below is a snippet from the end of the requested log.  If you need more of the log please just let me know.

Quick note - I replaced their domain with "placeholder" throughout the log.

Thanks again.

[1012] 150831.005645.4398: SharedServiceHost: Information: [0] : ==========================================================
[1012] 150831.005645.4809: SharedServiceHost: Information: [0] : "C:\Windows\System32\Essentials\SharedServiceHost.exe" C:\Windows\System32\Essentials\EmailProviderServiceConfig
[1012] 150831.005645.4819: SharedServiceHost: Information: [0] : Loading service information from "C:\Windows\System32\Essentials\EmailProviderServiceConfig".
[9932] 150831.005645.5009: WinSrvEmailProviderSvc: Microsoft.WindowsServerSolutions.O365Integration.O365ManagementService, Wssg.O365Provider, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 is created as hosted email service provider
[9932] 150831.005645.5029: WinSrvEmailProviderSvc: Microsoft.WindowsServerSolutions.PasswordSync.PwdSyncManagementService, Wssg.PasswordSyncProvider, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 is created as hosted email service provider
[9932] 150831.005645.7590: O365Integration:BackgroundTaskManager: BackgroundTaskManager.StartTasks called
[9932] 150831.005645.7600: O365Integration:BackgroundTaskBase: Starting UpdateDomainTask
[9932] 150831.005645.7630: O365Integration:BackgroundTaskBase: updating UpdateDomainTask timer to: TimerSettings: DueTime=00:00:00, Interval=01:00:00
[9932] 150831.005645.7630: O365Integration:BackgroundTaskBase: Starting UpdateSharepointAddressTask
[9932] 150831.005645.7630: O365Integration:BackgroundTaskBase: updating UpdateSharepointAddressTask timer to: TimerSettings: DueTime=00:00:00, Interval=1.00:00:00
[9932] 150831.005645.7630: O365Integration:BackgroundTaskBase: Starting UpdateO365IntegrationDataTask
[9932] 150831.005645.7650: O365Integration:BackgroundTaskBase: updating UpdateO365IntegrationDataTask timer to: TimerSettings: DueTime=00:00:00, Interval=01:00:00
[9932] 150831.005645.7650: O365Integration:BackgroundTaskBase: Starting UpdateCachedSkuInfoTask
[9932] 150831.005645.7660: O365Integration:BackgroundTaskBase: updating UpdateCachedSkuInfoTask timer to: TimerSettings: DueTime=00:00:00, Interval=1.00:00:00
[9932] 150831.005645.7660: O365Integration:BackgroundTaskBase: Starting UpdateMSOSecurityGroupDataTask
[9932] 150831.005645.7680: O365Integration:BackgroundTaskBase: updating UpdateMSOSecurityGroupDataTask timer to: TimerSettings: DueTime=00:00:00, Interval=1.00:00:00
[9932] 150831.005645.7771: PasswordSyncManagementCoreFactory: Creating PasswordSyncManagementCore instances
[9932] 150831.005645.7861: PasswordSyncManagementCore: PasswordSyncManagementCore.Initialize
[9932] 150831.005645.7861: PasswordSyncManagementCoreFactory: PasswordSyncManagementCore for AzureAD was created
[8276] 150831.005645.7961: MSOSecurityGroupManager: Sync queue is empty.
[8416] 150831.005645.8051: PfBinding: Information: [0] : Adding service dns identity [placeholder] in proxy endpoint.
[9664] 150831.005646.7071: BecWebServiceAdapter: BEC web service is updated, need to update proxy code.
[9760] 150831.005647.1538: O365ClientProvider(ICallback): Channel_Closed called
[9760] 150831.005647.1548: O365ClientProvider(ICallback): Provider disconnected
[9092] 150831.005647.5004: SkusFromXML: failed to get SkuDisplayInfo for MCOLITE
[8416] 150831.005648.2742: PfBinding: Information: [0] : Adding service dns identity [placeholder] in proxy endpoint.
[8876] 150831.005648.4623: PfBinding: Information: [0] : Adding service dns identity [placeholder] in proxy endpoint.
[9932] 150831.005648.4984: PfBinding: Information: [0] : Adding service dns identity [placeholder] in proxy endpoint.
[9092] 150831.005709.5403: SharedServiceHost: Critical: [0] : _UnhandledExceptionHappened: SharedServiceHost.exe encountered an error (0x8007203a): System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at Microsoft.WindowsServerSolutions.MailService.MailServiceADUtils.get_DomainName()
   at Microsoft.WindowsServerSolutions.MailService.ActiveDirectoryHelper.SetLocalUserPrincipleName(String userName, String userPrincipalName)
   at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.CleanUpMappingData(O365User[] mappedUsers)
   at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.Run()
   at Microsoft.WindowsServerSolutions.O365Integration.BackgroundTask.TimerCallback(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()

September 3rd, 2015 11:17pm

How is the DNS set up on this server?

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 12:01am

Any Event Viewer Error Application, System or DNS?

September 4th, 2015 2:23pm

I apologize for the delayed response.

DNS is configured on the same Essentials server with the server pointing at itself.  Forwarders are to the ISP DNS servers.  There are no issues with any of the office workstations that use the server for DNS or with the server itself other than this issue with the password sync.

The server also syncs SharePoint libraries in case that makes a difference.

I will log into the server now and post event log errors/warnings in a separate reply.

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2015 5:18pm

When I open the Dashboard and access the "Services" section on the Home page no new entries are created in the Application, Security or System event logs.  Are there any other logs I should check?

It may also be worth noting that the "Office 365 Integration" section pops the "N/A" almost immediately and the "Azure Active Directory" section takes a minute or two.

September 8th, 2015 5:25pm

Investigating further, I attempted to use the "Change administrator account" option. It errored out and several entries were made in the event logs. I will post each separately shortly. As far as the error that the Dashboard itself showed, it was:

An unknown error occurred

Make sure that the computer is connected to the Internet, and then try again.

If you continue to experience this problem, restart the server and then try again.

I have restarted several times during this whole issue so I know that it will not resolve the issue.

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 10:16pm

Error 2 - Application log:

Faulting application name: SharedServiceHost.exe, version: 6.3.9600.16384, time stamp: 0x5215ca62

Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737

Exception code: 0xe0434352

Fault offset: 0x0000000000008b9c

Faulting process id: 0x9b0c

Faulting application start time: 0x01d0ec378919efe2

Faulting application path: C:\Windows\System32\Essentials\SharedServiceHost.exe

Faulting module path: C:\Windows\system32\KERNELBASE.dll

Report Id: d52318ee-582a-11e5-80f5-f8db88fc2052

Faulting package full name:

Faulting package-relative application ID:

September 10th, 2015 10:19pm

Error 1 - Application Log:

Fault bucket , type 0

Event Name: CLR20r3

Response: Not available

Cab Id: 0

Problem signature:

P1: SharedServiceHost.exe

P2: 6.3.9600.16384

P3: 5215ca62

P4: System.DirectoryServices

P5: 4.0.30319.34209

P6: 53489a0c

P7: 8e

P8: 18

P9: PSZQOADHX1U5ZAHBHOHGHLDGIY4QIXHX

P10:

Attached files:

These files may be available here:

C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_SharedServiceHos_3a51f96e9f2f3b67caebb0baf7dae55f862ea44_b2021988_4c841b0f

Analysis symbol:

Rechecking for solution: 0

Report Id: d52318ee-582a-11e5-80f5-f8db88fc2052

Report Status: 0

Hashed bucket:

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 10:19pm

Error 3 - Application log:

Application: SharedServiceHost.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.Runtime.InteropServices.COMException

Stack:

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean)

   at System.DirectoryServices.DirectoryEntry.Bind()

   at System.DirectoryServices.DirectoryEntry.get_AdsObject()

   at System.DirectoryServices.PropertyValueCollection.PopulateList()

   at System.DirectoryServices.PropertyValueCollection..ctor(System.DirectoryServices.DirectoryEntry, System.String)

   at System.DirectoryServices.PropertyCollection.get_Item(System.String)

   at Microsoft.WindowsServerSolutions.MailService.MailServiceADUtils.get_DomainName()

   at Microsoft.WindowsServerSolutions.MailService.ActiveDirectoryHelper.SetLocalUserPrincipleName(System.String, System.String)

   at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.CleanUpMappingData(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()


September 10th, 2015 10:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics