---
title: "Provisioning | Owlie"
description: "Owlie turns each access decision into a plan, runs it step by step, records every attempt, and picks up from the failed step on retry."
canonical: "https://owlie.com/platform/provisioning"
---

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.

[Sign Up Free](https://owlie.com/signup) [See the whole platform](https://owlie.com/platform)

Figure: The plan Owlie works out for one account when its owner changes department: what to change, add, remove and keep. Illustrative example · one account, one change of department.

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.

### 1. 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.

### 2. 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.

### 3. 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.

### 4. 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.

### 5. 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.

Figure: One revoke over ninety days: disabled at once, archived next month and deleted at the end, unless a rehire cancels the steps still pending. Illustrative example.

### 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.

Related:

- [Access requests](https://owlie.com/platform/access-requests)
- [Policy engine](https://owlie.com/platform/policy-engine)
- [Identity Store](https://owlie.com/platform/governance)
- [Functions & OXL](https://owlie.com/platform/extensibility)

## 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.

[Sign Up Free](https://owlie.com/signup) [See the whole platform](https://owlie.com/platform)
