Access Review Tool
This tool reads an Active Directory export and flags the accounts an auditor would ask about: unused admin accounts, people who have left, passwords that never expire and shared logins.
This tool reads an Active Directory export and flags the accounts an auditor would ask about: unused admin accounts, people who have left, passwords that never expire and shared logins.
| Severity | Account | Finding | What to do |
|---|
Your file never leaves your browser. The check runs on this page with JavaScript, and nothing is uploaded or saved. The sample company and everyone in it are fictional.
Accounts tend to outlive the people who need them. Someone leaves, a temp's contract ends, a test account gets forgotten, and admin rights pile up. HIPAA and PCI DSS both expect regular access reviews for this reason. In a small business, nobody has time to click through every account in AD Users and Computers, so I wrote something that does the first pass.
Export-ADUsers.ps1) saves each account's last logon, password settings and groups to a CSV. It doesn't change anything in AD.frontdesk or temp01.It only sees direct group membership for now, so groups inside other groups aren't expanded yet. AD's last-logon date can also be up to about two weeks behind, so keep the stale setting well above that. Next, I want to expand nested groups, add Microsoft Entra ID (Azure AD) sign-in data, and compare two exports to show what changed between reviews.
I built this with Claude Code: the PowerShell export, the Python checker and this page. I checked its findings against a fictional 25-account sample company, the same one the demo loads, and 7 automated tests cover the checker.
Questions about this project? Email [email protected].