Resource Group Can from Edited by Checked-Out Resource Pool but not PWA, PSI or CSOM (2019)

%3CLINGO-SUB%20id%3D%22lingo-sub-2051698%22%20slang%3D%22en-US%22%3EResource%20Group%20Can%20from%20Edited%20by%20Checked-Out%20Resource%20Pool%20but%20not%20PWA%2C%20PSI%20or%20CSOM%20(2019)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2051698%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20upgraded%20from%20Sever%202010%20to%20Server%202019.%3C%2FP%3E%3CP%3EWe%20had%20a%20development%20on%202010%20that%20replaces%20the%20Group%20coming%20from%20AD%20Sync%20with%20a%20mapped%20value%20that%20we%20managed.%3C%2FP%3E%3CP%3EIn%202019%20this%20development%20doesn't%20work.%20We%20checked%20out%20and%20found%3A%3C%2FP%3E%3COL%3E%3CLI%3ETrying%20to%20change%20Group%20to%20an%20enterprise%20resource%20with%20CSOM%20did%20nothing%20for%20an%20enterprise%20that%20is%20synched%20with%20AD%3C%2FLI%3E%3CLI%3ESame%20with%20PSI%3C%2FLI%3E%3CLI%3EWhen%20selecting%20this%20resource%20in%20PWA%20and%20clicking%20Edit%20Resource%20-%20the%20Group%20field%20is%20grayed%20out%3C%2FLI%3E%3CLI%3EHowever%2C%20when%20clicking%20Open%20(to%20open%20in%20Checked-Out%20Enterprise%20Resources)%2C%20I%20can%20edit%20the%20Group%20field%20to%20the%20resource%20and%20save%20it%20again%3C%2FLI%3E%3C%2FOL%3E%3CP%3EIs%20there%20a%20way%20to%20enable%20editing%20the%20Group%20field%20programmatically%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EBarak%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2051698%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EProject%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2079767%22%20slang%3D%22en-US%22%3ERe%3A%20Resource%20Group%20Can%20from%20Edited%20by%20Checked-Out%20Resource%20Pool%20but%20not%20PWA%2C%20PSI%20or%20CSOM%20(2019)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079767%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F925748%22%20target%3D%22_blank%22%3E%40Barakb321%3C%2FA%3E%26nbsp%3B-%20Since%20no%20one%20replied%20to%20your%20question%2C%20I%20decided%20to%20take%20a%20stab%20at%20it.%26nbsp%3B%20I%20did%20some%20research%20on%20the%20subject%2C%20and%20I%20conferred%20with%20our%20consultants%20who%20are%20very%20skilled%20with%20the%20AD%20sync%20process.%26nbsp%3B%20Here%20is%20what%20I%20learned%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3EWhen%20the%20resource%20is%20created%20manually%20by%20entering%20a%20name%20or%20e-mail%20address%20in%20the%20User%20Logon%20Account%20field%2C%20the%20Display%20Name%20field%20is%20filled%20in%20automatically%2C%20the%20Email%20Address%20field%20is%20filled%20in%20automatically%2C%20and%20the%20Group%20field%20is%20LOCKED.%26nbsp%3B%20Since%20you%20are%20using%20your%20own%20home%20brewed%20version%20of%20AD%20sync%2C%20I%20would%20assume%20this%20describes%20what%20you%20are%20seeing%2C%20and%20why.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20the%20resource%20is%20entered%20manually%20by%20entering%20a%20name%20in%20the%20Display%20Name%20field%2C%20but%20NOT%20entering%20a%20value%20in%20the%20User%20Logon%20Account%20field%20(to%20create%20a%20pure%20resource%20that%20does%20not%20use%20Project%20Web%20App%20at%20all)%2C%20the%20Group%20field%20is%20UNLOCKED%20for%20editing.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EWhen%20you%20use%20the%20default%20AD%20sync%20system%2C%20these%20are%20the%20values%20that%20come%20from%20AD%2FAzure%20attributes%20for%20each%20user%20record%3A%3C%2FP%3E%0A%3CP%3EName%20-%26gt%3B%20DisplayName%3CBR%20%2F%3EMail%20-%26gt%3B%20Email%3CBR%20%2F%3EDepartment%20-%26gt%3B%20Group%3CBR%20%2F%3EUserPrincipalName%20-%26gt%3B%20Account%3CBR%20%2F%3EAccountEnabled%20-%26gt%3B%20Account%20Status%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EDepartment%20is%20where%20the%20Group%20info%20comes%20from%20during%20AD%20sync.%26nbsp%3B%20Does%20that%20help%3F%26nbsp%3B%20Let%20us%20know.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

We upgraded from Sever 2010 to Server 2019.

We had a development on 2010 that replaces the Group coming from AD Sync with a mapped value that we managed.

In 2019 this development doesn't work. We checked out and found:

  1. Trying to change Group to an enterprise resource with CSOM did nothing for an enterprise that is synched with AD
  2. Same with PSI
  3. When selecting this resource in PWA and clicking Edit Resource - the Group field is grayed out
  4. However, when clicking Open (to open in Checked-Out Enterprise Resources), I can edit the Group field to the resource and save it again

Is there a way to enable editing the Group field programmatically?

 

Thanks,

Barak

1 Reply

@Barakb321 - Since no one replied to your question, I decided to take a stab at it.  I did some research on the subject, and I conferred with our consultants who are very skilled with the AD sync process.  Here is what I learned:

 

  • When the resource is created manually by entering a name or e-mail address in the User Logon Account field, the Display Name field is filled in automatically, the Email Address field is filled in automatically, and the Group field is LOCKED.  Since you are using your own home brewed version of AD sync, I would assume this describes what you are seeing, and why.

  •  

    When the resource is entered manually by entering a name in the Display Name field, but NOT entering a value in the User Logon Account field (to create a pure resource that does not use Project Web App at all), the Group field is UNLOCKED for editing.

  • When you use the default AD sync system, these are the values that come from AD/Azure attributes for each user record:

    Name -> DisplayName
    Mail -> Email
    Department -> Group
    UserPrincipalName -> Account
    AccountEnabled -> Account Status

     

Department is where the Group info comes from during AD sync.  Does that help?  Let us know.