Integration Tasks
Introduction
The following tasks are covered in this section:
A. Install Integration
The integration described in this document is made possible through a connection between ServiceNow and Admin By Request via a custom-built ServiceNow application. The first task involves installing the app in ServiceNow.
-
Go to the ServiceNow Store and use the search box to search for Admin By Request:
-
Follow the instructions on screen to install the app in your ServiceNow instance.
B. Authorize Connection
Data sharing from the Admin By Request portal to ServiceNow requires a connection between the ServiceNow application and the Admin By Request public API. Task B of the integration process involves authorizing this connection.
-
Click Save.
Prerequisites
In order to connect the Admin By Request app in ServiceNow, your account must have the following roles:
-
admin
-
oauth_admin
-
x_abras_abr.admin
Also, make sure that the OAuth 2 settings are correct:
-
In the ServiceNow navigation filter, enter sys_properties.list and press Enter.
-
On the System Properties page, search for the glide.oauth.inbound.client.credential.grant_type.enabled property and make sure it is set to true.
-
If the property does not exist, create it and set it to true.
Connecting the App
-
In your ServiceNow instance, using the Filter Navigator search box, locate the Admin By Request app:
-
Select Configure Integration from the sub-menu:
The Connection Status page opens:
-
In the ABR API Key field, paste your Admin By Request API key.
-
Click Connect.
-
Wait for the system to finish connecting. Once the connection is established, your tenant data will automatically be displayed on the page.
C. Configure Flow
This section is only relevant for the Zurich release of ServiceNow. Starting with Australia, the mechanism for getting Admin By Request data into ServiceNow has been changed and no longer relies on flows.
The Admin By Request / ServiceNow integration incorporates a pre-built Flow designed to automatically get Admin By Request data into your ServiceNow instance.
For information on how to activate and configure flows, refer to the ServiceNow documentation.
D. Assign User Access
Once the application is successfully updating data, access needs to be granted to the appropriate users within the ServiceNow instance, so that they can interact with Admin By Request features.
The integration provides two pre-configured user roles:
| Role | Permissions |
|---|---|
| x_syaps_abr.abr_admin | Administrative access within the application. This includes the ability to access all application features (Requests, Auditlog) and the Properties page |
| x_syaps_abr.abr_user | Ability to access and interact with the Admin By Request Auditlog and Requests features (i.e., view / manage Auditlog data and Approve or Deny Requests) |
Assign the desired roles to your users in their user record.
The integration provides the following pre-configured user roles:
| Role | Permissions |
|---|---|
| x_abras_abr.admin |
See Configure Integration, all request modules, and Contact Support. Connect or repair the app. View request details and approve or deny eligible requests. This role automatically includes x_abras_abr.approver. To connect and repair, ServiceNow admin and oauth_admin are needed in addition to this role. |
| x_abras_abr.approver |
See all request modules and Contact Support. View request details and approve or deny eligible requests. The user's ServiceNow record needs an e-mail address to submit decisions. This role does not see Configure Integration. |
| x_abras_abr.viewer |
See all request modules and Contact Support. View request details. This role cannot approve or deny any requests, and does not see Configure Integration. |
Assign the desired roles to your users in their user record.
E. Use Features
Once the correct roles are assigned, users are able to access Admin By Request data through the integrated features.. Task E covers how to use these features within the ServiceNow application.
This task is demonstrated from the viewpoint of a regular user in the ServiceNow instance (i.e., a member of the Example Approvers group assigned the role of User in Task D) as opposed to an Administrator (the role required for completing tasks A through D).
Auditlog
-
Using the Filter Navigator search box, locate the Admin By Request app and select Auditlogs from the sub-menu:
-
The Auditlog page displays all of the recent Auditlog data from Run As Admin and Admin Session requests. Information includes:
-
State: This could be ‘Pending Approval’, ‘Denied’, ‘Open’, or ‘Finished’.
-
Type: Either ‘Run As Admin’ or ‘Admin Session’.
-
Application: The application that the user requested to Run As Admin.
You can add more information via Configure list layout (if you are system admin) or Update personalized list (for anyone with access to the Auditlog):
There are no applications listed in this column for Admin Sessions because multiple applications may have been accessed during the time the Admin Session was active.
-
Scan Result: This column displays ‘Clean’ unless the VirusTotal scan has flagged malware.
-
-
Select an item in the list using the State column to view the available data for that Auditlog entry. Available data may include some or all of the following:
IMPORTANT-
The value in the Settings Name field (Global in this example) represents the Admin By Request portal setting or sub-setting used for the request. Settings Name is available in both Requests and Auditlog data and can be used in internal workflows.
-
If logged in to your instance as a ServiceNow administrator (not just an application admin), Auditlog data can be edited and updated manually by making the desired changes to an Auditlog entry and clicking the Update button. However, editing Auditlog data is NOT RECOMMENDED.
-
-
Selecting an item in the Activity column (from the Audit Log Activities section, bottom of page) displays further information, such as the file path.
Requests
-
Click the desired request to open it.
-
The user who made the request will receive an email from Admin By Request that their request has been approved. When the request is complete, the details will be available in the Auditlog in ServiceNow.
-
To deny a request, click into the Request and select the Deny button.
-
A confirmation window appears following this action. Click Yes to deny the request, with the option of stating a reason for denial:
The user who made the request will receive an email that their request has been denied, with the reason included (if a reason was given).
-
Using the Filter Navigator search box, locate the Admin By Request app and select Requests from the sub-menu.
-
Click the Approve button to approve the request, or click the Deny button to deny the request.
The user who made the request will receive an email from Admin By Request that their request has been approved or denied, respectively. When the request is complete, the details will be available on the All Requests page.
Admin Sessions
-
Using the Filter Navigator search box, locate the Admin By Request app and select Admin Sessions from the sub-menu.
-
By default, the Admin Sessions page is filtered and only shows pending requests:
To remove the status filter and see all admin sessions, click the Request Type Code filter. This will remove the subsequent filter and display requests with any status code.
-
To view the details of a request, click the corresponding request ID.
Run As Requests
-
Using the Filter Navigator search box, locate the Admin By Request app and select Run As Requests from the sub-menu.
-
By default, the Run As Requests page is filtered and only shows pending requests:
To remove the status filter and see all Run As requests, click the Request Type Code filter. This will remove the subsequent filter and display requests with any status code.
-
To view the details of a request, click the corresponding request ID.






















