Troubleshooting
Logs display
To display detailed logs for errors that may occur when providing access to Commands and Roles:
Verify the webhook creation. For more information, see Verifying the Webhook Creation.
If the webhook is created:
-
Check the Configuration file created in ServiceNow (Delinea Privilege Manager > Integration Configuration).
-
Share a screenshot of that.
If the webhook is not created:
-
Re-verify the API and SNOW user credentials in PrivMan.
-
Share the screenshots of the created users (Admin > Configuration > Credentials)
Approval Decisions from ServiceNow Do Not Reach Privilege Manager
Symptom: Approval requests appear in the Delinea Privilege Manager app in ServiceNow (scope x_thyti_thycotic_p). Decisions that you make in ServiceNow do not reach Privilege Manager.
How the decision gets to Privilege Manager: When an approver acts on a request, the Post_Endpoint script include makes two calls:
- It requests a token from
/Tms/services/api/logon/token. - It posts the decision to
/Tms/services/api/v1/approval/approve.
Both calls must return 200. The values for these calls come from the app's Integration Configuration record.
To check the configuration:
- In ServiceNow, go to All > Delinea Privilege Manager > Integration Configuration.
- Open the record for your Privilege Manager instance.
- Compare the fields to the table below.
| Field | Correct value | Wrong value and result |
|---|---|---|
| Token Url | Your Privilege Manager host. Cloud example: https://<tenant>.privilegemanagercloud.com/Tms/services/api/logon/token |
Your ServiceNow host. The token call returns a ServiceNow login page instead of a token. |
| Endpoint Url | Your Privilege Manager host. Cloud example: https://<tenant>.privilegemanagercloud.com/Tms/services/api/v1/approval/approve |
Your ServiceNow host. The approval post fails with 400 Bad Request. |
| Credentials> | The Client ID and Secret of a Privilege Manager API Client User. See API Authentication. | A ServiceNow account. The token call fails with 2500E: Invalid username or password. |
For on-premises Privilege Manager, use the public host name of your Privilege Manager server. See Configuring ServiceNow with OnPrem PrivMan.
To verify the fix:
- Correct the values and save the record.
- Approve a test request in ServiceNow.
- In ServiceNow, open the system logs. Make sure that the token call and the approval post both return
200. - In Privilege Manager, make sure that the decision appears for the endpoint.
ServiceNow Auto Approved or Denial Requests
-
If your ServiceNow requests are being automatically approved or denied, check your approval flow settings in ServiceNow.
-
When a request is received by ServiceNow, it is assigned a specific dollar amount. To streamline the approval process, you can configure ServiceNow to approve or deny requests based on the dollar value automatically.
-
ServiceNow can be configured to automatically approve or deny requests based on the dollar amount assigned to them upon receipt.
-
If the assigned dollar amount is below or above the set threshold for automatic approval or denial, ServiceNow will act accordingly.
-
To adjust these settings, see the following ServiceNow Service Catalog Request Workflow.
In ServiceNow go to All > Maintain Items > Search for Execute Application Request, select the Pricing tab, and modify the price accordingly. The amount is automatically set to $1001. Requests under $1000 will be auto approved or denied.
Duplicate Request Items Created in ServiceNow
If you have workflows that depend on ServiceNow request items being created and see duplicate RITM requests being created in ServiceNow, adjust the following configuration in Privilege Manager as follows:
-
Navigate to Admin > Configuration > Foreign Systems.
-
Select the desired ServiceNow system in the list of foreign systems.
-
On the Configuration tab, in the Settings section, clear the Use Webhook checkbox.
-
Select Save Changes.
