Hi Every,
Forgive me if I am unable to explain my problem in a proficient way. My problem is When I click on "Connect to outlook" It say sync to exchange is disabled due to errors.
I did a lot of googling but failed to find the solution. Site inboxes can be configured for a team-site. It means o-authentication is working between SharePoint 2013 and Exchange 2013. When I see partner application It gives me only one partner application
i.e. SharePoint. I have two separate web applications. One hosts corporate team site collection and other hosts mysite. Search is working although with some errors in log. These are regarding errors in Parser application while indexing a specific document.
Search Results are returning so it looks Search Application is working. MyTask list is showing me the tasks assigned from a team site therefor Work Management Application is working as well. The ULS log shows following error
10/15/2018 14:38:18.02
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Work Management Service
ahw6q
Medium
Successfully loaded the personal site
for user 1d854014-d803-4cbe-ae3d-c833cf31fe19 at url https://mysite.mydomain.local/personal/Emp_Name and id f4e1118a-3cb3-4ab9-8619-f2bde6e9b6c9.
b62cf029-48f2
-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.02
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Work Management Service
ajsci
Medium
Trying to start Exchange Sync for user
with id 1d854014-d803-4cbe-ae3d-c833cf31fe19
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.06
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Work Management Data Model
aimqe
Medium
About to execute query on 1
logical tables
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.08
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Work Management Data Model
ah32w
Medium
Read singleton item of type
SPRefreshStateFieldManager from list successfully. Id is 1
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.10
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Foundation
Dev Events
ajbpn
Medium
Set EventFiringDisabled to [True]. Stack trace: [
at Microsoft.Office.Server.WorkManagement.DataModel.SingletonCache`1.Update(TCore toWrite) at
Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass5.<>c__DisplayClass7.<TryCreateRefreshJob>b__4(GlobalRefreshState refreshState)
at Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryCreateJobCore(GlobalRefreshState refreshState, RefreshType type, Nullable`1
minimumTimeBetweenRefreshes, Func`2 tryWriteUpdate) at
Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass5.<TryCreateRefreshJob>b__3() at
Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryCreateRefreshJob(RefreshType type, Nullable`1 minimumTimeBetweenRefreshes) at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.RefreshJobManager.TryCreateRefreshJob() at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.FarmRefreshJob.TryCreateRefreshJob(RefreshJobManager jobManager) at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.MultiFarmRefreshManager.BeginFarmLevelRefresh(RefreshJobManager jobManager) at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.MultiFarmRefreshManager.BeginMultiFarmRefresh(RefreshJobManager jobManager) at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.RefreshManager.BeginRefreshForExchange() at
Microsoft.Office.Server.WorkManagement.WorkManagementServiceApplication.<>c__DisplayClass4.<BeginExchangeSyncActingAsCurrentUser>b__3() at
Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0() at
Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts) at
Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.<>c__DisplayClass21.<RunSyncForUser>b__20() at
Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.ExecuteWithImpersonation(Byte[] userToken, Guid accountUid, Action toRun)
at Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.RunSyncForUser() at
Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0() at
Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts) at
Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteAndEnsureContextValid(Action toRun, TContextState serviceUserState, String actionName)
at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInSpContext(ThreadParams threadParams) at
Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInDiagnosticScope(ThreadParams threadParams) at
Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.Run(Object tParams) at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx) at
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() ]
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.14
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Foundation
Dev Events
ajbpn
Medium
Set EventFiringDisabled to [False]. Stack trace: [
at Microsoft.Office.Server.Utilities.EventReceiverUtility.DisabledEventFiringScope.Dispose() at
Microsoft.Office.Server.WorkManagement.DataModel.SingletonCache`1.Update(TCore toWrite) at
Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass5.<>c__DisplayClass7.<TryCreateRefreshJob>b__4(GlobalRefreshState refreshState)
at Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryCreateJobCore(GlobalRefreshState refreshState, RefreshType type, Nullable`1
minimumTimeBetweenRefreshes, Func`2 tryWriteUpdate) at
Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass5.<TryCreateRefreshJob>b__3() at
Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryCreateRefreshJob(RefreshType type, Nullable`1 minimumTimeBetweenRefreshes) at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.RefreshJobManager.TryCreateRefreshJob() at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.FarmRefreshJob.TryCreateRefreshJob(RefreshJobManager jobManager) at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.MultiFarmRefreshManager.BeginFarmLevelRefresh(RefreshJobManager jobManager) at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.MultiFarmRefreshManager.BeginMultiFarmRefresh(RefreshJobManager jobManager) at
Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.RefreshManager.BeginRefreshForExchange() at
Microsoft.Office.Server.WorkManagement.WorkManagementServiceApplication.<>c__DisplayClass4.<BeginExchangeSyncActingAsCurrentUser>b__3() at
Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0() at
Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts) at
Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.<>c__DisplayClass21.<RunSyncForUser>b__20() at
Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.ExecuteWithImpersonation(Byte[] userToken, Guid accountUid, Action toRun)
at Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.ExchangeSyncUserRunner.RunSyncForUser() at
Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0() at
Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts) at
Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteAndEnsureContextValid(Action toRun, TContextState serviceUserState, String actionName)
at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInSpContext(ThreadParams threadParams) at
Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInDiagnosticScope(ThreadParams threadParams) at
Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.Run(Object tParams) at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx) at
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() ]
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.19
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Work Management Data Model
aimqe
Medium
About to execute query on 1
logical tables
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.21
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Exchange Task Synchronization
ajjuc
Medium
[Exchange Sync 1d854014-d803-
4cbe-ae3d-c833cf31fe19 84] EwsRequestHttpHeaders: <Trace Tag="EwsRequestHttpHeaders" Tid="56" Time="2018-10-15 09:38:18Z"> POST /EWS/Exchange.asmx HTTP/1.1 Content-
Type: text/xml; charset=utf-8 Accept: text/xml User-Agent: SharePoint/15/Work Management (ExchangeServicesClient/15.00.0516.014) Accept-Encoding: gzip,deflate
client-request-id: b62cf029-48f2-4299-9edf-2a14d7d8dba6 Authorization: Bearer </Trace>
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.22
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Exchange Task Synchronization
aje6l
Medium
[bucketHash:61B8E243]
[Exchange Sync 1d854014-d803-4cbe-ae3d-c833cf31fe19 84] Exception when validating connection for user. Exception details follow. Type:
'Microsoft.Exchange.WebServices.Data.ServiceRequestException', message: 'The request failed. The request was aborted: The request was canceled.' and stack trace:
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request) at
Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request) at
Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute() at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder[TFolder](FolderId
folderId, PropertySet propertySet) at Microsoft.Office.Server.WorkManagement.Internal.ExchangeServices.TestExchangeConnection().
b62cf029-48f2-4299-9edf-
2a14d7d8dba6
10/15/2018 14:38:18.22
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Exchange Task Synchronization
aje42
Medium
[Exchange Sync 1d854014-d803-
4cbe-ae3d-c833cf31fe19 84] The url in the cache is not valid for for user. We are trying to update the EWS url.
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Server Search
Exchange Integration
ah9c0
Medium
OAuth Exception: Authentication realm
value must be specified either in the request or in the challenge.
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Server Search
Exchange Integration
ah9c1
Medium
ServiceRequestException: The request
failed. The request was aborted: The request was canceled.
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Server Search
Exchange Integration
aiwxi
Medium
SearchServiceApplication::ExchangeAdapter::SharePoint CorrelationId:; Exchange Request Id:; Diagnostic Info:
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Server Search
Exchange Integration
ai1pi
Medium
Autodiscover Diagnostics EWS Client
Version: 15.00.0516.014
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Foundation
Monitoring
b4ly
High
Leaving Monitored Scope ([Exchange Sync 1d854014-d803
-4cbe-ae3d-c833cf31fe19 84] InitExchangeServiceForUser). Execution Time=104.3212
b62cf029-48f2-4299-9edf-2a14d7d8dba6
10/15/2018 14:38:18.24
OWSTIMER.EXE (0x9DA8)
0xB7B0
SharePoint Portal Server
Exchange Task Synchronization
aje61
Medium
Failed to connect to exchange
for user: 1d854014-d803-4cbe-ae3d-c833cf31fe19
b62cf029-48f2-4299-9edf-2a14d7d8dba6
It seems there is some kind of authorization barrier. as there an exception rises when user is being authenticated. "Exception when validating connection for user." Any help will be a great blessing for me.
Muhammad Masood