Provisioning
Decisions become changes in the target system.
A decision changes nothing until the target system changes. Owlie works out what has to change, runs it step by step, records every attempt, and after a failure picks up from the step that failed.
Nora Chen · Collaboration account
Last known state
- Account
- Active
- Department
- Engineering
- Memberships
- Engineering, Analytics
Desired state
- Account
- Active
- Department
- Product
- Memberships
- Product, Analytics
Read the provisioning example
What needs to change
- ChangeDepartment · Engineering → Product
- AddProduct membership
- RemoveEngineering membership
- KeepAnalytics membership
- KeepExisting account active
The connector operations
Update department
Set Department to Product.
Add Product membership
Add Product to the existing account.
Remove Engineering membership
Remove Engineering from the existing account.
The account stays active. Unchanged memberships need no operation.
Successful run
All planned changes completed. Provisioning result: Active account · Department Product · Product and Analytics memberships.
Provider rate limit and recovery
Two steps complete. One waiting to retry. The provider rate-limited the removal. Department and Product membership have already changed; Engineering membership is still present. Partial result. Completed changes have not been rolled back.
Retry the unfinished removal. Earlier completed steps are not repeated. Last fully applied version stays 41 during partial execution and becomes 42 after completion. A later independent sync observation is a separate fact.
Without Analytics in the desired set
- ChangeDepartment · Engineering → Product
- AddProduct membership
- RemoveEngineering membership
- RemoveAnalytics membership
- KeepExisting account active
Update department
Set Department to Product.
Add Product membership
Add Product to the existing account.
Remove Engineering and Analytics memberships
Remove Engineering and Analytics from the existing account.
The removal step removes Engineering and Analytics. If rate-limited, both remain until that step succeeds. The final intended membership is Product only.
Example assumptions
One existing account. A complete recent observation. Supported attribute and membership operations. No new changes arrive during this example.
The desired state is already established; this example starts at provisioning. These are explanatory stages, not a required manual workflow.
How an operation runs
The five steps of an operation.
An operation is one unit of work on one account, and it can start from an approved request, a policy, an administrator, a review decision or a schedule.
Intent arrives.
Owlie validates each operation before accepting it, and a retried submission with the same key lands on the same operation instead of a second one.
Desired state resolved.
The Resource’s provisioning profile, the person’s attributes and the operation combine into the account’s desired state, which gets a new version on every change.
Plan built.
Owlie plans only the difference between the desired state and what it last saw on the target, so unchanged memberships need no operation.
Steps run.
Each step runs against the target, and a provider error comes back classified: an expired credential waits for a fix, a rate limit is retried.
Result applied.
When the run completes, Owlie writes the applied version, an account snapshot and the access facts in one transaction; until then the applied version is unchanged.
Four ways to carry out the work.
Each Resource chooses how its changes are carried out, and every path produces the same operation, history and result for whoever asked.
Connector
A connector makes the change in the target system, sending only the steps the plan calls for.
Ticket
Owlie opens a ticket for a person or group and holds the operation until they finish; an away assignee’s delegate can complete it.
Function
Your own TypeScript provisions or revokes in a system no connector reaches.
Virtual
For access that lives only in Owlie, such as a role or membership with no external system behind it.
Before-and-after hooks run on connector-fulfilled Resources.
One decision can take months.
Disable today, archive next month, delete after ninety days, all defined once on the Resource.
- Day 0DisableDisabled at once.
- Day 0–30Wait 30 daysDisabled and recoverable.
- Day 30ArchiveA connector operation you choose.
- Day 30–90Wait 60 daysGoes on only if the account is as the sequence left it. Cancelled after day 41.
- Day 41Rehired
- Day 90Cancelled:DeleteThe account is deleted.
The pending steps are cancelled. When policy grants the access again, the same account is re-enabled, with its history.
Each step checks first.
Between steps the account stays disabled and recoverable, and a later step runs only if the account is still as the sequence left it.
A rehire cancels pending steps.
Owlie cancels the pending steps, and when policy grants the access again, it re-enables the same account with its history.
Archive with an operation you choose.
A step can run a connector operation you choose, such as moving the account to an archive unit in the directory.
Sequences are linear.
A sequence is a fixed list of steps with no branches or loops, so what will happen to an account can be read off its Resource.
Waiting for something outside Owlie.
A provision can pause until an identity-proofing service or an administrator resumes it, with a time limit and a set outcome if it passes.
When something fails
Retry is one action.
A failed operation is retried from the step that failed, using the configuration as it is now.
Completed steps are kept.
Completed changes are not rolled back when a later step fails, and a retry does not normally repeat them unless you changed them.
One fix, many retries.
After a misconfiguration fails many operations at once, an administrator fixes it and retries them together with one confirmation.
No duplicate accounts.
If Owlie is unsure whether an account already exists, a retry reads the target first and adopts the account, or stops, instead of creating a duplicate.
Uncertain steps are held.
A step that may have reached the target, whose outcome cannot be proved and which is unsafe to repeat, is held for a person to check.
Every attempt is recorded.
Each attempt’s steps are recorded with their result and any provider error, and a retry on a new plan marks old steps superseded, not erased.
A refused Grant does not block the rest.
A Grant the target refuses fails alone, with the target’s reason on it, while the other changes land; it waits for a fix and a retry.
Sensitive values are left out.
The record leaves out sensitive account fields, so a password set during provisioning is not written into history.
Attributes and timing
The parts of an account that are hard to get right.
References in the target’s own format.
Map a manager attribute to the relationship, and Owlie writes the manager’s account the way the target expects, such as a directory distinguished name.
Onboard in any order.
Provision someone before their manager’s account exists, and the reference waits, then fills in once that account appears by provisioning or by sync.
Attributes that stay current.
Mark an attribute to be kept in sync, and a changed title, department or manager is pushed to the existing account; credentials are not synced out.
Access that starts later.
Access can carry a start time as well as an end, and nothing reaches the target before the start; a window already past is not provisioned.
Break it on purpose.
Sign up free and run provisioning against the Simulated Directory: no credentials for a live system needed. Fail a step, retry it, and read the record.