Windows Server 2012 Essentials/R2 Essentials may fail to integrate with Microsoft Office 365
[This post comes to us courtesy of Sabir Chandwale and Sandeep Biswas from Global Business Support]
We have discovered a new issue with Microsoft Office 365 Dashboard integration on Windows Server Essentials (2012 and 2012 R2 both). The Integrate with Microsoft Office 365 wizard fails with the following error:
The Application event log shows the following error messages:
Log Name: Application
Source: Application Error
Date: 5/29/2015 5:33:33 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: WS2012R2ESS.CONTOSOIN.local
Description:
Faulting application name: SharedServiceHost.exe, version: 6.3.9600.16384, time stamp: 0x5215ca62
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x00007ff86584247e
Faulting process id: 0x10c0
Faulting application start time: 0x01d099d0f88b7026
Faulting application path: C:\Windows\System32\Essentials\SharedServiceHost.exe
Faulting module path: unknown
Report Id: 3e66f1d2-05c4-11e5-80d0-000d3a20bee4
Faulting package full name:
Faulting package-relative application ID:
Log Name: Application
Source: .NET Runtime
Date: 5/29/2015 5:33:32 AM
Event ID: 1025
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: WS2012R2ESS.CONTOSOIN.local
Description:
Application: SharedServiceHost.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Unhandled exception from operation:
Service type: Microsoft.WindowsServerSolutions.PasswordSync.PasswordSyncManagementProvider
Operation: [https://tempuri.org/] IPasswordSyncProvider.BeginActivate
Async: False
Parameters:
PasswordSyncType type
String id
Microsoft.WindowsServerSolutions.MailService.MailServiceException: Unable to create process as user. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
The Windows Server Essentials Email Service may stop on its own and generate the following error in the System event log:
Log Name: System
Source: Service Control Manager
Date: 5/29/2015 5:34:21 AM
Event ID: 7031
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: WS2012R2ESS.CONTOSOIN.local
Description:
The Windows Server Essentials Email Service service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.
The file SharedServiceHost-EmailProviderServiceConfig.log located at C:\ProgramData\Microsoft\Windows Server\Logs folder may show the following exception:
[9692] 150514.140603.4973: ProviderFramework: Error: [0] : Unhandled Exception details: Microsoft.WindowsServerSolutions.MailService.MailServiceException: Unable to create process as user. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
--- End of inner exception stack trace ---
at Microsoft.WindowsServerSolutions.MailService.MailServiceUtils.ExecuteCommandWithThreadImpersonationToken(String fileName, String args)
at Microsoft.WindowsServerSolutions.PasswordSync.PasswordSyncManagementCore.ConfigurePcnsTarget()
at Microsoft.WindowsServerSolutions.PasswordSync.PasswordSyncManagementCore.<Activate>b__5()
at Microsoft.WindowsServerSolutions.MailService.ActiveDirectoryHelper.InvokeOperationImpersonateWrapper(Action action)
at Microsoft.WindowsServerSolutions.PasswordSync.PasswordSyncManagementCore.Activate()
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderBase`1.<>c__DisplayClass4.<InvokeOperation>b__3()
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderBase`1.InvokeOperation[TResult](String operationName, Func`1 func)
at Microsoft.WindowsServerSolutions.PasswordSync.PasswordSyncManagementProvider.InvokeOperationWrapperAsync(String operationName, Action action)
at SyncInvokeBeginActivate(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.ExceptionScreener._ScreenForExceptions(GeneralInvoker invokeMe, Object instance, Object[] inputs, Object[]& outputs)
[9692] 150514.140603.4973: SharedServiceHost: Critical: [0] : _UnhandledExceptionHappened: SharedServiceHost.exe encountered an error (0x80131500): Microsoft.WindowsServerSolutions.MailService.MailServiceException: Unable to create process as user. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
This behavior has been observed because of the way the Microsoft Password Change Notification Service package has been compressed. In order to fix the issue, follow the workaround mentioned below.
1. On the server, rename the following folders present at the C:\Program Files\Windows Server\Bin folder:
PCNS
PCNS.zip
2. Download Password Change Notification Service (x64 package)
3. Extract the zipped folder and navigate to “..\Password Change Notification Service\x64\” folder
4. Copy the folders Program Files, Windows and the file Password Change Notification Service.msi to the Desktop
5. Right-click all the three items, create a Compressed (zipped) folder and name it PCNS.zip
6. Copy this newly created zipped folder PCNS.zip to the C:\Program Files\Windows Server\Bin folder
7. Run the Integrate with Microsoft Office 365 wizard from Windows Server Essentials Dashboard
Alternatively, you can rename the existing PCNS and PCNS.zip folders. Download PCNS.ZIP from here and copy it to the C:\Program Files\Windows Server\Bin folder.
Resolution (Updated on 06/30/2015): The folder structure for PCNS.zip has been reverted and no manual steps before integration are required any more.
Comments
- Anonymous
January 01, 2003
The comment has been removed - Anonymous
January 01, 2003
Thanks for posting this. I posted this fix in another thread for my issue from a few weeks back. Glad to see it getting some official recognition. I was pulling my hair out trying to figure out the issue. - Anonymous
January 01, 2003
hnr --- I wouldn't call it a "great" solution --- it's a "fix" to a problem, and one that I spent many hours last weekend for a client trying to resolve, which I finally did. And why was the original zip file compressed incorrectly to begin with? - Anonymous
May 29, 2015
Great solution. Thanks! - Anonymous
May 29, 2015
If you can't integrate with a paid service the fix is fast. If you can't restore files or folders, the fix may take longer :) - Anonymous
May 29, 2015
The official blog site for SBS and Windows Server Essentials Published the blog for O365 Integration - Anonymous
June 03, 2015
The comment has been removed - Anonymous
June 04, 2015
Ok, I had this issue and followed the Fix, still no joy. Thought I'd disable O365 and then re-enable it, does the trick for other things. Also I could not find a way to rerun the Wizard as in step 7! Now there is no option in the dashboard to enable O365 integration, showing as N/A, no link for a wizard etc.
How can I reinstate the wizard so that I can reintegrate with O365? - Anonymous
June 08, 2015
208 Microsoft Team blogs searched, 46 blogs have new articles. 116 new articles found searching from - Anonymous
June 23, 2015
You may experience problem with integration when you are using Office365 Work account which is also used for Microsoft Azure as a Microsoft Account with same e-mail address. No soution found yet. - Anonymous
June 23, 2015
Solution found for my previous post - https://support.microsoft.com/en-us/kb/3055778 - Anonymous
June 30, 2015
Thanks for the update (6/30/2015) on this issue. But I'm a bit confused. The original issue was that an incorrect PCNS.zip file was being downloaded when we try to run the O365 Integration Wizard. If the incorrect zip file is still on our server, do we need to first delete it before running the wizard, or will the wizard simply write over the incorrect zip file with the correct one before proceeding? - Anonymous
July 31, 2015
Make sure the user you run the dashboard / integration wizard with is a member of Domain Admins and Schema Admins. the wizard kept failing on me until I added my user account to Schema Admins, after that it worked fine. - Anonymous
July 31, 2015
Very nice, thanks! - Anonymous
August 09, 2015
I still have this issue. Windows Server Essentials 2012 R2 fresh installation in existing domain. All roles transferred and old DC had been demoted to member server. All available updates applied. Still get Event ID 1025 and 1000. Tried the PCNS.zip replacement/fix with no luck. - Anonymous
August 24, 2015
Thank you for such detailed article. Very cool. Liked it.
https://www.rebelmouse.com/servertechmanagement/server-support-services-by-sts-1302173214.html - Anonymous
January 07, 2016
http://www.happynewyear2016wishesimagessms.com/hindu-festival-2016/
http://www.happynewyear2016wishesimagessms.com/lohri-pics-lohri-sms-lohri-wallpapers/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-images/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-quotes/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-wishes/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-wallpaper/
http://www.happynewyear2016wishesimagessms.com/lohri-greetings/
http://www.happynewyear2016wishesimagessms.com/lohri-images/
http://www.happynewyear2016wishesimagessms.com/lohri-songs/
http://www.happynewyear2016wishesimagessms.com/lohri-wishes/
http://www.happynewyear2016wishesimagessms.com/lohri-festival/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/lohri-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/lohri-the-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/up-helly-aa-event-in-scotland/
http://www.happynewyear2016wishesimagessms.com/dinagyang-festival/
http://www.happynewyear2016wishesimagessms.com/sundance-film-festival-2016/
http://www.happynewyear2016wishesimagessms.com/wwe-in-india-wwe-live-event-in-new-delhi/
http://www.happynewyear2016wishesimagessms.com/lohri-wishes-for-friends-family/
http://www.happynewyear2016wishesimagessms.com/cowboy-poetry/
http://www.happynewyear2016wishesimagessms.com/ati-atihan-festival-full-information/
http://www.happynewyear2016wishesimagessms.com/holy-ship-2016/
http://www.happynewyear2016wishesimagessms.com/things-to-do-in-banff-town-canada/
http://www.happynewyear2016wishesimagessms.com/rainbow-serpent-festival/
http://www.happynewyear2016wishesimagessms.com/sundance-film-festival-winners/
http://www.happynewyear2016wishesimagessms.com/junkanoo-parade/
http://www.happynewyear2016wishesimagessms.com/hogmanay-2016/
http://www.happynewyear2016wishesimagessms.com/ice-sculpture-snow-sculpture-festival/
http://www.happynewyear2016wishesimagessms.com/carnevale-di-venezia/
http://www.happynewyear2016wishesimagessms.com/bpm-festival-what-bpm-festival-is/
http://www.happynewyear2016wishesimagessms.com/thaipusam-thaipusam-is-a-hindu-festival/
http://www.happynewyear2016wishesimagessms.com/holy-ship-unveils-massive-lineups-for-2016-cruises/
http://www.happynewyear2016wishesimagessms.com/quebec-winter-carnival/
http://www.happynewyear2016wishesimagessms.com/jam-cruise/
http://www.happynewyear2016wishesimagessms.com/things-to-do-in-edinburgh/
http://www.happynewyear2016wishesimagessms.com/harbin-ice-festival/
http://www.happynewyear2016wishesimagessms.com/the-sundance-film-festival-a-program-of-the-sundance-institute/ - Anonymous
January 07, 2016
http://www.republicdayimagesi.com/republic-day-songs/
http://www.republicdayimagesi.com/republic-day-status-republic-day-wallpaper/
http://www.republicdayimagesi.com/republic-day-information-republic-day-photos/
http://www.republicdayimagesi.com/republic-day-pictures-republic-day-pics/
http://www.republicdayimagesi.com/republic-day-messages-republic-day-sms/
http://www.republicdayimagesi.com/republic-day-in-hindi/
http://www.republicdayimagesi.com/essay-on-republic-day/
http://www.republicdayimagesi.com/what-is-republic-day/
http://www.republicdayimagesi.com/republic-day-wishes/
http://www.republicdayimagesi.com/speech-on-republic-day-in-hindi-speech-for-republic-day/
http://www.republicdayimagesi.com/republic-day-speech-in-hindi/
http://www.republicdayimagesi.com/republic-day-image/
http://www.republicdayimagesi.com/india-republic-day/
http://www.republicdayimagesi.com/republic-day-quotes/
http://www.republicdayimagesi.com/images-of-republic-day-pics-of-republic-day/
http://www.republicdayimagesi.com/speech-on-republic-day/
http://www.republicdayimagesi.com/republic-day-2016/
http://www.republicdayimagesi.com/republic-day-india/
http://www.republicdayimagesi.com/republic-day-speech/
http://www.republicdayimagesi.com/republic-day-images/
http://www.republicdayimagesi.com/happy-republic-day/
http://www.republicdayimagesi.com/republic-day/
http://www.republicdayi.com/republic-day-songs/
http://www.republicdayi.com/republic-day-status-republic-day-wallpaper/
http://www.republicdayi.com/republic-day-information-republic-day-photos/
http://www.republicdayi.com/republic-day-pictures-republic-day-pics/
http://www.republicdayi.com/republic-day-messages-republic-day-sms/
http://www.republicdayi.com/speech-on-republic-day-in-hindi-speech-for-republic-day/
http://www.republicdayi.com/republic-day-in-hindi/
http://www.republicdayi.com/essay-on-republic-day/
http://www.republicdayi.com/what-is-republic-day/
http://www.republicdayi.com/republic-day-wishes/
http://www.republicdayi.com/republic-day-speech-in-hindi/
http://www.republicdayi.com/republic-day-image/
http://www.republicdayi.com/india-republic-day/
http://www.republicdayi.com/republic-day-quotes/
http://www.republicdayi.com/images-of-republic-day/
http://www.republicdayi.com/speech-on-republic-day/
http://www.republicdayi.com/republic-day-2016/
http://www.republicdayi.com/republic-day-india/
http://www.republicdayi.com/republic-day-speech/
http://www.republicdayi.com/republic-day-images/
http://www.republicdayi.com/happy-republic-day/
http://www.republicdayi.com/republic-day/ - Anonymous
January 07, 2016
http://www.happylohrii.com/lohri-pics-lohri-sms-lohri-wallpapers/
http://www.happylohrii.com/happy-lohri-images/
http://www.happylohrii.com/hindu-festival-2016/
http://www.happylohrii.com/happy-lohri-quotes/
http://www.happylohrii.com/happy-lohri-wishes/
http://www.happylohrii.com/happy-lohri-wallpaper/
http://www.happylohrii.com/lohri-greetings/
http://www.happylohrii.com/lohri-images/
http://www.happylohrii.com/lohri-songs/
http://www.happylohrii.com/lohri-wishes/
http://www.happylohrii.com/lohri-festival/
http://www.happylohrii.com/happy-lohri-bonfire-festival/
http://www.happylohrii.com/lohri-bonfire-festival/