Walkthrough 5: A leaver, and then a privacy request
Evidence & Compliance: HR termination feeding the deprovisioning queue, the overdue monitor, attesting access removal, subject references and the identity resolver, and a dual-controlled erasure request that is restricted now and deferred until retention allows.
This is a fictional story. The company, the people and the numbers are invented. What Warden does at each step has been checked against the
MGCWardenmodel; where something could not be confirmed, the text says so. See the walkthroughs index for the cast and the rules these stories follow. Nothing here is legal advice: Warden records and enforces a process; whether that process meets a particular law is for the customer and their advisers.
The situation
Mereford Packaging makes corrugated packaging at two sites in the United Kingdom. It runs Dynamics 365 Human resources in the same environment as finance and supply chain, so a worker's employment and their user account live side by side. It has a small IT service desk, a part-time data protection officer, and an annual SOX-style access review driven by its parent company.
The people in this story:
| Person | Job | Warden role or grant |
|---|---|---|
| Harper Quayle | HR business partner | No Warden role; ends employments in Human resources |
| Sasha Brightwell | IT service desk lead | A custom role carrying Dispose of Warden deprovisioning proposals |
| Remy Castellan | IT security analyst | Warden audit administrator |
| Frankie Odell | Data protection officer | Warden identity resolver |
| Jules Penhaligon | Financial controller | Warden controls owner |
| Drew Kettering | Purchasing coordinator, leaving | The leaver; no Warden role |
The problem
Mereford's parent company's access review found two leavers whose accounts were still enabled months after they left. In both cases HR had ended the employment on time; the request to IT had been an email that was missed. Nobody could show when IT had been told, or when access was actually removed.
Separately, Mereford's data protection officer had started receiving requests from former employees to erase their personal data. Frankie needed a way to act on such a request that did not destroy the evidence Mereford is obliged to keep, and that needed more than one person to carry out.
What they decided
- Evidence & Compliance on. Warden Evidence & Compliance is switched on in Feature management. It is off by default, and the HR deprovisioning scan does nothing while it is off.
- The scan and the monitor. Remy schedules HR deprovisioning scan nightly and Deprovisioning overdue monitor each morning. See deprovisioning and the deprovisioning overdue monitor.
- Parameters. On Warden audit compliance parameters: Deprovisioning SLA (days) 3 (the default is 7); Deprovisioning overdue alert recipients Sasha and Remy, by user ID; Deprovisioning re-alert interval (days) 2.
- Warden does not remove access. It proposes, records and chases. Removing access stays with Sasha's team, in user management. The privilege to record a decision on the queue ships in no role; Mereford gave it to Sasha's team through a custom role.
- Names are not stored in Warden's evidence. Warden records people as subject references:
WP-followed by twelve characters. The Warden identity resolver role, which ships assigned to nobody, goes to Frankie only. - Erasure is two people. Frankie, as identity resolver, raises an erasure request; Jules, as controls owner, approves it through a Warden erasure approval workflow. Retention classes are configured for every register entry, so nothing in the audit store is held indefinitely for want of a class.
Walking through it
1. HR ends the employment
Drew resigns. Harper records the end of Drew's employment on the worker record in Human resources, with a last day of Friday 31 October. Nothing else happens that day. The request to IT is an email, as before.
2. Warden proposes the leaver
On the night of 1 November the HR deprovisioning scan finds that Drew's last employment, in any legal entity, has ended. It proposes one deprovisioning entry for each enabled user account linked to Drew's person record, in the legal entity of that last employment. Drew has one account.
On System administration → Setup → Deprovisioning queue the entry shows Worker (Drew's personnel number while the entry is proposed), User (Drew's user ID), Leaver source D365 HR (employment ended), status Proposed, Roles at proposal listing the purchasing roles Drew held, and SLA date 4 November.
Screenshot to add: the Deprovisioning queue with one Proposed entry, showing Leaver source, Roles at proposal and SLA date.
3. Nobody acts, and Warden says so
The email to IT was missed again. On the morning of 5 November the Deprovisioning overdue monitor finds the entry past its SLA date, neither attested nor excepted. It raises escalation step 1: an in-client alert to Sasha and Remy headed Leaver access past SLA: user …, saying the entry is one day past its SLA date, who it is assigned to (nobody), what Warden can see of the account now (enabled, holding roles), and that Warden revokes nothing. It also writes an Overdue deprovisioning entry escalated row to the entry's governance timeline. Had it gone unanswered, the monitor would have alerted again every two days, with the step number rising.
The alert is in the client; no email is sent.
4. Sasha removes the access, outside Warden
Sasha selects the entry and presses Take. In user management, Sasha disables Drew's account. Then Sasha returns to the queue and presses Attest access already removed.
The dialog, Attest that access has already been removed, repeats the entry and the roles held at proposal, and says in capitals that Warden will not disable the account and will not remove any role: pressing OK records that Sasha has already done so. It shows what Warden can see of the access right now, and explains that what it sees is recorded. Sasha ticks I have already removed this access outside Warden and writes, under What was removed, where and when, Account disabled in user management 5 Nov 09:20.
The entry becomes Removal attested. Access seen removed at attestation is Yes: Warden counts a disabled account as removed, whatever roles it still holds. The personnel number and user ID on the entry are replaced by subject references. Sasha's statement is on the governance timeline.
If the account is later enabled again holding a role, the scan proposes it again and fills in Proposed again because. See the system administrator's guide.
5. A privacy request arrives
On 20 November Drew writes to Mereford asking for their personal data to be erased. The request reaches Frankie.
Frankie first needs Drew's subject references. On System administration → Setup → Resolve identities, under Which reference does a person have?, Frankie chooses Identity kind System user, enters Drew's user ID in Identity, and presses Find reference. The answer reads "… (System user) is WP-3H8KQ2NVX7RD. This lookup has been recorded in the audit store." Frankie repeats it with Identity kind Worker and Drew's personnel number, and gets a second reference.
Each lookup writes an Identity resolved self-audit row to the audit store before the answer is shown, naming Frankie and the page. The person who can turn references into names is the person whose use of that ability is recorded.
6. Frankie raises the first request, and it is refused
On System administration → Setup → Erasure requests Frankie presses Raise erasure request, enters the system user reference in Subject reference, and then presses Submit for erasure approval. The request names Drew only by reference. Jules receives a Warden erasure approval work item and approves it.
At the moment the approval completes, Warden asks its preconditions, and the first one fails. The request becomes Refused, and its Status reason reads:
Subject WP-3H8KQ2NVX7RD's account is disabled but still holds roles; remove every role first, System user included. Erasure deletes the subject's role snapshot, so the next role capture would record any role still assigned as a new grant and give the same account a new reference, undoing the erasure. A system user can be erased only once the account is deleted or holds no role at all.
Nothing was restricted or erased. A fresh request is the way back once the reason no longer applies.
Had Sasha's entry still been Proposed, the request would have been refused for a different reason: the subject still takes part in an open control (a proposed deprovisioning entry … that has not been confirmed or excepted). Erasure waits for the leaver process to finish first.
Frankie could not have approved their own request; Warden refuses the proposer as approver.
7. The roles go, and the request is raised again
Sasha removes every role from Drew's disabled account, including System user. Frankie raises a new request for the system user reference and another for the worker reference, one reference per request, and submits both. Jules approves both.
This time the account preconditions hold and no open control names Drew. Warden then calculates, across every family of record that names the subject by reference, when the last such row leaves its retention period. For Drew that includes:
- rows on the governance event log where Drew acted, kept for the company's Evidence retention (7 years by default);
- role events naming Drew, including the removals Sasha has just made, under a seven-year floor;
- the decided deprovisioning entry, on the evidence window;
- audit store rows, on their own retention classes.
The latest of these is about seven years away, because the role removals were recorded this week. So both requests become Deferred: identity restricted until retention lapses, with Earliest execution set and a Status reason of the form "Deferred until … (UTC): the last row naming the subject leaves its retention period then, in role events in … (the seven-year floor)."
Being approved has one immediate effect. From that moment each reference is restricted: it resolves for nobody, Frankie included. A later lookup on Resolve identities returns that the identity has no reference that can be shown, giving restriction pending erasure as one possible reason. The event log records Erasure of a subject approved, naming the approver and the proposer by reference, and Erasure deferred.
Raise (Frankie, identity resolver)
-> Submit -> Approve (Jules, controls owner, not the proposer)
-> preconditions: account gone or disabled with no roles; no open control
-> refused ............................ Refused, nothing changed
-> retention still running ............ Deferred, reference restricted now
-> nothing retains the subject ........ Approved, reference restricted now
-> Execute due erasures (first run after Earliest execution)
-> preconditions asked again -> certificate -> identity destroyed
8. What Frankie tells Drew
Frankie writes to Drew explaining what has been done: processing of the identifying data Warden holds is restricted with immediate effect, and erasure is scheduled for when Mereford's retention obligations for the records concerned end. What Frankie says about the legal basis is Frankie's judgment, not Warden's. Warden does not make a legal reading.
9. Seven years later
The Execute due erasures batch job, which Frankie scheduled (its menu item is granted with the identity resolver role), picks up each request on its first run after Earliest execution. It asks every precondition again under a lock. If they hold, it takes a census and writes an erasure certificate before destroying the identity in the vault.
The certificate, on System administration → Setup → Erasure certificates, records Subject reference, Identity kind, Erasure request, Proposed by, Approved by, Executed, Executed by, a Census of how many rows in each Warden column name the reference (they stay as they are and now name nobody), Not reached with what the erasure could not reach, and the totals Rows by reference and Rows not reached. The certificate never names the person. Among the shipped roles, the Warden auditor role is the one that opens the certificates page. See erasure execution and the privacy officer's guide.
The outcome
- IT was told about the leaver by Warden, not by an email, and was chased when the SLA passed.
- When access was removed, and by whom, is on record in Sasha's own words, together with what Warden could see of the account at the time.
- The parent company's access review can read the entry, and the SOX ITGC evidence pack lists the deprovisioning queue for the period. See walkthrough 4.
- Drew's request was acted on by two people. The identity was restricted at once; erasure is scheduled, not forgotten.
- Every time anyone turned a reference into a name, that was recorded.
What this story simplified
- Setup off stage. Feature enablement, Initialize Warden, the erasure approval workflow, batch scheduling and the custom role for Sasha's team are configured before the story starts. See Getting started and the configuration reference.
- Excepting. If Mereford had decided Drew's account should stay (for example as a shared mailbox owner), Sasha would have used Except from deprovisioning, which requires an Exception reason and leaves the access in place on record.
- External HR systems. A customer whose HR system is not Dynamics 365 can feed leavers through leaver intake records instead; the queue then shows External HR system (leaver intake) as the source.
- One reference per request. The Raise dialog takes one subject reference. A person with a user account and a worker record has two references and needs two requests.
- What erasure does not reach. Rows written with a name in clear before Warden converted that column, electronic signature manifestations (kept by design), the platform's own created-by columns, and anything already exported from the system. The certificate counts what it can and says the rest in words. Restoring a database backup taken before the erasure brings the identity back.
- The retention figures. The seven-year figures come from Warden's defaults and floors. A customer whose audit store rows have no retention class at all would see Deferred with no date, because nothing could show those rows are out of retention.
- Approvals nobody took. An erasure approval completed by escalation, an automatic action or a time limit approves nothing. A person has to press Approve.