How to get the details of users present in specific OU

Sravani36
Tera Expert

Hi is there a way we can get the count of the users in the specific OU in AD. can we get that data to servicenow by using flow and powershell script or ldap?

 

Thanks

2 REPLIES 2

adilrathore
ServiceNow Employee
ServiceNow Employee

You can use LDAP integration to pull up data from your AD into servicenow and then query the users as per the Source which will contain the OU information to know how many users exist in a particular OU:

https://docs.servicenow.com/bundle/tokyo-platform-security/page/integrate/ldap/concept/c_LDAPIntegra...