Office 365 Integration on Server 2012 R2

microsoft-office-365windows-server-2012-r2

I have a Windows Server 2012 R2 that is a Domain Controller and was originally setup with Office 365 integration. Lately it would not sync and would not let me re-link to the Office 365 Account.

I have disabled the integration for O365 and Azure Active Directory. When I attempt to setup the O365 again it says to check to make sure the computer is connected to the internet. I have tried through power shell with the following error.

Enable-O365Integration : Connect to BECWS failed.

Best Answer

This seems to have been caused by Microsoft changing something on their Office 365 relay servers. If you're seeing an endpoint error in the "SharedServiceHost-EmailProviderServiceConfig.log" file, you can delete the invalid server address from the registry:

https://exchangemaster.wordpress.com/2018/03/14/windows-server-essentials-o365-integration-errors/

I was able to trace the error message to this Microsoft forum post where MVP Susan Bradley provided the resolution. In this case, the resolution was to navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Server\Productivity\O365Integration\Settings registry key and delete or rename the “BecEndPointAddress” registry entry.

Deleting that registry key and restarting all Essentials services should allow you to change the integration settings again the next time you open the Dashboard.

Related Topic