We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

advanced filter exclude sub OUs in Active Directory

sandeepverma
Regular Contributor
Regular Contributor
Hi Team,
 
We have one query regarding the advanced filter in Active Directory.

eg.  Suppose we have mentioned below OU under Advanced Filter and it will bring all sub-OUs data as well.
"OU=******,OU=******,DC=******=com": [
      "(&(objectCategory=person)(objectClass=user))"
    ],
 
So, can we exclude sub-OUs data if "(&(objectCategory=person)(objectClass=user))" are same? 
 
Please assist.
 
 

Thanks & Regards,

Sandeep Verma

2 REPLIES 2

vikasjv
Saviynt Employee
Saviynt Employee

Hi @sandeepverma ,

Thanks for reaching out.
Can you please provide a screenshot of the OU for further investigation?

Thanks in advance.
Regards, 
Vikas J V

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @sandeepverma,

Specify the value of the Advance_Filter_JSON parameter to consider this search criteria and ignore the values specified in the SEARCHFILTER and the OBJECTFILTER connection parameters.

You can selectively import users or accounts from a defined container instead of importing from all containers in the OU.

Example: In the following example, you import users belonging to PM department from Employee and Vendors organization units only.

For Ref:- 
{
"AdvanceFilter": {
"OU=Employees,dc=<specify domain controller name>labs,dc=org":
["(&(objectCategory=person)(objectClass=user)(department=PM))",
"(&(objectCategory=person)(objectClass=posixAccount))"],
"OU=Vendors,dc=<specify domain controller name>labs,dc=org":
["(&(objectCategory=person)(objectClass=user)(department=PM))",
"(&(objectCategory=person)(objectClass=posixAccount))"]
}



For Ref:- https://docs.saviyntcloud.com/bundle/AD-v23x/page/Content/Configuring-the-Integration-for-Importing-... 

Thanks,