Unable to run Integrate with office 365 (from Essentials Dashboard) on Essentials 2016

Tomasz 1 Reputation point
2022-12-30T11:56:09.35+00:00

Hi I cannot integrate with office 365 from server 2016 essentials dashboard.
In file SharedServiceHost-EmailProviderServiceConfig.log it returns:

[7648] 221230.123005.0893: SharedServiceHost: Information: [0] : ==========================================================
[7648] 221230.123005.1343: SharedServiceHost: Information: [0] : "C:\Windows\System32\Essentials\SharedServiceHost.exe" C:\Windows\System32\Essentials\EmailProviderServiceConfig
[7648] 221230.123005.1353: SharedServiceHost: Information: [0] : Loading service information from "C:\Windows\System32\Essentials\EmailProviderServiceConfig".
[1792] 221230.123005.1523: WinSrvEmailProviderSvc: Microsoft.WindowsServerSolutions.O365Integration.O365ManagementService, Wssg.O365Provider, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 is created as hosted email service provider
[1792] 221230.123005.1533: WinSrvEmailProviderSvc: Microsoft.WindowsServerSolutions.PasswordSync.PwdSyncManagementService, Wssg.PasswordSyncProvider, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 is created as hosted email service provider
[1792] 221230.123005.3473: O365Integration:BackgroundTaskManager: BackgroundTaskManager.StartTasks called
[1792] 221230.123005.3483: O365Integration:BackgroundTaskBase: Starting UpdateDomainTask
[1792] 221230.123005.3503: O365Integration:BackgroundTaskBase: updating UpdateDomainTask timer to: TimerSettings: DueTime=00:00:00, Interval=01:00:00
[1792] 221230.123005.3503: O365Integration:BackgroundTaskBase: Starting UpdateSharepointAddressTask
[1792] 221230.123005.3503: O365Integration:BackgroundTaskBase: updating UpdateSharepointAddressTask timer to: TimerSettings: DueTime=00:00:00, Interval=1.00:00:00
[1792] 221230.123005.3503: O365Integration:BackgroundTaskBase: Starting UpdateO365IntegrationDataTask
[1792] 221230.123005.3513: O365Integration:BackgroundTaskBase: updating UpdateO365IntegrationDataTask timer to: TimerSettings: DueTime=00:00:00, Interval=01:00:00
[1792] 221230.123005.3513: O365Integration:BackgroundTaskBase: Starting UpdateCachedSkuInfoTask
[1792] 221230.123005.3513: O365Integration:BackgroundTaskBase: updating UpdateCachedSkuInfoTask timer to: TimerSettings: DueTime=00:00:00, Interval=1.00:00:00
[1792] 221230.123005.3513: O365Integration:BackgroundTaskBase: Starting UpdateMSOSecurityGroupDataTask
[1792] 221230.123005.3523: O365Integration:BackgroundTaskBase: updating UpdateMSOSecurityGroupDataTask timer to: TimerSettings: DueTime=00:00:00, Interval=1.00:00:00
[1792] 221230.123005.3563: PasswordSyncManagementCoreFactory: Creating PasswordSyncManagementCore instances
[12796] 221230.123005.3723: MSOSecurityGroupManager: Sync queue is empty.
[4796] 221230.123005.3833: PfBinding: Information: [0] : Adding service dns identity [MyServer] in proxy endpoint.
[10800] 221230.123005.4443: O365ClientProvider(ICallback): Channel_Closed called
[10800] 221230.123005.4453: O365ClientProvider(ICallback): Provider disconnected

in ConfigWizard.log:

[13164] 221230.122944.2186: General: Initializing...C:\Windows\System32\Essentials\ConfigWizard.exe
[4232] 221230.122944.3436: FwlinkHelper: Failed to get forwarded link from fwlink https://go.microsoft.com/fwlink/?LinkID=785361 with error The request was aborted: Could not create SSL/TLS secure channel..
[4232] 221230.122944.3436: CloudServiceEnvironment: Failed to refresh cloud service environment file because the download address cannot be retrieved.
[4232] 221230.122944.4842: PfBinding: Information: [0] : Adding service dns identity [MySERVER] in proxy endpoint.
[11096] 221230.122944.5623: PfBinding: Information: [0] : Adding service dns identity [MySERVER] in proxy endpoint.
[11096] 221230.122944.6267: PfBinding: Information: [0] : Adding service dns identity [MySERVER] in proxy endpoint.
[6060] 221230.123002.5314: GettingStartedWizard: Start O365 service
[3376] 221230.123005.0263: O365Manager: TResult : Boolean, args : Microsoft.WindowsServerSolutions.Common.ProviderFramework.OperationInvokeEventArgs1[System.Boolean] [3376] 221230.123005.0273: O365Manager: actualArgs : Microsoft.WindowsServerSolutions.Common.ProviderFramework.OperationInvokeEventArgs1[System.Boolean]
[6060] 221230.123005.0283: GettingStartedWizard: Stop O365 service
[6060] 221230.123005.3603: GettingStartedWizard: Activate O365 with Error OnlineServiceIssue returned.
[6060] 221230.123005.3603: GettingStartedWizard: Activate O365 with Error OnlineServiceIssue returned.
[6060] 221230.123005.3613: GettingStartedWizard: error page exception : O365ConfigurationFault = OnlineServiceIssue
Microsoft.WindowsServerSolutions.O365Integration.O365ConfigureException: Credential cannot be authenticated due to error: user_realm_discovery_failed: User realm discovery failed

at Microsoft.WindowsServerSolutions.O365Integration.TokenFetcher.GetAuthorizationHeader()
at Microsoft.WindowsServerSolutions.O365Integration.GraphAdapter.SetCredential(String userName, SecureString password)
at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementCore.verifyAdminAccount(IO365ServiceAdapter adapter, String adminUserName, SecureString adminPassword)
at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementCore.ActivateAAD(String adminUserName, String adminPassword)
at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementProvider.<>c__DisplayClass84_0.<InvokeOperationWrapperAsync>b__0()
at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderBase1.InvokeOperation[TResult](String operationName, Func1 func)
[13164] 221230.123005.3663: OIMUtils: GetO365ConfigurationErrorMessage for OnlineServiceIssue
[13164] 221230.123005.3673: GettingStartedWizard: Stop O365 service
[13164] 221230.123008.9651: GettingStartedWizard: RebootOrRestartDashboardIfNecessary with restart flag is False

Ho can I resolve it?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,564 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-12-30T13:32:33.78+00:00

    Something here could help.
    https://learn.microsoft.com/en-us/windows-server-essentials/manage/manage-office-365-in-windows-server-essentials

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.