Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need to fetch list of users

kulshreshtha
Giga Contributor

I have synced azure ad to servicenow. Now i need to get the list of users present in servicenow. How can this be done using client script?

1 ACCEPTED SOLUTION

yes in servicenow when you create a variable there are different variable types. One is a String type which you are probably using. You can create a reference type and that should do what you are explaining above ^.



find_real_file.png



This is what it will look like on the form



find_real_file.png



if they enter a name that is not in the user table this happens...



find_real_file.png



I believe this is what you are looking for. No need to customize this


View solution in original post

16 REPLIES 16

No I havent. Do you think this will solve the problem


I would think this would be the way to setup LDAP in ServiceNow and SN makes it easy, but I have not messed with Azure AD. Try it out there should be no harm.