> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/de/automatisierung/runbooks/runbook-references/org/security/list-inactive-devices.md).

# Inaktive Geräte auflisten

### Beschreibung

Sammelt Geräte basierend auf entweder der letzten interaktiven Anmeldung oder dem letzten Intune-Synchronisierungsdatum und listet sie in der Konsole auf. Exportiert die Ergebnisse optional in eine CSV-Datei in Azure Storage.

### Ort

Organisation → Sicherheit → Inaktive Geräte auflisten

**Vollständiger Runbook-Name**

rjgit-org\_security\_list-inactive-devices

### Details

| Eigenschaft          | Wert                                                               |
| -------------------- | ------------------------------------------------------------------ |
| Version              | 1.0.1                                                              |
| Erforderliche Module | <p>RealmJoin.RunbookHelper (>= 0.8.9)<br>Az.Storage (>= 9.7.2)</p> |
| Planbar              | nein                                                               |

### Berechtigungen

#### Anwendungsberechtigungen

* **Typ**: Microsoft Graph
  * DeviceManagementManagedDevices.Read.All
    * *Listet Geräte ohne kürzliche Intune-Synchronisierung auf, wenn nach dem Synchronisierungsdatum geprüft wird*
  * Directory.Read.All
    * *Liest Details zum Besitzerbenutzer, um jedes veraltete Gerät anzureichern*
  * Device.Read.All
    * *Listet Entra-Geräte nach dem letzten Anmeldedatum auf und liest ihre registrierten Besitzer aus*

### Parameter

#### Tage

Anzahl der Tage ohne Synchronisierung oder Anmeldung, nach denen ein Gerät als inaktiv gilt.

| Eigenschaft  | Wert   |
| ------------ | ------ |
| Erforderlich | falsch |
| Standardwert | 30     |
| Typ          | Int32  |

#### Synchronisierung

Wenn auf true gesetzt, basiert die Inaktivität auf der letzten Intune-Synchronisierung; andernfalls basiert sie auf der letzten interaktiven Anmeldung.

| Eigenschaft           | Wert                                                 |
| --------------------- | ---------------------------------------------------- |
| Erforderlich          | falsch                                               |
| Standardwert          | Wahr                                                 |
| Typ                   | Boolescher Wert                                      |
| Anzeigename im Portal | Letzte Anmeldung oder letzte Intune-Synchronisierung |

**Portaloptionen**

| Portaloption                                  | Wert |
| --------------------------------------------- | ---- |
| Nach letzter Intune-Synchronisierung anzeigen |      |
| Nach letzter Anmeldung anzeigen               |      |

#### ExportToFile

Wenn auf true gesetzt, exportiert die Ergebnisse in eine CSV-Datei in Azure Storage.

| Eigenschaft  | Wert            |
| ------------ | --------------- |
| Erforderlich | falsch          |
| Standardwert | Falsch          |
| Typ          | Boolescher Wert |

**Portaloptionen**

| Portaloption                  | Wert |
| ----------------------------- | ---- |
| In eine CSV-Datei exportieren |      |
| In der Konsole auflisten      |      |

#### ContainerName

Name des Azure Storage-Containers, in den der CSV-Bericht hochgeladen wird.

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | falsch       |
| Standardwert |              |
| Typ          | Zeichenfolge |

#### ResourceGroupName

Name der Azure-Ressourcengruppe, in der sich das Storage Account befindet.

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | falsch       |
| Standardwert |              |
| Typ          | Zeichenfolge |

#### StorageAccountName

Name des für den Upload verwendeten Azure Storage Account.

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | falsch       |
| Standardwert |              |
| Typ          | Zeichenfolge |

#### StorageAccountLocation

Azure-Region für das Storage Account, falls es erstellt werden muss.

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | falsch       |
| Standardwert |              |
| Typ          | Zeichenfolge |

#### StorageAccountSku

SKU-Name für das Storage Account, falls es erstellt werden muss.

| Eigenschaft  | Wert         |
| ------------ | ------------ |
| Erforderlich | falsch       |
| Standardwert |              |
| Typ          | Zeichenfolge |

[Zurück zur Übersicht der Runbook-Referenz](/de/automatisierung/runbooks/runbook-references.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.realmjoin.com/de/automatisierung/runbooks/runbook-references/org/security/list-inactive-devices.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
