# Find inactive devices

Reviews Intune-managed device inactivity by sync age, compliance, OS, ownership, and enrollment signals with review-first cleanup guidance.

## Classification

| Field               | Value                   |
| ------------------- | ----------------------- |
| Agent ID            | `find-inactive-devices` |
| Version             | `1.1.0`                 |
| Mode                | `read`                  |
| Tier                | `agent`                 |
| Category            | `devices`               |
| Required Entra tier | `free`                  |
| Preferred model     | `llama3.1:8b`           |
| Minimum app version | `0.1.0`                 |
| Author              | OpenAdminOS · verified  |
| Last changed        | 2026-05-29 · `3a69fc6`  |

## Tenant Data Access

| Step                          | Graph call                             | Scopes                                    |
| ----------------------------- | -------------------------------------- | ----------------------------------------- |
| Load managed device inventory | `GET /deviceManagement/managedDevices` | `DeviceManagementManagedDevices.Read.All` |

## Graph Scopes

* `DeviceManagementManagedDevices.Read.All`

## Write Behavior

This is a read-only agent. It does not declare write operations.

## LLM Use

| Step                              | Settings                         |
| --------------------------------- | -------------------------------- |
| Summarize findings with local LLM | temperature 0.2 · max tokens 420 |

## Settings

| Setting      | Type    | Default | Description                                                          |
| ------------ | ------- | ------- | -------------------------------------------------------------------- |
| `warnDays`   | integer | `30`    | Devices inactive at least this many days enter the warn band.        |
| `staleDays`  | integer | `90`    | Devices inactive at least this many days enter the stale band.       |
| `retireDays` | integer | `180`   | Devices inactive at least this many days are flagged for retirement. |

## Source

* [Agent source](https://github.com/OpenAdminOS/OpenAdminOS/tree/main/agents/find-inactive-devices)
* [Manifest](https://github.com/OpenAdminOS/OpenAdminOS/blob/main/agents/find-inactive-devices/manifest.yaml)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openadminos.com/agents/find-inactive-devices.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
