Custom report to retrieve deleted users from identity

Custom report to retrieve deleted users from identity

90
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:00 PM


Objective


This article explains how to generate a report for user deletions. Use this procedure to audit administrative actions when a specific user account has been removed from the directory. 



Environment


26.4 Identity Identity Compliance

Procedure


To identify the details of a user deletion within a specific timeframe, run the following event query within the Reports section of the administrator portal:

  1. Log in to the administrator portal using an account with appropriate permissions.

  2. Navigate to the Reports section in the main navigation pane.

  3. Select the option to create a new report.

  4. Paste the following query into the editor:

SELECT
Event.EntityName,
Event.Action,
Event.WhenOccurred
FROM
Event
WHERE
Event.EventType = 'Cloud.Core.DSEntityChange'
AND Event.WhenOccurred > Datefunc('04/07/2026 00:00:00 +10:00') AND Event.Action = 'Delete' AND Event.EntityName = 'TargetUserName@domain.com'

5. Modify the Parameters:

    • Time Format: Use the format MM/DD/YYYY HH:MM:SS within the Datefunc parameter. 
    • Time Zone Offset: The +05:30 suffix represents the UTC offset. specifying this offset ensures the query aligns with your local time.
    • EntityName: Replace the example email with the actual address of the deleted user.

6. Execute the query to view the results.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001BKuCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail