and more in a single search tool across platforms. Read the announcement here. |
04/17/2023 04:20 AM
Hi Team
We have a requirement in ADSI, where we only need to import one group from AD.
How to put filter and import only one group(i.e Domain Users) in ADSI connection.
Regards
Sangita Ladi
Solved! Go to Solution.
04/17/2023 08:41 PM
@sangitaladi in the group import JSON, try to update groupObjectClass field as below
"groupObjectClass": "(&(objectclass=group)(cn=DomainUserGroupCN))",
replace DomainUserGroupCN with the group CN you want to import.
Check if this works.
04/18/2023 11:40 PM
HI Rishi
Thank you for the info. i already tried this but it did not work. It gives some kind of SQL Exception error.
Regards
Sangita Ladi
04/19/2023 10:24 AM
What is the error?
Thanks
04/19/2023 01:31 PM
Hi Devang
I had a typo in the mapping , hence it was showing SQL exception while retrieving the response from AD. I fixed it and it worked.
I used below logic:
"groupObjectClass": "(& (objectClass=group) (sAMAccountName=*******))",
04/18/2023 03:43 PM
Hi @sangitaladi
Below works in our case
Thanks
04/18/2023 07:44 PM
{
"entitlementTypeName": "",
"importGroupHierarchy": "true",
"performGroupAccountLinking": "true",
"incrementalTimeField": "whenChanged",
"groupObjectClass": "(& (objectClass=group) (distinguishedName=CN=Group1,OU=GROUPS,DC=SAVIYNT,DC=US))",
"mapping": "memberHash:member_char, customPropertyl: SAMAccountType_char, customProperty16: member of_char, customProp erty2: instanceType_char, customProperty3:uSNCreated_char, customProperty4: groupType_char, customProperty 5:dSCorePropagationData_char, customProperty12: dn_char, customProperty13: cn_char, lastscandate:whenCreat ed_date, customProperty15:managedBy_char, entitlement_glossary: description_char, customProperty9:name_ch ar, customProperty10: objectCategory_char, customProperty11: SAMAccountName_char, entitlement_value:distin guishedName_char, customProperty14: objectClass_char"
}
04/19/2023 10:01 AM
@sangitaladi most probably the sql error must be for some other issue. Can you post the error (after masking any sensitive information like domain name, etc.)
04/19/2023 01:32 PM
Thank you both.