question

JesseFlintoff-4117 avatar image
0 Votes"
JesseFlintoff-4117 asked JMcLagan commented

Windows Server 2016 Essentials Dasboard can't integrate with Office 365

Hi there.

Can someone help me please? I have multiple fresh built Windows 2016 Essentials server that cannot integrate with 365 via the Dashboard wizard. See two screen shots below.

Existing 2016 essentials production servers that were integrated with 365 before this issue started. Continue to work normally.

There was a recent issue with Anywhere access not working for all Windows 2016 Essentials server. The fix outlined in the link below does not fix the 365 integration issue.

https://docs.microsoft.com/en-us/answers/questions/318584/are-the-problems-with-remotewebaccesscom-domain-an.html

Please can you help me?


84046-essentials-console-365-integration.jpg


84147-365-integration-error.jpg


windows-server-essentials
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Essential 2012r2 essentials servers having the same issue.

0 Votes 0 ·
JesseFlintoff-4117 avatar image
1 Vote"
JesseFlintoff-4117 answered JesseFlintoff-4117 edited

I fixed this issue by installing Microsoft Online Services Sign-In Assistant for IT Professionals RTW

https://www.microsoft.com/en-us/Download/details.aspx?id=28177

Credit to Jack Summers - https://pljdesigns.co.uk/blog/2021/04/08/how-to-fix-windows-essentials-server-integration-error/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CarlFan-MSFT avatar image
0 Votes"
CarlFan-MSFT answered JesseFlintoff-4117 commented

Hi,
Have you checked the registry below:
Office 365 Integration fails with "Cannot connect to Microsoft online services" in Windows Server 2012 R2 Essentials
https://docs.microsoft.com/en-us/archive/blogs/sbs/office-365-integration-fails-with-cannot-connect-to-microsoft-online-services-in-windows-server-2012-r2-essentials
Check below registry key and make sure that the key “Value date” is Windows Server 2016 Essentials’ FQDN (system – full computer name):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Server\ADContext
Also you could check if you issue caused from below thread about Password Change Notification Service ?
2012 R2 Essentials Fails to Integrate with O365
https://kwsupport.com/2015/05/2012-r2-essentials-fails-to-integrate-with-o365/
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Carl.

Thank you for your reply.

Tried all three of your suggestions. None worked sorry.

Kind regards.

Jesse

0 Votes 0 ·
FancyPlantz-6358 avatar image
0 Votes"
FancyPlantz-6358 answered JesseFlintoff-4117 commented

Same problem on multiple servers and cant find a fix. This has been ongoing since approximately March 2021.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I lodged two paid support cases with Microsoft. Despite filling out the forms perfectly. Both cases went to the wrong department and staff couldn't help.

0 Votes 0 ·
hifish avatar image
0 Votes"
hifish answered hifish edited

I faced the same issue.
After Installing the Microsoft Online Services Sign-In Assistant for IT Professionals RTW as suggested by @JesseFlintoff-4117, the Wizard was workling longer but failed agin with the same Error Messge.
The Inspection of "C:\ProgramData\Microsoft\Windows Server\Logs\SharedServiceHost-EmailProviderServiceConfig.log" included an interesting entry:

 [10700] 210516.175233.1008: General: Failed to open IDENTITY\BestPasswordPolicy registry key.

For me this looked like a premission Issue of a registry-key.

Then I Investigated the issue further and found out, that this message is related to the installation of the Password Change Notification Service (Short PCNS)
I Then decided to Install this Service manually as described here: https://docs.microsoft.com/en-us/microsoft-identity-manager/deploying-mim-password-change-notification-service-on-domain-controller

I issued the following commands in an elevated terminal and clicked trough de Wizards:

 msiexec.exe /i "C:\Program Files\Windows Server\Bin\PCNS\Password Change Notification Service.msi" SCHEMAONLY=TRUE
 msiexec.exe /i "C:\Program Files\Windows Server\Bin\PCNS\Password Change Notification Service.msi"

Then I rebooted the Server and was able to link my Windows Server 2016 Essentials to my Microsoft 365 Tenant.

In some cases the PCNS-Files seem to be missing. I uploaded the PCNS.zip file from my Server to my OneDrive: https://walkerit-my.sharepoint.com/:u:/g/personal/andreas_walker_walkerit_ch/EdibZSTue_dJqU4BnsLfTKoB8PlChoump1crJ1VVZkyd4A?e=QFMcmx



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Ron-5562 avatar image
1 Vote"
Ron-5562 answered JMcLagan commented

Server Essentials 2016 Cloud Integration Services FIX. After my integration broke for about a year, I was able to combine several solutions that did the trick.
All items listed below MUST be active to resolve the issue.
1. Verify the following is in installed on the Server: Microsoft Identity Manager Password Change Notification Service
2. Verify the following is in installed on the Server : Microsoft Online Services Sign-in Assistant (msoidcli_64bit.msi)
3. From Azure Active Directory Admin Center, DISABLE SECURITY DEFAULTS. Setting is found at Azure Active Directory Admin Center/Properties/Manage Security Defaults. Disable the default setting from Yes to No.
4. Create an Office 365 Administrator Account with the domain “yourdomain.onmicorosoft.com”. Do not use the primary domain “yourcompany.com”.
5. Do not assign an Office 365 License to the new account. After creating the account, allow 15 minutes to propagate. Do not rush.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have a new Server 2019 build that I installed the 2016 Essentials Console in with the expectation of the integration working properly. When I received the integration errors and found the myriad of info on the subject. All of which I couldn't get to work exactly right, I was disappointed. This worked perfectly for me on 03/31/2022, thank you @Ron-5562 for posting this.

Cheers,

John McLagan

0 Votes 0 ·