Skip to main content

Lifecycle and removal behavior

When someone's access to a resource ends, Owlie runs a Revoke operation on their account. What that does to the account is the resource's choice: disable it, delete it, or disable it now and delete it later. Removing a single Grant is a smaller change that leaves the account alone.

This page covers what provisioning does once removal is decided. Why someone has access covers the decision itself: access is removed when its last reason ends.

What starts a removal​

  • An administrator revokes the assigned resource, or removes a Grant, from the identity's Resources tab.
  • Timed access reaches its end.
  • A policy stops granting the access, or a deny policy starts covering it.
  • A reviewer chooses Revoke in an access review.
  • The identity becomes Terminated. The built-in Terminated access deny removes the person's access, except what you keep for a handover. See People lifecycle.

Each of these ends a reason. If another reason still holds the account, for example a policy that grants the same resource, the revoke leaves the account in place. To take the account away from someone a policy covers, change the policy or add a deny.

What a revoke does to the account​

Open the resource's Provisioning tab and expand Revoke. Under Lifecycle, Account state sets what the account becomes:

Account stateIn the connected systemIf the person comes back
DisabledThe account is suspended and kept, with its history.The same account is re-enabled.
DeletedThe account is removed, along with whatever it holds.Owlie provisions a new account.

Remove managed Grants is selected unless you clear it. With it selected, a revoke also removes the Grants Owlie manages on the account. When Owlie deletes an account, it removes those Grants first and deletes the account afterward.

The same setting appears under People lifecycle on the Terminated page, in the table Each resource, when someone is terminated. Its What happens to the account column offers Disable the account now, Delete the account now and Disable now, delete later. Changing it there changes the resource's profile, so it applies to every revoke of that resource, not only to terminations.

After the operation is fulfilled, the assigned resource reads Disabled or Revoked.

Disable now, delete later​

A disabled account can be deleted after a delay without anyone opening a second request. In the Revoke step's Hooks, keep Account state at Disabled, then add to After a Wait step and a Follow-up operation step set to Revoke with Then delete the account selected.

While the wait runs, the Schedule section of the assigned resource's side panel says the account is disabled and a later stage is queued, with the time it resumes. If the person is rehired first, the new operation cancels the pending delete and re-enables the same account. Hooks and delayed operations has the full procedure.

How the fulfillment type changes a revoke​

The resource is fulfilled byA revoke
A connector that creates accountsDisables or deletes the account as Account state says.
A connector that manages Grants onlyRemoves the Grants Owlie manages and releases the account. Owlie never disables or deletes an account it didn't create, whatever Account state says.
A person or a groupOpens a fulfillment ticket. The operation stays Fulfilling until the fulfiller completes it. See Manual fulfillment.
A functionCalls the function to remove the account. A function-fulfilled account is always removed, never disabled.
Nothing outside Owlie (Virtual)Ends the assigned resource in Owlie. There is no connected system to change.

If the connector can't perform the operation the profile asks for, for example disabling on a system that only supports deleting, the operation fails with an unsupported-operation error. Change Account state, then retry the operation.

Removing one Grant​

Removing a Grant from an account leaves the account and its other Grants alone.

  1. Owlie stops intending the Grant. On the assigned resource's Access tab the Grant reads Removal pending.
  2. A Remove Grants operation removes it in the connected system.
  3. The removal is complete once the connected system confirms the revoke, Owlie has read that the Grant is absent, or the account itself is gone.

A few rules shape this:

  • A policy can keep it. If a policy still grants the Grant, it stays, and the row says "Kept: a policy still grants this".
  • Access it brought goes too. Access the Grant needed, such as an organization membership, is removed with it unless something else still holds that access.
  • A Grant that never reached the connected system is removed in Owlie only. That covers a failed Grant and one that was scheduled but not yet added.
  • Owlie needs a complete read before it removes. If Owlie doesn't have a complete, current list of that kind of Grant for the account, it reads the account from the connected system first. If that read fails, the removal waits and the Grant stays Removal pending.
  • A failed removal stays pending. The Grant remains Removal pending until the operation is retried successfully. See Investigate a failed provisioning operation.

Owlie removes only Grants it manages on the account. A Grant that someone added in the connected system and Owlie never adopted is not removed by a revoke with Account state set to Disabled. You can remove it by hand from the Access tab. See Account adoption.

For the controls, see Remove a Grant instead.

Timed access​

Access granted for a limited time carries its end with the reason, not with the account. Every timed reason, whether for an account or for one Grant, gets its own expiry.

  • When the end arrives, Owlie ends that reason only. If a policy or another request still gives the access, it stays with no gap. If it was the last reason, Owlie removes the Grant, or revokes the account as described above.
  • Extending or shortening moves the end. An expiry that was scheduled for the old end no longer removes anything.
  • Access that starts later waits as a Waiting operation, and the assigned resource reads Scheduled when the resource has limited seats or allows one account per person. Nothing is written to the connected system until the start time.
  • A start that arrives too late fails. If an operation becomes due after its access window has already ended, it fails without granting anything.

Access windows and expiration covers how requests set these times.

A failed account that is no longer wanted​

A removal never has to wait for a failed provision to be fixed. A failed assigned resource that never created an account is removed in Owlie without contacting the connected system, whether an administrator, a policy, a review or a termination removes it.

Seats and rehires​

A disabled account still occupies a seat on a resource with a seat limit. A revoked one doesn't. On a resource that allows one account per person, a disabled account is also what a rehire gets back: Owlie re-enables it, with its history and Grants following once it is active again. After a delete, the next provision creates a new account.

Owlie re-enables on its own only an account that a policy or a delayed revoke disabled. An account an administrator disabled by hand stays disabled.

Removal work is never queued behind other provisioning. Owlie reserves capacity for revokes, disables and Grant removals, so they keep running when ordinary provisioning is busy.