RSA IGL Recipes: Report - AD Orphan Accounts

Document created by Jamie Pryer Employee on Dec 7, 2020
Version 1Show Document
  • View in full screen mode

RSA IGL Version: V 7.2.x

Modules: Governance

Product Area: Tabular Reports  (Applied to Active Directory Summary Dashboard)

Associated Dashboard:

Time to apply: ~20 minutes



This report provides information about all the orphan accounts within AD.

The goal of this report is to understand which all the orphan accounts are. We have also included "last login date" information, to help understand any potential risk associated with these orphan accounts. 

The report can be used by Admin/AD Teams to be understand the risk of orphan accounts. Those which are being used to login, should have an associated owner set. 

This report requires the key word: "addashboard" to be added within the description of the AD Account Collector. 
This key word can be added to more than one Account Collector if required.


Other useful links


Example Image (Click to enlarge)


Key Notes

  • This chart/report/dashboard is supplied "as is" - any modification of this item is done at your own risk. 
  • If you have issues applying this chart/report/dashboard, please comment below for help, DO NOT contact the RSA Support team.
  • If you would like more assistance with this chart/report/dashboard or for help in creating other chart/report/dashboards, then RSA Professional Services (RSA PS) is available to help.
    • Please contact your RSA Account Manager or local RSA Sales Rep or reply below for further assistance.



This report includes a full list of all AD orphan accounts, along with their last-login time and when they were made orphan. 


Report SQL

First test this in your query tool (SQLDeveloper, Toad etc..)


pACC.NAME as "Account Name",
pACC.CAS3 AS "Account DN",
pACC.LAST_LOGIN_DATE as "Last Login Date",
pACC.ORPHANED_DATE as "Orphaned Date"
WHERE lower(vDC.DESCRIPTION) like '%addashboard%'


Example of the results:


Report Implementation

  1. Log into RSA IGL as a user who can create reports. In my example, im using AveksaAdmin
  2. Go to "Reports" / "Tabular"
  3. Select "+ Create Report" button
  4. Under the "General Tab" add the following details:
    • Name: AD Orphan Accounts
    • Title: AD Orphan Accounts
    • Description: From RSA IGL Link Community. This report provides information on all orphan accounts in AD. Note: This chart requires the key word: "addashboard" to be added within the description of the Account Collector.
    • Scope: System
    • Page Size: Letter
    • Orientation: Landscape

  5. Under the "Query" Tab, copy the SQL from above
  6. In the bottom bar, press the "Style" button. "Slate" is a good recommendation for reports
  7. Press the "Preview" button, you should see some results, as per the example image below.
    If you get an error at this stage, please test your SQL in a Query tool, like "SQL Developer" or "SQL Squirrel" to ensure it works first. 
    If it still doesn't work, please share your SQL and a screen shot of the issue below. DO NOT contact RSA Support 
  8. Under the "Columns" Tab, please use the configuration shown in the image below

  9. Under the "Display Attributes" tab, please use the configuration shown in the image below

  10. Nothing has been set on the "Filter", "Grouping & Sorting" or "Schedule and Email" tabs


Next Steps

  • Please "hit reply" and share your feedback - we would love to see an image of this working in your environment!
  • Check out the other content found on the RSA IGL Recipes page: RSA Identity Governance & Lifecycle Recipes 


    Thank you! 


Dont forget:


Please login, then "Like"  and "Actions/Follow" this page (Top Right), so as to receive updates and be notified if we modify/change items found here, in future.