Account adoption
Adoption means Owlie starts managing an account that already exists, without creating a second one. The existing account becomes the person's assigned resource, and from then on Owlie provisions changes to it like any account it created.
Adoption is separate from matching. Account matching decides which identity an account belongs to. Adoption decides whether that account is also the person's access to a resource that Owlie manages. An account can be linked to an identity and stay unmanaged.
There are three ways an existing account is adopted:
- Sync finds an account that belongs to a person who has no assigned resource for it.
- Owlie is about to provision a resource and the person already has a linked account.
- Owlie tries to create an account and the connected system says the username is taken.
Sync finds an account nobody assigned
On an account sync job that targets a resource, the Assigned Resource Action step on the job's Behavior tab says what happens when an account matches an identity that has no assigned resource for it:
| Action | Result |
|---|---|
| Adopt | The account becomes the person's assigned resource. This is what a new job that targets a resource uses. |
| Adopt after review | The account waits for an administrator's decision before Owlie manages it. |
| Flag | Owlie records the account against the identity and flags it. Nothing is managed. |
| Ignore | Owlie records the account against the identity and does nothing else. |
A job that only syncs identities has no resource to assign, so it never adopts.
An adopted account's reason for existing is that Owlie observed it. It has no request or policy behind it until one is added, which matters when you review why someone has access. The account's existing Grants follow the job's assignment policy: Owlie adopts them as intended access only where the policy says to adopt, the account is active, and the sync read that kind of Grant completely. See Configure sync behavior.
Review accounts before adopting them
With Adopt after review, matched accounts collect on the Adoption review page, at
/admin/sync/adoptions in the dashboard. Each row shows the Identity, the Resource, the
Account and what it was Matched by.
- Approve adopts the account, exactly as Adopt would have.
- Reject records that the account stays unmanaged. It remains linked to the identity and flagged.
You need permission to modify sync to decide. Without it the page is read-only.
The person already has a linked account
Sync can link an account to an identity without adopting it, for example when the action above is Ignore, or when someone accepted an invitation before Owlie assigned them the resource. When Owlie later provisions that resource for the person, it looks for a linked account first:
- One eligible account: Owlie adopts it and carries on, without creating anything.
- None: Owlie creates the account as usual.
- Several: Owlie doesn't guess. The assigned resource shows Pick account, and the operation waits. Open the assigned resource from the identity's Resources tab. Under Account, select Use this account beside the right one.
An account that another active assigned resource already owns isn't eligible. In the picker it reads In use.
The username is already taken
When Owlie creates an account and the connected system reports that the username already exists, the resource's provisioning profile decides how provisioning continues. Open the resource's Provisioning tab and expand Provision. Under When the account already exists, choose an Action:
- Create it with the next username (default): try the next value from the naming rule.
- Adopt it if it matches this person: look up the existing account and check every match rule. If the account matches and no other active assigned resource owns it, Owlie uses that account. Otherwise, Owlie tries the next username.
- Fail: stop provisioning and show the attempted identifier in the error.
For Adopt it if it matches this person, select Add match rule. Choose a readable account
attribute under Account attribute and enter an identity expression such as identity.email for
Identity value. Add at least one rule before saving, because Owlie refuses to save this action without
one. For example, compare the account's email attribute with identity.email. Every rule must match
exactly. There is no fuzzy matching.
Match rules exist so that a name collision alone never hands someone another person's account. A former employee's disabled account with the same username fails the email rule, and Owlie moves on to the next username. If no username remains after a mismatch, the operation fails.
Match rules also help a retry. If an earlier attempt may have created the account before it failed, the retry looks for that account and uses it only once it can confirm the account is the same one. On a connected system with no stable account ID, the match rules are what confirm it. Owlie doesn't create a second account.
After an account is adopted
Owlie applies the profile's managed attributes and Grants to the adopted account. Values that only apply at creation don't overwrite what the account already has, and the account keeps its own password. Check the account and the provisioning operation to confirm the result.
Owlie never moves an account from one active assigned resource to another on its own. An operation that would do so fails with an ownership conflict, and nothing is changed. Resolve the duplicate identifier, then retry.
Adopt Grants on an account Owlie already manages
Sync can also find Grants on a managed account that nothing in Owlie intends, for example a group someone added in the connected system. On the assigned resource's Access tab these read Unmanaged. To accept them:
- Select the Grants, or use Select all matching unmanaged grants.
- Select Adopt selected.
- Enter a Reason and select Adopt grants.
Adopting makes the access managed by Owlie without changing the connected system. Revoke selected does the opposite: it removes the Grants from the connected system through a provisioning operation that you can follow on the Operations tab.
To have sync adopt or remove such Grants without asking, set the job's assignment policy. See How provisioning and reconciliation work.
Resources whose accounts are created outside Owlie
Some connectors can write Grants but can't create accounts. For those resources Owlie always adopts: it waits for the account to appear, then manages the Grants on it.
- The assigned resource shows Awaiting account. If the resource has an owner, the owner gets a ticket to create the account. Access is applied once sync links the account to the person.
- If several accounts could be the person's, the assigned resource shows Pick account and you choose one, as above.
- If the owner declines the ticket, the assigned resource shows Account declined and the operation fails. Retry the operation to ask again.
Revoking such a resource removes the Grants Owlie manages and releases the account. Owlie doesn't disable or delete an account it never created.