10/31/2022 09:14 PM
Hi all. We are trying to apply multiple filter criteria to the ACCOUNTS_FILTER configuration on our Azure AD Connector, but can't work out the required syntax.
This statement:
startswith(extension_ourGUID#_employeeType,'Staff')&onPremisesSyncEnabled eq true
only applies the first filter (looking for startswith Staff), and doesn't filter by onPremisesSyncEnabled . I.e. we only want to import accounts that are both marked as 'Staff' and synched from on-premise.
Has anyone else managed to filter on multiple attributes in the ACCOUNTS_FILTER?
What's the syntax you used for writing those multiple filter criteria? It's not clear if it's powershell syntax or something else.
Many thanks for any help or suggestion.
Ian
Solved! Go to Solution.
10/31/2022 09:30 PM
Is it working on postman ?
11/01/2022 09:08 PM
Thanks for your attention.
It was a syntax issue we tracked down, using the MS Graph Explorer. This worked:
startswith(extension_ourGUID#_employeeType,'Staff') AND onPremisesSyncEnabled eq true