> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/de/scepman-konfiguration/device-directories.md).

# Geräteverzeichnisse

SCEPman bietet zwei Optionen zur Validierung von Gerätezertifikaten (z. B. für OCSP-Anfragen) an. Beide Verzeichnisse speichern Geräteobjekte mit unterschiedlichen IDs, deren Vorhandensein von SCEPman überprüft wird:

* Microsoft Entra ID (Azure AD) Geräte-ID
* Intune (Intune Geräte-ID)

Diese IDs sind in Intune pro Gerät unter der Registerkarte "Hardware" sichtbar:

![](https://2075553437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2Fgit-blob-d44ef355496196be88c70825db9d9249a4258254%2Fimage.png?alt=media)

Um das Gerät hinter einem ausgestellten Zertifikat zu erkennen, benötigt SCEPman die entsprechende **ID im Subjektnamen**:

* Microsoft Entra ID (Azure AD): `CN={{AAD_Device_ID}}`
* Intune: `CN={{DeviceId}}`

Bei der Einrichtung von SCEPman und Zertifikatsprofilen in Intune ist es wichtig, **zu entscheiden, welches Inventar verwendet werden soll**.

### Entra ID vs. Intune

Beide Verzeichnisse haben ihre Vor- und Nachteile. Im Allgemeinen **empfehlen wir Intune** als Ihr Inventar:

* **Die Entra Geräte-ID kann sich während der Registrierung ändern (zu sehen auf iOS/iPadOS/macOS)**:\
  Die Entra Geräte-ID ist bis zum endgültigen Entra-ID-Registrieren des Geräts auf die Intune-Geräte-ID gesetzt. Intune stellt das Zertifikat bereits aus, bevor das Gerät seine endgültige ID erhält. Dadurch kann SCEPman das Gerät nach dieser ID-Änderung in Entra ID nicht finden.
* **Intune wird oft besser gepflegt als Entra ID**:\
  Theoretisch sind die Geräteobjekte in Entra ID und Intune voneinander unabhängig. Das Löschen eines Geräts in Intune löscht das entsprechende Entra ID-Objekt nicht. Außerdem können Autopilot-Geräte nur in Intune und nicht in Microsoft Entra ID gelöscht werden, sodass die Zertifikate weiterhin gültig wären.

### SCEPman-Konfiguration

SCEPman muss wissen, welches Verzeichnis bzw. welche Verzeichnisse für die Validierung verwendet werden sollen. Daher bieten wir die Konfigurationsoption[Intune-Validierung](/de/scepman-konfiguration/application-settings/scep-endpoints/intune-validation.md#appconfig-intunevalidation-devicedirectory). Bitte passen Sie diesen Wert an Ihre Bedürfnisse an.

### Zertifikatsprofile

Bitte passen Sie auch den Subjektnamen entsprechend Ihren Bedürfnissen an, wie unter [Microsoft Intune](/de/zertifikatsverwaltung/microsoft-intune.md).

Bitte beachten Sie, dass `CN={{DeviceId}}` derzeit für Android Enterprise Fully Managed, Dedicated und Corporate-Owned Work Profile nicht unterstützt wird, wie in [Microsoft-Dokumentation](https://docs.microsoft.com/en-us/mem/intune/protect/certificates-profile-scep#create-a-scep-certificate-profile). Wenn diese Gerätetypen verwendet werden, sollten Sie erwägen, beide Verzeichnisse oder nur Microsoft Entra ID zu überprüfen.

Für **die Migration** von Microsoft Entra ID zu Intune ID oder umgekehrt, **Zertifikate** müssen **auf allen Clients neu ausgestellt werden**. Konfigurieren Sie SCEPman während dieser Änderung bitte über [Intune-Validierung](/de/scepman-konfiguration/application-settings/scep-endpoints/intune-validation.md#appconfig-intunevalidation-devicedirectory) um beide Verzeichnisse zu überprüfen (damit beide IDs gültig sind). Nach der Migration können Sie auf Intune oder Entra ID als einziges Verzeichnis umstellen.


---

# 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.scepman.com/de/scepman-konfiguration/device-directories.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.
