• Overview
  • Configuration

ServiceNow

Automate ServiceNow - AD sync for seamless user lifecycle management.

Identity provisioning Ticket management

Achieve ServiceNow Active Directory synchronization using ADManager Plus. This integration helps IT teams automate identity and access management tasks across your IT environment and automate user lifecycle management, streamline procedures, and manage employees efficiently. This integration simplifies the user access request process, minimizing manual work, ensuring timely resource allocation, and bolstering both compliance and security across the organization.

 

Automate user identity management

Automate user creation, modification and deletion across AD, Exchange, M365 from the ServiceNow console.

 

Simplified password management

Enable help desk technicians to have the capability to reset the passwords of end users, giving them greater control and flexibility in managing user accounts.

 

User account control

Enable, disable, or unlock locked out user accounts whenever necessary.

 

How to configure the ServiceNow integration in ADManager Plus

ADManager plus offers two ways to integrate with ServiceNow:

  • Widget: Execute Active Directory (AD) actions directly from the ServiceNow console. Click here to learn more about integrating ADManager Plus with ServiceNow.
  • API-based application integration: Streamline ticket management in ServiceNow by periodically importing relevant tickets and performing the necessary AD actions in ADManager Plus. The following guide provides step-by-step instructions for configuring API-based application integration with ServiceNow.

Prerequisites

Please ensure you have your ServiceNow username and password. These details can be obtained directly from your ServiceNow console and are necessary to authenticate the integration process.

Privileges

To import users (inbound action): Ensure the account used for authorization has permission to read all user accounts.

To perform any action or query in ServiceNow (outbound action): Ensure the account used for authorization has permission to perform the desired action.

Note: ADManager Plus comes with a preconfigured set of APIs that helps perform basic actions with the integration. If the action you require is not available, please gather the necessary API details from the ServiceNow API documentation to configure under inbound or outbound webhooks to perform the required actions.

Authorization configuration

  • Log in to ADManager Plus and navigate to Directory/Application Settings.
  • Go to Application Integrations, then search and select ServiceNow.
  • Toggle the Enable ServiceNow Integration button on.
  • In the ServiceNow Configuration page, click Authorization.
  • Enter the ServiceNow username and password.
  • Click Configure.

Inbound webhook configuration

An inbound webhook enables you to fetch user data from ServiceNow to ADManager Plus. The attribute mapping configured in this section can be selected as the data source during automation configuration to perform the desired action on the list of users received from the API response. To configure an inbound webhook for ServiceNow:

  • Under Inbound Webhook, click ServiceNow Endpoint Configuration.
  • In the Endpoint Configuration tab, an endpoint named ServiceNow USERS ENDPOINT comes preconfigured with an Endpoint URL, API Method, Headers, and Parameters fields to fetch user accounts from ServiceNow.
  • To use this preconfigured endpoint, {SERVICENOW-INSTANCE} should be replaced with the instance name of your ServiceNow instance and {TABLE_NAME} should be replaced with the respective table name from which users will be fetched (e.g., sys_user). If you would like to use a new endpoint to import users, you can configure one using the + Add API endpoint button and filling in the required fields as per ServiceNow's API references. Click here to learn how.
  • Note:

    • The API key value pair is preconfigured as a header for authenticating API requests as configured during the Authorization Configuration.
    • You can add macros to your endpoint configuration to dynamically change it as per your requirement using the macro chooser component.
    • Refer to ServiceNow's API references and configure additional headers and parameters if required.
  • Once done, click Test & Save. A response window will display all the requested parameters that can be fetched using the API call. Click Proceed.
  • Note:

    • Refer to ServiceNow's API references to know the Parameters that must be configured to fetch only specific parameters.
    • You can configure multiple endpoints for ServiceNow using the + Add API endpoint button. Click here to learn how.
  • Click Data Source - LDAP Attribute Mapping to match endpoints and to map AD LDAP attributes with the respective attributes in ServiceNow.
  • (ADManager Plus also lets you customize the attribute format from ServiceNow.)

  • Click + Add New Configuration and perform the following:
    • Enter the Configuration Name and Description and select the Automation Category from the drop-down menu.
    • In the Select Endpoint field, select the desired endpoint and a Primary Key that is unique to a user (e.g., employeeIdentifier).
  • Configure an automation with the required action, repeat frequency, and the above configured attribute mapping configuration.

Outbound webhook configuration

Outbound webhook enables you to update the changes made in AD using ADManager Plus to ServiceNow or fetch or forward required details from ServiceNow and synchronize them with AD.

To configure an outbound webhook for ServiceNow:

  • Under Outbound Webhook, click ServiceNow Webhook Configuration.
  • Click + Add Webhook.
  • Enter a name and description for this webhook.
  • Decide on the action that has to be performed and refer to ServiceNow's API references for the API details, such as the URL, headers, parameters, and other requirements that will be needed.
  • Select the HTTP method that will enable you to perform the desired action on the endpoint from the drop-down menu.
  • Enter the endpoint URL.
  • Configure the Headers, Parameters, and Message Type in the appropriate format based on the API call that you would like to perform.
  • Click Test and Save.
  • A pop-up window will then display a list of AD users and groups to test the configured API call. Select the desired user or group over which this API request has to be tested and click OK. This will make a real-time call to the endpoint URL, and the selected objects will be modified as per the configuration.
  • The webhook response and request details will then be displayed. Verify them for the expected API behavior and click Save.
  • The configured webhooks can be integrated into Orchestration Templates—enabling scheduled or event-driven automation—to consecutively perform the action configured in the outbound webhook among of actions on a group of users or on individual users.
  • Note: Use macros to send the data of the object on which the webhook is executed.

Actions supported

  • Provision users
  • Reset passwords
  • Enable or disable AD user accounts
  • Unlock AD user accounts
  • Add or remove users from groups
  • Set or revoke folder permissions
  • Delete AD user accounts