I am trying to set up an Entra ID source that will filter out accounts from a particular on premise OU. I am trying to do this using the User Filter settings in the source. I am trying to use endsWith(onPremisesDistinguishedName,‘OU=QA Test Accounts,OU=Employees,OU=All Users,DC=test,DC=domain,DC=com’)
I use the above for the source to just return users under the OU QA test Accounts. But I am getting an error everytime I run the aggregation.
I tried adding the ConsistencyLevel: eventual in the search string but it then gives me this error:
Appreciate if you can assist me on this one. Thanks!
Just need one clarification. Is your User Filters valid like this?: endsWith(onPremisesDistinguishedName,‘OU=QA Test Accounts,OU=Employees,OU=All Users,DC=test,DC=domain,DC=com’) or you have added something to it? Wanted to know what caused the invalid filter clause.
As you have already set supportsAdvancedAccountFilter to true in the source, this will automatically add the ConsistencyLevel:eventual in the header and $count=true in query params. Hope these are not explicitly mentioned in the filter that might have caused the invalid filter clause error.