Skip to main content

Investigate a failed provisioning operation

When Owlie can't set up an account for someone, it keeps your decision that they should have the resource. The failed provision stays on the identity as a failed assignment, with the error shown, so you can fix the cause and retry. Nothing is lost and you don't need to submit the request again.

This page covers failures that happen before Owlie changes anything in the connected system. A typical cause is a required account attribute with no mapping, for example a connection name that your provisioning profile never fills in. When the connected system refuses a single Grant on an account that exists, only that Grant fails. See Retry or remove a failed Grant.

What a failed provision looks like​

  • The assignment stays on the identity's Resources tab with a Failed badge, the first line of the error, and a Retry button.
  • The assignment counts as held. A license or seat it takes stays taken, and requests, reviews and removal treat the person as having the resource.
  • Administrators get a notification that the provisioning operation failed, linking to the failed assignment.
  • The assignment's detail page shows "Provisioning failed before any change was made" with the full error and Retry.

Read the failed operation​

Open Integrations > Operations. By default the list shows operations that are still open, which includes failed ones. Narrow it with Status is Failed, Resource is or Identity is, then select the operation. You can also open it from the Operations tab of the assigned resource. The operation's panel shows, from the top:

  • Operation and Status, with the four phases resolve, observe, apply and finalize. The phase marked failed tells you how far Owlie got. See Operation statuses.
  • Retry attempts, as attempts used out of the maximum, and a retry banner (below).
  • Source: the request, policy, sync run, review or administrator that started the operation.
  • Error: the message Owlie recorded when the operation stopped.
  • Current Desired State, with Desired version and Applied version. When the applied version is behind the desired version, changes are still owed to the account.
  • Current Step State: every step Owlie ran, in order, such as pre-flight, create-account, set-attributes and one step per Grant, each with its result.

Expand the failed step for the connector's error. It shows the error codes Owlie and the connector assigned, the message, and under Provider response what the connected system returned. That response is usually the most direct statement of what to fix.

When resolution fails, the panel shows Desired state as "Not created" and Target request as "Not sent", and no steps are listed. Nothing reached the connected system, so the cause is in Owlie's configuration: a required attribute with no mapping, an expression that fails, or a Grant the resource can't write.

Will it retry on its own?​

The retry banner on the operation answers this:

BannerMeaningWhat to do
Automatic retry waitingThe error looked temporary. Owlie retries after a delay, and the operation is still Fulfilling.Wait, or select Retry now to run the attempt early.
Provider pacingOwlie is waiting for the connected system's rate limits.Wait. This is not a failure.
Retry attempts exhaustedOwlie retried a temporary error until its attempts ran out. The operation is Failed.Fix the connected system's problem, then select Retry.
Non-retryable failure or Non-retryable provider errorTrying again unchanged can't succeed. The operation is Failed.Fix the cause, then select Retry.

Owlie retries rate limits and other errors the connector reports as temporary. It never retries an authentication failure, an unsupported operation, an expression error or a value the connected system rejects. Those need a change first: reconnect the integration, correct the profile, or fix the person's data.

Fix the cause and retry​

  1. Read the error on the failed assignment. It names the attribute or setting that blocked provisioning.
  2. Fix it in the resource's provisioning profile, the integration, or the identity's attributes.
  3. On the identity's Resources tab, or on the assignment's detail page, select Retry. You need permission to modify provisioning.

Retry works out the account again from the current configuration, so your fix is picked up. It doesn't replay the earlier attempt. The assignment moves to provisioning, and the failure clears once the account is created.

Saving a configuration change doesn't retry anything on its own. Select Retry after you save.

You can also retry from the failed operation in the operation inspector. If the operation is the one that created the assignment, it does the same thing. To retry many failed operations at once, such as everything one sync run failed, see Retry many failed operations at once.

A retried change that was cancelled before it ran​

If you retry a failed operation on an account that was never provisioned, then cancel it before it runs, nothing is left to provision the account. The assignment then shows "A change to this account was abandoned before it applied" with Retry.

Select Retry on the identity's Resources tab or on the assignment's detail page. Owlie provisions the account again from your current configuration, as a new operation in your name.

Retry is offered there only when nothing else can finish the account. If another failed operation is still on the account, retry that operation instead. If Owlie already provisioned the account before the change was cancelled, the next change you make to the account applies it. If the account came from a request, submit the request again: cancelling the provision withdrew it from the request, so Retry is refused.

Retry doesn't change why the person has the account. If a policy, a request or an admin gave it, that stays the reason, so a policy that later stops granting the resource still removes the account. If nothing grants the account any more, Retry is refused.

The new operation starts fresh. Approvals and timers that the cancelled attempt already completed are asked again, and its hooks run again. An account the cancelled attempt already created is found and used, never created a second time.

Remove a failed assignment instead​

If the person shouldn't have the resource, revoke it. A failed assignment that never created an account is removed in Owlie without contacting the connected system. Leaver, review and policy removals work the same way, so a failure never blocks them.

If the assignment came from a policy, the policy doesn't retry it for you: select Retry once the cause is fixed. If the policy no longer grants the resource, Retry is refused and the policy removes the assignment.

Limits​

  • Retry may be refused. Retry is refused while another operation on the assignment is still running. Try again when it finishes. For a failed provision, it isn't offered once a provisioning step has already completed in the connected system. Retry the failed operation instead. That retry also uses your current configuration and continues from the step that failed, without repeating steps that already succeeded unless you edited them. See Retry many failed operations at once.
  • Timed assignments keep their seat. A failed assignment with an end date holds its seat until you retry or revoke it. Retrying after the end date fails and releases it.
  • Extra Grants wait. Requests for additional Grants on a failed account fail until the account is retried. Grants that a policy would add are held back and sent after the account is created.
  • A rejected provision is released. If the request was withdrawn or rejected, the window has passed, or the operation was cancelled, Owlie releases the assignment instead of keeping it.