none
Syncing multiple user's tasks from Project Server 2010 to Exchange 2010 RRS feed

  • Question

  • Hi,

    I have just set up a new Project Server 2010 with SharePoint Server 2010 on Windows Server 2008 R2.

    I have been reading Configure Project Server 2010 to work with Exchange Server 2010 [http://technet.microsoft.com/en-us/library/ff468700.aspx]

    and am concerned about the section titled:
    Perform the following procedure for each Project Server user for whom you want to synchronize tasks with Exchange.

    Do I really have to go through and run this command for EVERY SINGLE USER I want to have their tasks synced??

    Thursday, July 12, 2012 10:46 AM

Answers

  • Hi C.J--

    Sorry about that. Yes, You will need to run the AdPermission for each project server or will need to write a code to automate it.
    May be someone else has better idea to deal with it.

    Thanks,


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Friday, July 13, 2012 10:02 AM
  • Hi C.J. not sure why you unmarked Amit's answer - might not be what you wanted to hear - but it is the right answer to your question.  Do you have to run it for every user?  Yes you do.  Obviously this is PowerShell so lends itself to be automated - or you could quickly generate a long script incorprating a list of users.  I must admit my lazy man's way of doing this is usually in Excel with some string contatonation then copy it out to the PowerShell window...

    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 C.J.Murray Monday, July 16, 2012 9:03 AM
    Friday, July 13, 2012 10:31 PM
    Owner

All replies

  • Hi C.K.Murray--

    I am not sure if there is a way to do it other than editing each resource from PWA & update the checkbox. Atleast, I haven't seen any other option.

    I believe (Didn't try yet) that resource level propery - a flag "RES_EXCHANGE_SYNC"  can be used programatically to update the Resource dataset. Doesn't seem to be a Read only property: RES_EXCHANGE_SYNC Specifies whether to synchronize resource information with Microsoft Exchange.
    http://msdn.microsoft.com/en-us/library/websvcworkflow.resourcedataset.resourcesrow.res_exchange_sync_di_pj14mref.aspx

    Hope that helps.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Thursday, July 12, 2012 12:04 PM
  • Ok, Worked on a quick sample & was able to update "RES_EXCHANGE_SYNC" property & It worked for me.

    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Thursday, July 12, 2012 12:37 PM
  • Hi Amit and thanks for the reply!

    I think were talking about different things, I'm happy to go through all the users on the Project Server and update each of their tick boxs saying

    Exchange Server Details

    Synchronize Project Tasks with the Resource's tasks in Exchange Server Mailbox.
    [ ] Synchronize Tasks

    BUT what I mean is do I have to log onto the Exchange Server and run
    "Add-ADPermission -Identity "<ProjUser>" -User <FarmAdministrator> -extendedRights ms-Exch-EPI-May-Impersonate"
    for every user that i have ticked the Synchronize Tasks check box for??

    Friday, July 13, 2012 8:16 AM
  • Hi C.J--

    Sorry about that. Yes, You will need to run the AdPermission for each project server or will need to write a code to automate it.
    May be someone else has better idea to deal with it.

    Thanks,


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Friday, July 13, 2012 10:02 AM
  • Hi C.J. not sure why you unmarked Amit's answer - might not be what you wanted to hear - but it is the right answer to your question.  Do you have to run it for every user?  Yes you do.  Obviously this is PowerShell so lends itself to be automated - or you could quickly generate a long script incorprating a list of users.  I must admit my lazy man's way of doing this is usually in Excel with some string contatonation then copy it out to the PowerShell window...

    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 C.J.Murray Monday, July 16, 2012 9:03 AM
    Friday, July 13, 2012 10:31 PM
    Owner
  • Thanks,

    this seems like a big oversight...a big feature of MS Project is for managing my workers, and that's only becomes a struggle when i have a lot of them....so i'm always going to want to do add all my users for outlook task sync....poor Microsoft, poor.

    Tuesday, July 24, 2012 9:56 AM
  • Hi C.J.Murray--

    I really understand that it's cumbersome to run the command for each user one by one but here is a good opportunity for Developers/ Partners to learn new stuff & automate the process.

    If we get everything, out of box, the learning curve for the people like me will not grow :).

    Now We have powershell to automate these kind of tasks & based on your response, I thought to help you in writing a basic code which automates the synchronize tasks with Exchange for all active users. I have provided all details in article & sample code. You can test it via exceuting the powershell with all or active users based on the FilterType enum (0, 1 etc) on Dev/Test server.
    http://gallery.technet.microsoft.com/Server-2010-Powershell-2b94ade4

    Hope that helps & grows the Faith in Microsoft :)

    Thanks,


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82


    Wednesday, July 25, 2012 11:14 AM