none
Project Server 2013 - Exchange Out of Office Sync not working! RRS feed

  • Question

  • Hi guys,

    i've got some Problems to get the Out Of Office Sync from Project Server 2013 and Exchange 2010 to work together.

    I've enabled The Out of Office sync in the pwa Settings and enabled one user for sync of out of Office times.

    When the synchronization Task runs i get the following error message in the System Event log:

    Error 7704 : ExchangeCalOofSync failed

    I enabled verbose logging in SharePoint for Exchange Sync and finde the following in ULS Log when the Exchange out of Office sync Task runs (s05 is my SharePoint/Project Server, s06 is the Exchange Server):

    06/26/2013 11:07:31.67  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  aa749 Verbose  PWA:https://s05/PWA, ServiceApp:Project Server-Dienstanwendung, User:PROJECTSERVER\system, PSI: Starting sync for users: 372c58c4-ddcd-e211-ab95-000c296be823, LogLevelManager Warning-ulsID:0x000217A3 has no entities explicitly specified. 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:31.67  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  aaua6 Verbose  PWA:https://s05/PWA, ServiceApp:Project Server-Dienstanwendung, User:PROJECTSERVER\system, PSI: ExchangeOOFSync() - We don't have a EWS url for resource 372c58c4-ddcd-e211-ab95-000c296be823, trying to get one, LogLevelManager Warning-ulsID:0x00014020 has no entities explicitly specified. 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:31.67  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  aaua7 Medium   PWA:https://s05/PWA, ServiceApp:Project Server-Dienstanwendung, User:PROJECTSERVER\system, PSI: Calling Autodiscover as 'WMD0\SP_Farm' using email for Resource: 372c58c4-ddcd-e211-ab95-000c296be823, LogLevelManager Warning-ulsID:0x00014021 has no entities explicitly specified. 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:31.67  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  hqi5 Verbose  Starting SCP lookup for domainName='test.de', root path='' 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:31.67  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  hqi6 Verbose  Searching for SCP entries in LDAP://CN=Configuration,DC=test,DC=local 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:31.67  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  hqi8 Verbose  Scanning for SCP pointers, Domain=test.de 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:31.67  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  hqj1 Verbose  No SCP pointers found for Domain=test.de in configPath='CN=Configuration,DC=test,DC=local' 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  hqj6 Verbose  Scanning for SCP urls for the current computer Site=Default-First-Site-Name 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  hqj7 Verbose  Adding (priority 1) 'https://S06.test.local/Autodiscover/Autodiscover.xml' for the Site=Default-First-Site-Name from 'LDAP://CN=S06,CN=Autodiscover,CN=Protocols,CN=S06,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=WMD,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=wmd,DC=local' to the top of the list (exact match) 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  hqk3 Verbose  Trying to Autodiscover using email at 'https://S06.test.local/Autodiscover/Autodiscover.xml' 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06  Microsoft.Office.Project.Server (0x0898) 0x2AC8 SharePoint Foundation          General                        ajcdn Monitorable SPException thrown: Message: Eine erforderliche Kontextinformation ist gleich NULL - "context".. Stack:    bei Microsoft.SharePoint.Utilities.SPUtility.ThrowSPExceptionWithTraceTag(UInt32 tagId, ULSCat traceCategory, String resourceId, Object[] resourceArgs)     bei Microsoft.SharePoint.Utilities.SPWebRequest.SafeCreate(Uri requestUri, SPContext context, Type callingType, String callingInstanceTag)     bei Microsoft.Office.Project.Server.ExchangeSync.Autodiscover.DiscoverTryUrl(String emailAddress, NetworkCredential nc, String url, Boolean authoritative, Boolean allowSelfSignedCerts)     bei Microsoft.Office.Project.Server.ExchangeSync.Autodiscover.DiscoverTryUrls(String emailAddress, NetworkCredential nc, List`1 urls, Boolean authoritative, Boolean allowSelfSignedCerts, Int32& maxHops)   ... 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06* Microsoft.Office.Project.Server (0x0898) 0x2AC8 SharePoint Foundation          General                        ajcdn Monitorable ...  bei Microsoft.Office.Project.Server.ExchangeSync.Autodiscover.Discover(String emailAddress, NetworkCredential nc, Int32& maxHops, Boolean allowSelfSignedCerts)     bei Microsoft.Office.Project.Server.ExchangeSync.ExchangeSyncUtil.GetExchangeUrl(String email)     bei Microsoft.Office.Project.Server.ExchangeSync.ExchangeCalendarSyncUtil.GetEwsUrl(ProfileRow profileRow)     bei Microsoft.Office.Project.Server.ExchangeSync.ExchangeCalendarSyncUtil.GetUsersMappingEWSUrl(ExchangeProfileDataSet resourceProfile, Dictionary`2& ewsURLUsers)     bei Microsoft.Office.Project.Server.ExchangeSync.ExchangeCalendarSyncUtil.SyncOofTimeFromExchange(ExchangeProfileDataSet resourceProfile)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeCalOofSyncMessages.ExecuteUpdate(ExchangeCal... 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06* Microsoft.Office.Project.Server (0x0898) 0x2AC8 SharePoint Foundation          General                        ajcdn Monitorable ...endarOofSyncUpdate exchCalOofUpdate, MessageContext mContext)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeCalOofSyncMessages.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessMessageThread.ThreadEntry()     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.MessageProcessor.ProcessMessage(Message msg, MessageContext mContext, ProcessMessageThread processMessageThread)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.MessageProcessor.HandleMessages()     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.MessageProcessor.ThreadEntry()     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.MessageProcessor.<>c__DisplayClass1.<E... 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06* Microsoft.Office.Project.Server (0x0898) 0x2AC8 SharePoint Foundation          General                        ajcdn Monitorable ...xecute>b__0()     bei Microsoft.Office.Project.Server.Library.SafeCallbackManager.RunCallbackAction(Action action, Func`1 safePredicate)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.MessageProcessor.Execute(Group& nextGroupInCorrelation, JobTicket& nextGroupJobTicket)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.Receiver.ProcessMessageGroup(CancellationToken schedulerCancellationToken, Group messageGroup, JobTicket jobTicket, Group& nextGroupInCorrelation, JobTicket& nextGroupJobTicket)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.Receiver.ExecuteJobInternal(CancellationToken schedulerCancellationToken, Group& messageGroup)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.Receiver.<>c__DisplayClass1d.<>c__DisplayClass21.<ExecuteJob>b_... 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06* Microsoft.Office.Project.Server (0x0898) 0x2AC8 SharePoint Foundation          General                        ajcdn Monitorable ..._1b()     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.QueueUtils.RunActionWithIgnoreExceptionPredicate(Action action, Predicate`1 ignoreExceptionPredicate, Boolean& isIgnorableException)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.Receiver.<>c__DisplayClass1d.<ExecuteJob>b__1a()     bei Microsoft.Office.Project.Server.Library.SafeCallbackManager.RunCallbackAction(Action action, Func`1 safePredicate)     bei Microsoft.Office.Project.Server.BusinessLayer.Queue.Receiver.ExecuteJob(CancellationToken schedulerCancellationToken, Int32 siteJobCount)     bei Microsoft.Office.Project.Server.Services.SiteQueue.<>c__DisplayClass2.<ExecuteJob>b__1()     bei Microsoft.Office.Project.Server.Library.SafeCallbackManager.RunCallbackAction(Action action, Func`1 safePredicate)    ... 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06* Microsoft.Office.Project.Server (0x0898) 0x2AC8 SharePoint Foundation          General                        ajcdn Monitorable ... bei Microsoft.Office.Project.Server.Services.SiteQueue.ExecuteJob(CancellationToken ct, Int32 siteJobCount)     bei Microsoft.Office.Project.Server.Services.QueueJobRunner.ExecuteSiteJob(Object data)     bei System.Threading.Tasks.Task.Execute()     bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     bei System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)     bei System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)     bei System.Threading.ThreadPoolWorkQueue.Dispatch()   9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  aaua8 Medium   PWA:https://s05/PWA, ServiceApp:Project Server-Dienstanwendung, User:PROJECTSERVER\system, PSI: Unable to determine Exchange information for user via autodiscovery.Autodiscover failled for user:372c58c4-ddcd-e211-ab95-000c296be823 with error: Eine erforderliche Kontextinformation ist gleich NULL - "context"., LogLevelManager Warning-ulsID:0x00014022 has no entities explicitly specified. 9b1e299c-a45f-f018-b62b-bd555e5ddbcc
    06/26/2013 11:07:32.06  Microsoft.Office.Project.Server (0x0898) 0x2AC8 Project Server                 Exchange Sync                  aauba Medium   PWA:https://s05/PWA, ServiceApp:Project Server-Dienstanwendung, User:PROJECTSERVER\system, PSI: Unable to determine Exchange information for user:372c58c4-ddcd-e211-ab95-000c296be823 via autodiscovery., LogLevelManager Warning-ulsID:0x00014040 has no entities explicitly specified. 9b1e299c-a45f-f018-b62b-bd555e5ddbcc

    When i do the Autodiscover Check with Outlook (strg+right click), i get the following result for Account SP_Farm (XML form):

    <?xml version="1.0" encoding="utf-8"?>
    <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
      <Response xmlns="hp://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
        <User>
          <DisplayName>SP_Farm</DisplayName>
          <LegacyDN>/o=Test/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=SP_Farm9e3</LegacyDN>
          <AutoDiscoverSMTPAddress>SP_Farm@test.de</AutoDiscoverSMTPAddress>
          <DeploymentId>6a770e50-ad22-4d0d-a0d6-3011fe719359</DeploymentId>
        </User>
        <Account>
          <AccountType>email</AccountType>
          <Action>settings</Action>
          <Protocol>
            <Type>EXCH</Type>
            <Server>s06.test.local</Server>
            <ServerDN>/o=test/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=s06</ServerDN>
            <ServerVersion>738280F7</ServerVersion>
            <MdbDN>/o=test/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=s06/cn=Microsoft Private MDB</MdbDN>
            <PublicFolderServer>s06.test.local</PublicFolderServer>
            <AD>S01.test.local</AD>
            <ASUrl>https://s06.test.local/EWS/Exchange.asmx</ASUrl>
            <EwsUrl>https://s06.test.local/EWS/Exchange.asmx</EwsUrl>
            <EcpUrl>https://s06.test.local/ecp/</EcpUrl>
            <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um>
            <EcpUrl-aggr>?p=personalsettings/EmailSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr>
            <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt>
            <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret>
            <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms>
            <OOFUrl>https://s06.test.local/EWS/Exchange.asmx</OOFUrl>
            <UMUrl>https://s06.test.local/EWS/UM2007Legacy.asmx</UMUrl>
            <OABUrl>http://s06.test.local/OAB/b050cd98-47a9-4769-90b6-78ac651a1e71/</OABUrl>
          </Protocol>
          <Protocol>
            <Type>EXPR</Type>
            <Server>owa.test.de</Server>
            <SSL>On</SSL>
            <AuthPackage>Ntlm</AuthPackage>
            <ASUrl>https://test.de/ews/exchange.asmx</ASUrl>
            <EwsUrl>https://test.de/ews/exchange.asmx</EwsUrl>
            <EcpUrl>https://test.de/ecp/</EcpUrl>
            <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um>
            <EcpUrl-aggr>?p=personalsettings/EmailSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr>
            <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt>
            <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret>
            <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms>
            <OOFUrl>https://test.de/ews/exchange.asmx</OOFUrl>
            <UMUrl>https://test.de/ews/UM2007Legacy.asmx</UMUrl>
            <OABUrl>https://test.de/OAB/b050cd98-47a9-4769-90b6-78ac651a1e71/</OABUrl>
          </Protocol>
          <Protocol>
            <Type>WEB</Type>
            <Internal>
              <OWAUrl AuthenticationMethod="Basic, Fba">https://s06.test.local/owa/</OWAUrl>
              <Protocol>
                <Type>EXCH</Type>
                <ASUrl>https://s06.test.local/EWS/Exchange.asmx</ASUrl>
              </Protocol>
            </Internal>
            <External>
              <OWAUrl AuthenticationMethod="Fba">https://test.de/owa/</OWAUrl>
              <Protocol>
                <Type>EXPR</Type>
                <ASUrl>https://test.de/ews/exchange.asmx</ASUrl>
              </Protocol>
            </External>
          </Protocol>
        </Account>
      </Response>
    </Autodiscover>

    Can anybody see an error here or give a tip?

    I have no idea anymore why the sync Fails...

    THANK YOU!

    Wednesday, June 26, 2013 1:40 PM

All replies