none
Project Server 2010 - Exchange Sync Problem RRS feed

  • Question

  • Hello!

    I am trying to get PS2010 to send notifications (and, hopefully tasks etc.) to Exchange server. Currently, I am not receiving anything, not even the "Project has been updated" type notifications, which I think should work, regardless of Exchange. Sync.

    I have followed http://technet.microsoft.com/en-us/library/ff468700.aspx to set the sync up. I also did everything http://technet.microsoft.com/en-us/library/ff793352.aspx said was necessary. Sharepoint and PS2010 were installed using three dedicated accounts, and I've given all of them impersonation permission to pwa2010 user which has an exchange mailbox. I currently need to get things going, and worry about security later.

    Exchange sync fails as a job, and is shown in the queue as follows:

    General
    ExchangeSync() failed to retrieve specified user_s (6fba36fb-56d1-4174-b180-f595b6e9c245) Exchange Server url. No exception was thrown, but EWS url came back empty.:
    ExchangeSyncEWSUrlFailed (40509). Details: id='40509' name='ExchangeSyncEWSUrlFailed' uid='c6a9fdcc-47b4-4d99-a2d3-36b7b90b8c45' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245'.
    ExchangeSyncEWSUrlFailed (40509). Details: id='40509' name='ExchangeSyncEWSUrlFailed' uid='853a2c3b-565c-4f0c-8d90-eb70513f3818' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245'.
    ExchangeSyncEWSUrlFailed (40509). Details: id='40509' name='ExchangeSyncEWSUrlFailed' uid='4a05e33a-76c0-4c02-97f6-3a9fcc88cc4e' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245'.
    ExchangeSyncEWSUrlFailed (40509). Details: id='40509' name='ExchangeSyncEWSUrlFailed' uid='dab775a5-2b7c-4c7d-9e9b-ed68e3639baa' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245'.
    ExchangeSyncEWSUrlFailed (40509). Details: id='40509' name='ExchangeSyncEWSUrlFailed' uid='2bceb92b-4f88-4c5b-8660-453e1681df45' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245'.
    ExchangeSyncEWSUrlFailed (40509). Details: id='40509' name='ExchangeSyncEWSUrlFailed' uid='ce66cfc9-a81b-4266-ae12-c9d662cb1229' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245'.
    ExchangeSync() handle ExchangeSyncStatusingMessage for user 6fba36fb-56d1-4174-b180-f595b6e9c245 queue message caused an exception.:
    ExchangeSyncGeneralProcessingFailure (40512). Details: id='40512' name='ExchangeSyncGeneralProcessingFailure' uid='66bf26ca-e132-437a-803e-a71f8d5c6e41' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245' exception='Microsoft.Office.Project.Server.BusinessLayer.Queue.ExchangeSyncEmailAddressInvalidException: Could not find Exchange server for resource 6fba36fb-56d1-4174-b180-f595b6e9c245 at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.ExecuteSync(ExchangeSyncTasks exchangeSyncTasks) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)'.
    ExchangeSyncGeneralProcessingFailure (40512). Details: id='40512' name='ExchangeSyncGeneralProcessingFailure' uid='974c93e4-aa84-4afd-95cd-236b0d2d4444' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245' exception='Microsoft.Office.Project.Server.BusinessLayer.Queue.ExchangeSyncEmailAddressInvalidException: Could not find Exchange server for resource 6fba36fb-56d1-4174-b180-f595b6e9c245 at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.ExecuteSync(ExchangeSyncTasks exchangeSyncTasks) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)'.
    ExchangeSyncGeneralProcessingFailure (40512). Details: id='40512' name='ExchangeSyncGeneralProcessingFailure' uid='0eaf6af6-3033-4b37-b812-1b6350117b4d' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245' exception='Microsoft.Office.Project.Server.BusinessLayer.Queue.ExchangeSyncEmailAddressInvalidException: Could not find Exchange server for resource 6fba36fb-56d1-4174-b180-f595b6e9c245 at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.ExecuteSync(ExchangeSyncTasks exchangeSyncTasks) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)'.
    ExchangeSyncGeneralProcessingFailure (40512). Details: id='40512' name='ExchangeSyncGeneralProcessingFailure' uid='595cfb56-ff41-47e4-bde8-92c5dbb1b2d7' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245' exception='Microsoft.Office.Project.Server.BusinessLayer.Queue.ExchangeSyncEmailAddressInvalidException: Could not find Exchange server for resource 6fba36fb-56d1-4174-b180-f595b6e9c245 at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.ExecuteSync(ExchangeSyncTasks exchangeSyncTasks) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)'.
    ExchangeSyncGeneralProcessingFailure (40512). Details: id='40512' name='ExchangeSyncGeneralProcessingFailure' uid='beced48e-6041-4067-b656-66b5d74e80c7' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245' exception='Microsoft.Office.Project.Server.BusinessLayer.Queue.ExchangeSyncEmailAddressInvalidException: Could not find Exchange server for resource 6fba36fb-56d1-4174-b180-f595b6e9c245 at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.ExecuteSync(ExchangeSyncTasks exchangeSyncTasks) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)'.
    ExchangeSyncGeneralProcessingFailure (40512). Details: id='40512' name='ExchangeSyncGeneralProcessingFailure' uid='d684a60e-a6a5-420e-8d9b-b4dac214c896' teamMemberUid='6fba36fb-56d1-4174-b180-f595b6e9c245' exception='Microsoft.Office.Project.Server.BusinessLayer.Queue.ExchangeSyncEmailAddressInvalidException: Could not find Exchange server for resource 6fba36fb-56d1-4174-b180-f595b6e9c245 at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.ExecuteSync(ExchangeSyncTasks exchangeSyncTasks) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessExchangeSyncMessage.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext)'.
    Queue:
    GeneralQueueJobFailed (26000) - ExchangeSyncTasks.ExchangeSyncTasks. Details: id='26000' name='GeneralQueueJobFailed' uid='df740632-eebc-4538-9922-9de3a98bf5fa' JobUID='18e5fe9c-12f1-46e4-a324-198023a9dd17' ComputerName='VM-MACH2' GroupType='ExchangeSyncTasks' MessageType='ExchangeSyncTasks' MessageId='1' Stage=''. For more details, check the ULS logs on machine VM-MACH2 for entries with JobUID 18e5fe9c-12f1-46e4-a324-198023a9dd17.

    vm-mach2 is the sharepoint/ps2010 machine.

    I've looked up the ExchangeEWSUrlFailed error, but wasn't able to find anything to help me :(

    The only error Exchange itself presents in the Event Viewer is

    "The account DOMAIN/Administrator provided valid credentials, but is not authorized to use the server; failing authentication"

    Needless to say, that is the account I use to mess things up, and shouldn't have anything to do with the sync itself.

    Event viewer for the sharepoint/PS2010 machine says nothing.

    I'd very much appreciate any help. If there is any more information needed, I will be more than glad to follow instructions to provide them :)

     

    Tuesday, August 31, 2010 9:47 AM

Answers

All replies

  • Hello Raptus,

    The problem is in the Exchange server.

    Even though the only error message is "The account DOMAIN/Administrator provided valid credentials, but is not authorized to use the server; failing authentication", that's a pretty big one.

    Exchange wants to be sure you are not spam. 

    Cheers!

    Michael Wharton, MBA, PMP, MCT, MCSD, MCSE+I, MCDBA


    Sincerely, Michael Wharton, MBA, PMP, MCT, MCSD, MCSE+I, MCDBA www.WhartonComputer.com
    Tuesday, August 31, 2010 2:24 PM
    Moderator
  • Is this Exchange 2010 Raptus?  If so then check the article http://technet.microsoft.com/en-us/library/ff793352.aspx as it contain information in addition to the http://technet.microsoft.com/en-us/library/ff468700.aspx article we originally published.  As Michael points out - it looks like Exchange isn't happy with the account that is trying to sync.

    Best regards,

    Brian.

     


    Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
    • Marked as answer by Raptus Tuesday, August 31, 2010 8:51 PM
    Tuesday, August 31, 2010 6:42 PM
    Owner
  • I accidentally deleted the whole text I typed as a response, so I will make it short.

    Thank you very much to both of you for your time.

    I miserably failed to follow perfectly good instructions. Brian, I've seen, of course, the second link (it is Exch.2010), and, Michael, you were right, the impersonation was one of the problems. While I am at it, the originally published article I think could use a bit of an update, for example, there is Exchange 2007 mentioned in the text, there is no windows authentication option, or UPN text field in the add/edit user page.. Merely a suggestion :)

    Well, to get things working, I had to reinstall the certificate for Exchange server properly, enable alerts in PWA (to make them work.. who would've thought), add $ to follow the name of the exchange server computer account in PWA etc etc..

    It was interesting for me that all users failed to log on when I changed their account logins from the DOMAIN\user format to user@DOMAIN. Why is that? Shouldn't both of them be valid?

    So, thanks again for your kind help. Until next time :)

    Best regards,

    me :)

    Tuesday, August 31, 2010 9:08 PM