> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oleria.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Disable dormant accounts

> Find accounts inactive beyond a threshold you set and disable them on a schedule, with approval required by default.

Instead of disabling accounts one-off, the **Disable dormant accounts** workflow finds accounts inactive beyond a threshold you set and disables them on a schedule, with approval required by default.

> [!NOTE]
>
> This is different from the [Disable accounts and identities](https://docs.oleria.com/governance/disable-accounts.md) one-off action, where approval is off by default. Here, approval is on by default instead - but whoever builds the workflow can turn it off, and the accounts are then disabled without a human decision.

## How this workflow is built

**1. Trigger**

Oleria has already set the schedule for this workflow: **Once Daily**. It's read-only, so you can't change the frequency, time, or day it runs.

**2. Filter records**

Define the filters that identify a dormant account, such as:

* **Dormant days** - the number of inactive days before an account qualifies, for example 90.
* **Is Admin account (optional)** - whether to limit the workflow to administrator accounts. Defaults to **True**.
* **Application instance** - which connected application instances to include. Required - you must select at least one.

**3. Approvals**

Approval is on by default. Whoever builds the workflow can turn it off - if they do, matching accounts are disabled automatically, without a human decision.

If approval stays on, set the approver role (for example, **Manager**) and an alternate approver to fall back to. What happens on a denial isn't configurable: Oleria disables accounts only when a request is approved, and takes no action if it's denied.

**4. Notifications**

Optionally select **Notify Me** so Oleria sends a notification when approvals and remediations for this workflow are completed.

## Reviewing runs

Select the workflow's **Runs** tab to see its execution history - when it ran, what it found, and what action it took. See [Workflow templates](https://docs.oleria.com/posture/workflows-overview.md#workflow-templates) for how to start one from scratch.

## Contact us

For questions, contact us at [support@oleria.com](mailto:support@oleria.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.