Skip to main content

MGCWardenAuditLeaverIntake

One leaver record sent by an HR system outside Dynamics 365 for one company, through data management or OData. The HR deprovisioning scan matches open rows to a user account and raises or links a deprovisioning entry; what the HR system sent cannot be changed. Shown on Leaver intake records, where a user can withdraw a row; exposed as WardenAuditLeaverIntakes.

Fields​

NameTypeMandatoryDescription
SourceSystemstrYesThe HR system of record that sent this leaver record, as the importer names it. Evidence: written once with the record and never changed. With Source reference it identifies the record.
SourceReferencestrYesThe HR system's own identifier for this leaver event. Evidence: written once. A record is received once per source system and reference; a resend with the same reference changes nothing, and a correction is sent under a new reference.
PersonnelNumberstrNoThe leaver's personnel number as the HR system sent it. Evidence: written once. Matched against D365 workers; when a user id is also sent it need not be one.
UserIdUserIdNoThe leaver's D365 user id as the HR system sent it. Evidence: written once. When it is sent, it is the account Warden evaluates.
LeavingDateTransDateYesThe leaver's last day of employment, the date an ended D365 employment carries. Evidence: written once. The first deprovisioning scan on a later day raises the entry, as it would for a D365 leaver.
ImportedByMGCWardenUserRefNoThe account that imported the record, taken from the session and never from the import file. Shown as a subject reference; older records keep the user ID, because the record's tamper seal covers it.
StatusMGCWardenAuditLeaverIntakeStatusNoWhat Warden made of the record. Received, Pending, Nothing to revoke and Hired again are evaluated again by every deprovisioning scan; Raised, Linked, Quarantined and Withdrawn are final.
StatusReasonstrNoWhy the record has its status, in words for the importer. A quarantined record says what did not match and what to resend.
StatusDateTimeTransDateTimeNo
MatchedUserUserIdNoThe D365 account the record resolved to. Operational: Warden's current reading, re-derived while the record is open.
MatchedPersonnelNumberstrNoThe D365 worker the record resolved to, when one has the personnel number sent. Operational, as Matched account.
DeprovisioningEntryRefRecIdNoThe deprovisioning queue entry this record raised (Raised) or was linked to (Linked).
ChainSequenceint64NoThe record's place in this company's tamper-evident chain of leaver records, 1 for the first. Written once, on receipt; 0 means the record was never sealed, which the deprovisioning scan reports.
ChainPreviousDigeststrNoThe chain digest of the record received just before this one in this company; blank for the first record. Written once.
ChainDigeststrNoSHA-256 over what the HR system sent, who imported it and when, chained to the previous digest. Written once; if any of those values changes later it no longer reproduces, and the deprovisioning scan reports it.