Active Directory Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2022 10:10 AM
Hi Experts,
We have a requirement where a Catalog Item is designed where we need to validate if a Group is present in Active Directory or not real time when a User selects a Group on the Form.
So for this we have Reference Variable created on the Catalog Form and on Change of the Value selected we need to validate if a Group is present or not.
I am aware that we can do this via Integration HUB as there are spokes available and also with Orchestration, but due to licensing issue we cannot go ahead with the above two options.
Another option we suggested was using a Custom table but even that is declined due to maintainability concerns.
Can someone help me understand what other options we have for real time check if a Group is present or not in Active Directory from a Catalog Form?
Please assist!!
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2022 02:57 AM
Are you bringing in your Groups through an LDAP integration? If so, you could create a custom true/false field (or whatever works best in your scenario) on the Group table and set it to "true" if it is a group in AD via a transform map.
If not, you could setup an integration that would not necessarily create new Groups in SN but could update them only if a match is found in AD and set that field to "false".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2022 05:04 AM
Define your ldap as a data source with a read only user and then query that data source in a script include.
Sample script:
https://community.servicenow.com/community?id=community_question&sys_id=535a4fa9db5cdbc01dcaf3231f96...