We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Unable to get result using QueryAD in FlowDesigner

snowflake11
Tera Contributor

Hi there,

 

I am using QueryAD in Flow Designer. The requirement is to use username and find if accounts exist in AD. I want to return Name, First Name, Last Name in Properties. 

I set the searchfilter as (samaccountname={username}), properties as Name for testing.

 

After running a test, status showed Success, there is no error message but recordfound? showed false in the log. Do you know what I did wrong? I am testing my own account so definitely account is there, recordfound should show Yes and properties should return. 

 

Does any one has searchquery example?

Thanks in advance. 

 

0 REPLIES 0