Troubleshooting

This topic provides information to help you resolve issues that you might encounter when using the integration between Microsoft Sentinel and the Delinea Platform.

Enabling Auditing and Health Monitoring

Before you diagnose a problem, enable auditing and health monitoring in your Microsoft Sentinel workspace. Microsoft Sentinel then records its own activity in the SentinelHealth table, which shows whether the connector is polling successfully and whether the analytic rules are running.

To enable auditing and health monitoring:

  1. In your Microsoft Sentinel workspace, go to Settings.

  2. Expand Auditing and health monitoring, and then select Enable.

    Screenshot of the workspace settings page with the Auditing and health monitoring section expanded.

Allow time for the table to fill. The connector must poll at least once, and the analytic rules must run at least once, before their activity appears in SentinelHealth. This can take from several minutes to several hours.

The Install Button Fails in the Content Hub

You select Install on the Delinea Platform solution in the Content hub, and the installation does not complete.

Solution

Installing content from the Content hub requires the Microsoft Sentinel Contributor role on the resource group that contains your Microsoft Sentinel workspace. A missing role is the most common cause of this failure.

Confirm that your account holds this role, or ask your Azure administrator to assign it, and then install the solution again.

No Events Arrive in Microsoft Sentinel

The DelineaAuditEvents_CL table is empty, or no new events have arrived for more than 10 minutes.

Solution

Work through the following checks in order. Each one narrows down where the problem is.

  1. Perform some activity in the Delinea Platform to generate events, wait a few minutes, and then open the connector page in Microsoft Sentinel.

    The Status shows Connected, Last Log Received shows a time stamp from within the last 10 minutes, and DelineaAuditEvents_CL appears under Data types with a green connected indicator.

  2. If no events arrive, select Logs and run the following query to check the connector's polling history:

    Copy
    SentinelHealth
    | where SentinelResourceName startswith "ApiPolling"
    | order by TimeGenerated desc

    The Status column shows only Success records. Any other value indicates that the connector could not retrieve events.

  3. If the query returns no records, or returns failures, confirm that the service user can retrieve audit events directly from the Delinea Platform. Replace the values at the top of the following script with your tenant hostname and the service user credentials, and then run it:

    Copy
    TENANT='Your tenant url'
    CLIENT_ID='Your client id'
    CLIENT_SECRET='Your client secret'

    TOKEN=$(curl "https://$TENANT/identity/api/oauth2/token/xpmplatform" \
        --header 'Content-Type: application/x-www-form-urlencoded' \
        --data-urlencode 'grant_type=client_credentials' \
        --data-urlencode 'scope=xpmheadless' \
        --data-urlencode "client_id=$CLIENT_ID" \
        --data-urlencode "client_secret=$CLIENT_SECRET" \
        | jq -r .access_token)

    echo "$TOKEN" | cut -c1-20

    curl -s "https://$TENANT/audit/api/audit-events?api-version=2.0&PageSize=5&Page=1"\
        -H "Authorization: Bearer $TOKEN" -H "X-Api-Version: 2.0" | jq '.auditEvents | length'

    An empty token, or a token value of null, indicates a problem with the credentials or the permission assigned to the service user. See Configuring the Delinea Platform.

    If the second command returns a count of events, the service user is configured correctly.

  4. If the service user is configured correctly but Microsoft Sentinel still receives no events, deploy the connector again. See Configuring Microsoft Sentinel.

A Workbook Shows No Data

You open a Delinea Platform workbook and the tiles are empty.

Solution

Confirm that the DelineaAuditEvents_CL table contains events for the period shown in the workbook, and widen the Time Range if needed. If the table contains data but the tiles remain empty, deploy the workbook template again with its default values. See Configuring Microsoft Sentinel.

An Analytic Rule Does Not Produce Incidents

The rule shows the status Enabled on the Active rules tab, but it does not create any incidents.

Solution

This is usually correct behavior, not a fault. Three of the rules are baseline-driven: privileged access anomaly, sensitive secret accessed by new user, and rare event types. These rules compare against about 14 days of history and stay silent until that history exists. Allow two weeks before concluding that a rule is broken.

To confirm that the rule is running correctly:

  1. Run the equivalent hunting query, which has no threshold, to confirm that the underlying data is present.

  2. Select Logs and run the following query to check the rule run history:

    Copy
    SentinelHealth
    | where OperationName == "Scheduled analytics rule run"
    | order by TimeGenerated desc

    The Status column shows only Success records. If a run failed, the Reason column shows why.

  3. If runs are failing, deploy the analytic rule again with its default values. See Configuring Microsoft Sentinel.