Syntax help with MS AD spoke action, please

gjz
Mega Sage

I'm converting our Orchestration Onboard workflow to a flow, but I'm stuck on a syntax issue - at least I think that's the problem.

 

I'm using the Microsoft Active Directory v2 Spoke "Look up Objects by Filter", but I can't get the Search filter correct.  I've looked at the SN documentation, Microsoft documentation, copied the same search filter from the workflow orchestration activity "Query AD" (which does work in the workflow) and done a search on the internet - but I still get the same error no matter how I change the syntax.  Does anyone know what the action expects for syntax in the Search Filter fields?

 

The goal is to search active directory for any user with the same userid or email to check for duplicate accounts.

 

gjz_0-1727969255485.png

 

gjz_0-1727970108994.png

 

 

1 ACCEPTED SOLUTION

gjz
Mega Sage

For anyone who is looking for an answer, I found it.  This is the correct syntax:

(|(sAMAccountname=PreXanaduT)(mail=PreXanadu_TestPerson@example.com))

View solution in original post

1 REPLY 1

gjz
Mega Sage

For anyone who is looking for an answer, I found it.  This is the correct syntax:

(|(sAMAccountname=PreXanaduT)(mail=PreXanadu_TestPerson@example.com))