Solved

Windows Server Essentials E-Mail Service Failing

Posted on 2014-03-18
10
1,215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
10 Comments
 
LVL 58

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
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 58

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 58

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

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

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

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
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 of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

717 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