Solved

Windows Server Essentials E-Mail Service Failing

Posted on 2014-03-18
10
1,068 Views
1 Endorsement
Last Modified: 2016-03-20
After recently completing a migration from SBS 2003 to Server Essentials 2012 R2, moments after decomissioning the old domain controller, the essentials e-mail service which is responsible for handling the cloud sync to azure and office 365 will not start.

Microsoft are stumped by this too so I wondered if there was anyone else out there that had similar issues with 2012 essentials r2 since installing windows updates.?
1
Comment
Question by:tegenius
  • 6
  • 3
10 Comments
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 39936500
Can you be more specific? The o365 integration wizard will not run while the SBS 2003 server is still ON the network, and yet your question implies that it had been run and was working. This is contrary to how the system behaves. Please be specific about the environment, what has been done, and what errors you are getting.

Just to be VERY clear, essentials does not have an email service. It has an integration service that makes it easier to create o365 accounts easier (seamless actually) when creating users through the essentials dashboard. No email service runs locally and no syncing of data occurs.
0
 

Author Comment

by:tegenius
ID: 39936512
Apologies for the lack of specifics.

The FSMO roles have been transferred, exchange decommissioned (by deleting the server object out of ADSI) and the old server removed from the network.

We then began with the Office 365 integration wizard and began assigning pre-existing Microsoft Online accounts to our users so passwords would sync to the cloud. It worked for about an hour and then all of a sudden, the microsoft online status for all accounts was "unknown", the details from the office 365 tab became "unknown" also.

The only changes that occurred during this period was adding the DHCP role and decommissioning all the old small business server group policies and... windows update which included the latest rollup.

The only link to this "unknown" status is the fact that this e-mail integration service has stopped.

I'm struggling to understand what is stopping this from running. The actual event log is confusing.

Application: SharedServiceHost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.DirectoryServices.DirectoryServicesCOMException
Stack:
   at System.DirectoryServices.DirectoryEntry.CommitChanges()
   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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Open in new window


Faulting application name: SharedServiceHost.exe, version: 6.3.9600.16384, time stamp: 0x5215ca62
Faulting module name: KERNELBASE.dll, version: 6.3.9600.16496, time stamp: 0x52b3f283
Exception code: 0xe0434352
Fault offset: 0x0000000000005a88
Faulting process id: 0x253c
Faulting application start time: 0x01cf429464892f22
Faulting application path: C:\Windows\System32\Essentials\SharedServiceHost.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: a63a17ba-ae87-11e3-80bf-9c8e995696bc
Faulting package full name: 
Faulting package-relative application ID: 

Open in new window

0
 

Author Comment

by:tegenius
ID: 39936522
Here's some screenshots:

Unknown account status.
Office 365 status unknown.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 39936610
Make sure your clock and time zone are both still correct. Open the services control panel and verify all automatic services are in a running state.
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 39936618
And again, for clarification, you say this is 2012 R2?? You also say updates included a rollup. Essentials 2012 R2 does not *have* any rollups, so as before, some inconsistency exists in your description.
0
 

Accepted Solution

by:
tegenius earned 0 total points
ID: 40356529
I lost access to this account so apologies for the late response.

This issue was resolved by the Microsoft dev team. It was caused by the same microsoft online account being added to 2 AD users via the dashboard. This was caused by the fact the dashboard did not refresh with the up to date information once the first account had been added.

To resolve this, one of the duplicate AD accounts had to be deleted and recreated from scratch, The service then started up again.
0
 

Author Closing Comment

by:tegenius
ID: 40363233
Microsoft support resolved the issue after a lengthy debugging process.
0
 

Expert Comment

by:Pgh_Habitat
ID: 41514577
I am having the exact same issue.  The dashboard shows "unknown" for all Microsoft Online Accounts, and no information in the Office 365 integration tab.   Windows Server Essentials Email Service is stopped.   If I manually restart the service, all is good.   Checked AD and no issues with duplicate accounts being assigned (as tegenius noted).   Any help on this?
0
 

Author Comment

by:tegenius
ID: 41515039
It was caused by 2 accounts having the same e-mail address in the local directory. One had successfully synced to the cloud but the other hadn't and was causing the whole synchronisation to fail. Best using powershell to export your AD to csv and checking all your accounts over.
0
 

Author Comment

by:tegenius
ID: 41515041
As for your exact issues, not sure :( Microsoft support may be able to help, even the Azure AD team on 365 :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question