> 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/device/security/enable-or-disable-device.md).

# Gerät aktivieren oder deaktivieren

### Beschreibung

Dieses Runbook aktiviert oder deaktiviert ein Windows-Geräteobjekt in Entra ID (Azure AD) basierend auf der angegebenen Geräte-ID. Verwenden Sie es, um Anmeldungen von einem kompromittierten oder verlorenen Gerät vorübergehend zu blockieren oder das Gerät nach der Behebung erneut zu aktivieren.

### Ort

Gerät → Sicherheit → Gerät aktivieren oder deaktivieren

**Vollständiger Runbook-Name**

rjgit-device\_security\_enable-or-disable-device

### Berechtigungen

#### Anwendungsberechtigungen

* **Typ**: Microsoft Graph
  * Device.Read.All

#### RBAC-Rollen

* Cloud-Geräteadministrator

### Parameter

#### DeviceId

Die Geräte-ID des Zielgeräts.

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

#### Aktivieren

"Gerät deaktivieren?" (Endwert: false) oder "Gerät erneut aktivieren?" (Endwert: true) können als auszuführende Aktion ausgewählt werden. Wenn auf false gesetzt, deaktiviert das Runbook das Gerät in Entra ID (Azure AD). Wenn auf true gesetzt, aktiviert das Runbook das Gerät in Entra ID (Azure AD) erneut.

| Eigenschaft  | Wert     |
| ------------ | -------- |
| Erforderlich | false    |
| Standardwert | False    |
| Typ          | Boolesch |

[Zur Übersicht der Runbook-Referenz zurück](/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:

```
GET https://docs.realmjoin.com/de/automatisierung/runbooks/runbook-references/device/security/enable-or-disable-device.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.
