Use this when automating joiner, mover, leaver accounts.
Account Provisioning
Account provisioning automation creates, changes and removes accounts across systems from HR events or requests, so joiners get the right access quickly and leavers lose it immediately.
1. Account provisioning from authoritative sources.
2. Role-based access.
3. Disable-by-default until verified.
4. Deprovision automatically.
5. Audit.
HR event → provisioning → roles → audit
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-ADUser <identity> -Properties Enabled,MemberOf,whenCreated,whenChangedPrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Command read-back and what it shows Verify boundary
Verification for Security Automation → Account Provisioning must distinguish state, not merely report that a command ran. With Get-ADUser <identity> -Properties Enabled,MemberOf,whenCreated,whenChanged, known-good means the intended unique account exists with expected key attributes/state and required memberships, replication-sensitive checks are consistent, and a bounded access/entitlement validation matches the approved request; known-broken/suspicious means duplicate/missing object, wrong identity attributes, unexpected disabled/expired state, missing/excess membership or directory correctness with unresolved downstream access. Get-ADUser <identity> -Properties * shows attributes returned by the queried directory endpoint for one object, but it does not show replication convergence, SaaS licensing or successful authentication.
Step 2 Observation-driven branch and next-check logic Narrow the fault
When Security Automation → Account Provisioning fails, reproduce the smallest original case and capture Get-ADUser <identity> -Properties Enabled,MemberOf,whenCreated,whenChanged before mutation. Use the observation to choose the next check: if object is absent, inspect request/identity key and creation job; if object exists with wrong attributes or disabled state, compare authoritative inputs and workflow step; if directory object is correct but access fails, move to memberships, replication, licensing and application-specific provisioning.
Step 3 Common mistakes Narrow the fault
- Accounts without owners or expiry.
- Driven by HR events.
- Remove access immediately for leavers.
- Role-based access.
- HR-driven provisioning workflow — joiner flow
Get-ADUser <u> -Properties MemberOf— result- SCIM provisioning logs — SaaS
ReferenceHow it works1 section · depth on demand
How it works
Security Automation → Account Provisioning should be reasoned about as a state pipeline, not as one command outcome. The responsible state is identity request attributes, authoritative account identifier, directory object creation/update and entitlement/group assignment that automation performs for one principal. Account provisioning transforms an approved identity request into directory attributes and memberships; creation, enablement, credential state and authorization assignments are distinct operations that may settle at different times; meanwhile HR/source data, naming uniqueness, replication, group owners, licenses, downstream SaaS and MFA enrollment are separate things to check. This distinction is especially important because an account object existing does not mean it is enabled, licensed or authorized correctly, and a correct local DC read does not show replication or downstream provisioning.
ReferenceImportant terms & boundaries1 section · depth on demand
Method
Account provisioning in security automation creates accounts with exactly the access a role requires, from an authoritative source, and records who approved it.
1. Receive the request from HR or the ITSM system (authoritative source).
2. Map the role to entitlements (groups, licences, application roles).
3. Check separation-of-duties rules and get approvals for privileged access.
4. Create accounts and assign entitlements via APIs (AD, Entra ID/Graph, SaaS SCIM).
5. Deliver credentials securely (temporary access pass, passwordless onboarding).
6. Log every action and close the request with evidence.
| Control | Purpose |
|---|---|
| Role-based entitlements | No copy-of-another-user access |
| Expiry for contractors | Automatic end date |
| SCIM provisioning | Consistent SaaS accounts and deprovisioning |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security Automation > Account Provisioning. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.oasis-open.org/cacao/security-playbooks/v2.0/security-playbooks-v2.0.html · confidence 94%