Skip to main content

I want to… - Audit administrator

Shipped role: Warden audit administrator (MGCWardenAuditAdministrator). You run the capture estate: what is recorded, how long it is kept, the batches that keep it running, evidence exports and leaver checks. You cannot approve purges or register entries, the auditor role conflicts with yours by design, and your own actions are always captured. Background: User guide.

Most of this work needs the Warden Auditor or Warden Evidence & Compliance feature on (Configuration reference). Every page named here is on System administration → Setup; the Warden Audit workspace gathers the main tiles: Capture queue depth, Dropped captures, Open deprovisioning, Health rules breached, Unreviewed health alerts and Setup gaps.


I want to record who opens a sensitive page​

Why: Warden records reads only of objects you enrol on the Sensitivity Register. An empty register captures nothing.

What's involved: Sensitivity Register; Sensitivity catalog; the Warden register activation workflow; a controls owner to approve.

Before you start: The Warden Auditor feature is on. A retention class exists for the entry (next scenario).

Steps:

  1. To start from Warden's shipped list, open System administration → Setup → Sensitivity catalog, select the object and press Enroll from catalog. Refresh shipped sensitivity catalog reloads the shipped list.
  2. Or open System administration → Setup → Sensitivity Register and create an entry: Object type (Table or Form), Object, Sensor grain, Retention class and Coverage boundary.
  3. Optionally list columns on the Sensitive columns tab. This narrows nothing today: field-level capture is not built, and saving a column on an entry whose grain is not Deep record warns you so.
  4. Press Submit for register activation.

What you should see: The entry waits for a different person to approve it. Once Active, opening that object at that grain is captured: actor, object, record key, company and time, never field values. Only Form access and Report have a sensor.

If it doesn't work: Warden setup gaps lists an entry with no or an undefined retention class, an Entity or Deep record grain, and an entry in no evidence-pack mapping.

Related: Sensitivity Register · Sensitivity catalog · Controls owner: approve a page for capture.


I want to set how long audit records are kept​

Why: Each register entry is kept for its retention class, and nothing can be purged before then.

What's involved: Audit retention classes.

Before you start: Know the legal minimum for each class (at least 8 years for MCA-relevant objects).

Steps:

  1. Open System administration → Setup → Audit retention classes.
  2. Add a row: Retention class, Description, Retention (years) and, if records must be exported before deletion, Export before purge.

What you should see: Register entries can name the class. A purge proposal can reach only rows older than their class allows.

If it doesn't work: With Export before purge set and no export destination configured, no purge can be proposed. Set the destination first (see export audit records before they are deleted).

Related: Audit retention classes.


I want to keep capture running​

Why: Captured reads wait in a queue until a batch writes them to the store. Governance events, anchors and role changes each need their own batch.

What's involved: The Audit queue writer, Guard event ingestion, Audit chain integrity, Role event capture and Role event retention batches; Audit capture queue.

Before you start: Nothing schedules these for you.

Steps:

  1. From System administration → Setup, schedule each batch with a recurrence: Audit queue writer (drains, de-duplicates and appends), Guard event ingestion (governance events into the store), Audit chain integrity (anchors, publication and verification), Role event capture and Role event retention.
  2. Schedule Audit queue writer and Audit chain integrity as one job each for the environment, and the others in each legal entity. Run Audit chain integrity at the Anchor cadence target on Warden audit parameters.
  3. Watch Audit capture queue and the Capture queue depth and Dropped captures tiles.

What you should see: The queue drains each run. Drops are counted and alerted, never silent.

If it doesn't work: Warden setup gaps lists an anchor feed with no destination, never published or stopped, and a queue capacity that caps nothing.

Related: Audit queue writer · Guard event ingestion · Audit chain integrity · Role event capture · Role event retention.


I want to be told when capture is unhealthy​

Why: A sensor that stops reporting, or a queue that backs up, should reach a person before an auditor finds it.

What's involved: Audit sensor health and Audit health alert rules, which have no menu entry of their own; the Audit health monitor batch; Alert recipients on Warden audit parameters.

Before you start: Fill Alert recipients on Warden audit parameters (user IDs). The monitor alerts the same list as the dropped-capture alert.

Steps:

  1. Open System administration → Setup → Warden Audit and open Audit sensor health from the workspace.
  2. From Audit sensor health open Audit health alert rules and add rules: Rule, Description, Metric (Writer lag (seconds), Capture queue depth or Dropped captures in window), Threshold, Window (minutes), Severity, Re-alert interval (minutes) and Enabled.
  3. Schedule Audit health monitor from System administration → Setup, as one job for the environment. Its first run seeds three default rules.
  4. On Audit sensor health, press Evaluate now to check at once, and Mark reviewed on alerts you have dealt with.

What you should see: A breach writes an alert row, notifies the recipients in the client and records evidence in the store. A rule that stays breached re-alerts only after its interval. The Health rules breached and Unreviewed health alerts tiles count what needs you.

If it doesn't work: If nobody is alerted, check Alert recipients names users in this environment.

Related: Audit health monitor · Embedded parts · Warden audit parameters.


I want to delete audit records that are past their retention​

Why: Records past retention should not be kept for ever, but deleting audit evidence needs two people and a permanent certificate.

What's involved: Purge workbench; Propose audit store purge; Submit for purge approval; the Warden dual-control purge approval workflow; Execute approved audit purges; Audit purge proposal runs.

Before you start: A controls owner (not you) will approve. If any retention class demands an export, the export destination is set.

Steps:

  1. Open System administration → Setup → Purge workbench and press Propose audit store purge.
  2. In the dialog fill Accountable proposer (required), Store partition, Cutoff date (only an earlier date is accepted) and Maximum proposals, and press OK.
  3. Select the proposal and press Submit for purge approval.
  4. After approval, run or schedule Execute approved audit purges (also on the workbench as Execute).

What you should see: Proposals are structurally limited to rows beyond retention. Approval moves the proposal to Approved, awaiting execution; nothing is deleted yet. Execution checks dual control again, exports where configured, writes the certificate and only then deletes. The Export manifest band shows what was exported.

If it doesn't work: Any failure is a Critical execution exception and the proposal stays Approved for the next run. An approval that can never pass dual control is the exception: the proposal is closed as Closed: propose again, with an Error exception saying which record refused, and its partition is free for a fresh proposal. Unscheduled execution leaves every approved purge waiting, and Warden setup gaps says so.

Related: Purge proposals · Purge execution, Purge workbench · Controls owner: approve an audit store purge.


I want to export audit records before they are deleted​

Why: Some evidence must survive outside Dynamics 365 after its purge.

What's involved: Warden audit parameters, Export and alerts group; System administration → Setup → Key Vault parameters; an Azure Blob container.

Before you start: Create the container (an immutable container is recommended, not required) and a Key Vault secret holding the storage connection string, ideally a shared access signature with create, write and read and no delete.

Steps:

  1. On System administration → Setup → Key Vault parameters create a secret reference of type Manual for the connection string.
  2. On System administration → Setup → Warden audit parameters, Export and alerts group, fill Export container, Export secret name (the name of that secret reference) and Export secret company (the legal entity that holds it).

What you should see: Once any of the three is set, every certified purge first writes the rows as JSON lines, writes a manifest with each file's SHA-256 and row count, and reads everything back. Only an exact read-back lets it delete. The certificate carries the manifest hash.

If it doesn't work: A failed export or read-back deletes nothing and writes no certificate; retry the exception once the cause is fixed.

Related: Purge export destination · Warden audit parameters.


I want to be alerted when someone is given a sensitive role​

Why: A grant of a powerful role should reach a person within the capture window, and the history of grants should be durable.

What's involved: Sensitive roles; Warden audit compliance parameters; the Role event capture batch; Role event history.

Before you start: Role event capture is scheduled.

Steps:

  1. On System administration → Setup → Warden audit compliance parameters fill Sensitive-role alert recipients (user IDs, not email addresses).
  2. On System administration → Setup → Sensitive roles add a row per role: Security role, optional Alert recipients override, Effective from / Effective to.

What you should see: A matched grant alerts the recipients in the client (alert list and pop-up; no email) and is recorded in role history. Initialize Warden adds every role carrying the break-glass privilege to this list.

If it doesn't work: Warden setup gaps lists recipients that do not resolve to users, and recipients configured with no sensitive role. For a signal outside the client, switch on and subscribe to the Warden sensitive role granted business event.

Related: Sensitive roles.


I want to have leavers' access reviewed​

Why: When someone leaves, a person should confirm their access is gone, within an SLA, without Warden removing access silently.

What's involved: The HR deprovisioning scan and Deprovisioning overdue monitor batches; Deprovisioning queue; Warden audit compliance parameters.

Before you start: Working the queue (Take, Assign, Attest access already removed, Except from deprovisioning) needs MGCWardenDeprovisioningDispositionPriv, which ships in no role. It belongs with the security administrator, not with you.

Steps:

  1. Schedule HR deprovisioning scan with a recurrence in every legal entity that employs people.
  2. Schedule Deprovisioning overdue monitor beside it.
  3. On Warden audit compliance parameters set Deprovisioning SLA (days), Deprovisioning overdue alert recipients and Deprovisioning re-alert interval (days).

What you should see: Each leaver's enabled account gets one entry on the Deprovisioning queue of the legal entity that employed them last, with that account's roles. An entry past its SLA alerts the recipients once, then once per interval while it stays proposed.

If it doesn't work: Warden setup gaps shows a DEPROVISIONING row for each legal entity that employs people and has no recurring scan, and rows for an unscheduled monitor or recipients that name nobody. A transfer between legal entities proposes nothing.

Related: HR deprovisioning scan · Deprovisioning overdue monitor · Deprovisioning queue.


I want to take leavers from an HR system outside Dynamics 365​

Why: The scan reads Dynamics 365 HR. If your HR system of record is elsewhere, it sees nobody leave.

What's involved: The Warden leaver intake records entity (data management, or OData collection WardenAuditLeaverIntakes); Leaver intake records; MGCWardenLeaverIntakeDuty.

Before you start: The write duty MGCWardenLeaverIntakeDuty ships in no role. Put it on a role made for the HR integration's own account, so that External HR system can only mean the HR system sent it. You can read the intake but not write it.

Steps:

  1. Have the HR system send one record per account: source system and its reference, the D365 user ID and/or personnel number, and the last day of employment.
  2. Watch System administration → Setup → Leaver intake records.

What you should see: After the last day, an enabled account raises a queue entry marked Leaver source = External HR system, or is linked to an existing entry for the same leaving. Quarantined records matched no account; the reason says what to resend. Each record is sealed into a tamper-evident chain, re-walked by every scan.

If it doesn't work: A record sent in error is withdrawn with Withdraw record (with a reason) while it has raised no entry. That button needs MGCWardenLeaverIntakeWithdrawPriv, which ships in no role and is greyed for you.

Related: Leaver intake records · User guide.


I want to publish an evidence pack​

Why: Auditors and regulators need a fixed, dated binder of what Warden recorded for a period.

What's involved: Evidence pack builder; Evidence pack runs (Export, Render (ER)); Pack export target and Evidence pack ER format mapping on Warden audit compliance parameters.

Before you start: Set Pack export target: the directory Export writes to.

Steps:

  1. Open System administration → Setup → Evidence pack builder. Choose Pack type (India MCA audit trail, SOX ITGC, 21 CFR Part 11 or Workflow configuration export), Period from and Period to, and run it.
  2. Open System administration → Setup → Evidence pack runs and select the Completed run.
  3. Press Export for .txt and .html binders, or Render (ER) to render through the configured electronic reporting format.

What you should see: Each pack carries a coverage statement and the control-downtime section. People are named by reference code. A holder of the Warden identity resolver role is asked Resolve identities when exporting; you are not, unless you also hold that role.

If it doesn't work: Export refuses a run that is not Completed, or an unset Pack export target. Past the license block date on production, a build leaves a Skipped run.

Related: Evidence pack builder · Evidence pack runs · Configuration reference.


I want to show that audit records have not been tampered with​

Why: The store is chained and anchored so that a change is detectable. An auditor will want to see the check, and a copy of the anchors outside Dynamics 365.

What's involved: Audit chain integrity; Hash-chain anchors; Chain verification results; Anchor feed destination on Warden audit parameters.

Before you start: Set Anchor feed destination so anchors are published outside the database.

Steps:

  1. Schedule Audit chain integrity.
  2. Read System administration → Setup → Hash-chain anchors and Chain verification results.
  3. Keep the published anchors (business events or the feed file) outside Dynamics 365 for as long as you need to check the chain.

What you should see: Each run anchors, publishes and verifies. The leaver intake chain head is published beside the audit store anchors. This is tamper-evidence, not tamper-proofing: someone with database access can recompute a chain, which the outside copy reveals.

If it doesn't work: Warden setup gaps lists a feed with no destination, never published or stopped publishing.

Related: Audit chain integrity · Hash-chain anchors.


I want to protect erasures from a database restore​

Why: A restore from before an erasure brings the identity back and removes its certificate.

What's involved: The Warden erasure certificates entity (OData collection WardenErasureCertificates); data management export. Your role can export the entity but cannot open the Erasure certificates page.

Before you start: A storage location outside the database.

Steps:

  1. Schedule a recurring data management export of the Warden erasure certificates entity.
  2. After any restore, give the last export to the identity resolver and auditor to compare with the Erasure certificates page.

What you should see: For every reference in the export without a certificate after the restore, a new erasure request must be raised and approved again. Nothing does this for you.

If it doesn't work: Without a recent export nothing can tell you which erasures a restore undid, so check the export job runs. The user guide records this flow as verified by compilation only.

Related: Privacy officer: re-erase after a restore · Erasure certificates.