How to Run a Quarterly Access Review That Actually Closes Gaps
A quarterly access review that only confirms "everyone still looks familiar" does not close anything. The review is useful when three things are true at the same time: there is a named campaign with a due date, every ent
A quarterly access review that only confirms "everyone still looks familiar" does not close anything. The review is useful when three things are true at the same time: there is a named campaign with a due date, every entitlement has a written decision, and leftover access for people who already left is impossible to miss.
I have spent more than fifteen years in IT, cybersecurity, and data engineering. In small organizations the access review is often a spreadsheet export that sits in a shared drive until someone asks whether it was finished. Privileged groups grow quietly. A contractor is marked Terminated in HR and still has a mailbox or a VPN token. Shared admin accounts have no owner and no MFA.
You can do this work in a blank workbook. The formulas below are the ones I use. I also built a paid toolkit that already has these sheets — I disclose that at the end — but you do not need it to run the review. This is operational hygiene, not a certification path. I mention NIST CSF 2.0 and CIS Controls v8.1 by ID and name only. Nothing here makes an environment "compliant."
Start with a campaign, not a dump of users
Exporting accounts from your identity provider is step two. Step one is to write down what this review is.
I use a one-page campaign header with a year, a quarter, a campaign name, a scope, a start date, a due date, an owner, and a status (for example In Review). The due date is the only date that later tells you whether the campaign itself is late:
=IF(B10="","",B10-TODAY())
If B10 is Campaign due, a negative number means the due date has already passed. That is calendar days, not business days. Enter the due date as a real date (YYYY-MM-DD), not text that looks like a date.
The scope line is where most reviews go vague. "All staff" is not a scope. Name the directories and the applications you will actually look at this quarter — for example Microsoft 365, Active Directory, and the finance system — and be honest about what you are leaving for next time. A gap you recorded is a plan. A gap you never wrote down is a surprise.
Default cadence I use: a full campaign once a quarter; a pass over privileged-account MFA and secret rotation once a month; and a terminated-user check the day HR notifies you, not at quarter-end.
One row per person-and-entitlement
A single row per person hides the problem. The finance manager who also has a leftover SharePoint Owner role and an old VPN group will look "fine" if those three things are collapsed into one cell.
I use one row per person-and-entitlement, with at least: a stable Review Item ID, the campaign name, display name, username, department, employment status, manager, account type (Standard, Privileged, Service, Shared, Emergency/Break-glass), system, role, date granted, last login, review decision, reviewer, review date, and completion status.
The reviewer — often the manager — records one of Approve, Revoke, Modify, or Transfer. I also keep Pending as the starting value so incomplete work is countable. Modify needs a second cell for the intended end state. Transfer needs a receiving owner. A decision that is not carried out in the system of record is only a comment.
A KPI strip should count only rows that have an ID. COUNTIFS with "?*" on the ID column demands at least one character, so empty template rows do not inflate the totals. If you keep sample rows in the sheet, you also need a way to leave them out of the counts (I come back to that below). With Ex_Filter already in place, the tiles I actually watch are:
=COUNTIFS($B$7:$B$156,"?*",$A$7:$A$156,Ex_Filter)
=COUNTIFS($B$7:$B$156,"?*",$A$7:$A$156,Ex_Filter,$N$7:$N$156,"Pending")
=COUNTIFS($B$7:$B$156,"?*",$A$7:$A$156,Ex_Filter,$N$7:$N$156,"Revoke")
=COUNTIFS($B$7:$B$156,"?*",$A$7:$A$156,Ex_Filter,$R$7:$R$156,"Complete")
Pending is the unfinished work. Revoke is the work that still has to happen in the directory after the spreadsheet is updated. Complete is not a substitute for Revoke: a row can be marked complete only after the decision was recorded and, for revokes, after the access was actually removed.
Make departed users with leftover access impossible to miss
The worst leftover is not an over-privileged current employee. It is a person whose employment status is already Terminated and whose access was never revoked.
I keep a calculated flag on every entitlement row. Employment Status is in column G, Review Decision is in column N, and the Review Item ID is in column B:
=IFERROR(
IF(B7="","",
IF(AND(G7="Terminated",N7<>"Revoke"),"FLAG","OK")),
"Check input")
Blank IDs stay blank. A typo or a date typed as text shows Check input instead of a silent wrong answer. Everyone else is either OK or FLAG. The campaign header then totals the leftovers, so you do not have to filter the register to see the problem:
=COUNTIFS(
'Access Review'!$B$7:$B$156,"?*",
'Access Review'!$A$7:$A$156,Ex_Filter,
'Access Review'!$S$7:$S$156,"FLAG")
The same snapshot can also be written without the flag column, by repeating the rule:
=COUNTIFS(
'Access Review'!$B$7:$B$156,"?*",
'Access Review'!$A$7:$A$156,Ex_Filter,
'Access Review'!$G$7:$G$156,"Terminated",
'Access Review'!$N$7:$N$156,"<>Revoke")
I treat any non-zero count as work that is not finished, even if the rest of the campaign looks complete.
The register flag is a net, not a close-out log. For each departure I also keep a short Terminated Users sheet: one row per person and system, with Account Disabled?, Date Disabled, Device Recovered?, and Shared Secrets Rotated?. The open flag stays on until the account is actually disabled:
=IFERROR(IF(B7="","",IF(I7="Yes","Closed","Open")),"Check input")
Days Open, where column F is the termination date and column I is Account Disabled?:
=IFERROR(
IF(B7="","",
IF(I7="Yes","",
IF(F7="","",TODAY()-F7))),
"Check input")
Once the account is disabled, Days Open goes blank. Until then, a number that keeps growing is harder to ignore than a status of "in progress."
Privileged accounts get their own roster
Privileged, break-glass, and privileged service accounts should not be reviewed only as extra rows in the entitlement register. I keep a roster with account name, privileged type, system, MFA enabled, named or shared, owner, password or key last rotated, rotation due, and last use date.
Two calculated flags do most of the watching. MFA Gap Flag, where column F is MFA Enabled:
=IFERROR(IF(B7="","",IF(F7="No","FLAG","OK")),"Check input")
Rotation Flag, where column J is Rotation Due:
=IFERROR(
IF(OR(B7="",J7=""),"",
IF(J7-TODAY()<0,"Overdue","OK")),
"Check input")
If the account ID or the due date is missing, the flag stays blank. That is deliberate: a blank due date is a data-quality issue, not evidence that the secret is current. Shared accounts should be rare and justified. Break-glass accounts should stay sealed, tested, and unused for daily work.
On the campaign header I count roster rows, and I count the MFA gaps with a cross-sheet COUNTIFS against MFA Enabled = No. Those two numbers are the privileged part of the close-out.
Close the campaign on purpose
A review is not finished when the last manager has typed Approve. I use a short close-out, taken from the quarterly checklist I actually run:
- Campaign header filled, including a real due date and a named owner.
- Every in-scope entitlement has a decision; Pending is zero, or each leftover has a named person and a date.
- Every Revoke has been carried out in the system of record, not only in the spreadsheet.
- Exceptions are listed with an expiry, not as a permanent "special case."
- The terminated-still-active count is zero, or each FLAG has an open Terminated Users row and a disable date.
- The privileged roster has been re-certified, including break-glass, and every MFA gap has a follow-up.
- A sample of this quarter's departures was checked for accounts, devices, and shared secrets.
Date and initial the run. Check a box only when the work was actually done.
This work sits next to NIST CSF 2.0 PR.AA (Identity Management, Authentication, and Access Control) and CIS Controls v8.1 Control 5 (Account Management) and Control 6 (Access Control Management). That is a mapping of artifacts to names. It is not coverage, and it is not a score.
Lessons I had to learn
Sample rows will lie to you. Demo data is useful on day one and poisonous once you start the real campaign. Filtering the Record Type column only hides rows; it does not change COUNTIFS. I use a Config switch, "Include EXAMPLE rows in counts," that writes a criterion into a named cell Ex_Filter:
=IF(B9="No","<>EXAMPLE","<>#ALL#")
Every KPI uses that name. When the switch is No, sample rows drop out of the numbers. When it is Yes, the criterion is <>#ALL#, which matches every real record type. Set it to No — or overwrite the EXAMPLE rows and mark them Live — before you trust a count.
Pending is not a decision. If the default value is Approve, the sheet will look finished on the morning you create it. Leave new rows at Pending until a reviewer has actually looked at them.
A revoke in the spreadsheet is not a revoke in the directory. The register records intent. The work is done when the group membership, mailbox, token, or local account is gone, and when shared secrets that person knew have been rotated.
Prefer boring functions if more than one app has to open the file. These formulas use IF, COUNTIFS, IFERROR, and TODAY. No macros, no Excel Tables, no links to other workbooks, and no dynamic-array functions (FILTER, UNIQUE, XLOOKUP, LET, LAMBDA). I recalculate in LibreOffice Calc. Excel 365, Excel 2019/2021, and Google Sheets were designed for, but have not been live-tested here. In Google Sheets, sheet protection is not imported.
Protect formulas, but do not hide the key. I protect sheets without a password so calculated cells are harder to overwrite by accident and AutoFilter still works. Unlocking is Review → Unprotect Sheet (Tools → Protect Sheet in LibreOffice).
A review, not a platform
None of this replaces your identity provider, a PAM tool, or an HR system of record. It keeps the review visible, assigned, and finishable, and it makes leftover access for departed people hard to ignore.
If you want a starting pack, I built one. The paid IT & Cybersecurity Operations Toolkit ($29) includes this access-review workbook (campaign header, entitlement register, privileged roster, and terminated-user check), plus asset, risk, vulnerability, incident, and vendor registers: https://payhip.com/pablocababie. I am the author, so treat that as a first-party link, not an independent review. You do not need the paid pack to follow this routine; the formulas above are enough to start.
Disclosure
I sell the IT & Cybersecurity Operations Toolkit described in the link above. This article was drafted with AI assistance and reviewed by me. I stand by the formulas and the operational advice; any remaining mistakes are mine.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.