> 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/application-settings/dependencies-azure-services/azure-ad.md).

# Microsoft Entra ID (Azure AD)

{% hint style="info" %}
Diese Einstellungen sollten nur auf den SCEPman App Service angewendet werden, nicht auf den Certificate Master. Bitte siehe [SCEPman-Einstellungen](/de/scepman-konfiguration/application-settings.md).
{% endhint %}

## AppConfig:AuthConfig:ApplicationId

*Linux: AppConfig\_\_AuthConfig\_\_ApplicationId*

Das [Anwendungs-(Client-)ID](/de/scepman-bereitstellung/permissions/azure-app-registration.md#basic-app-registration-application-id) aus Ihrer Microsoft Entra ID (Azure AD) App-Registrierung. Diese Einstellung wird während des Setups konfiguriert.

{% hint style="warning" %}
Bitte verwechseln Sie dies nicht mit der "Client Secret ID". Wir benötigen hier die "Application (client) ID".
{% endhint %}

{% hint style="danger" %}
Änderungen können Ihrem Dienst schaden!
{% endhint %}

## AppConfig:AuthConfig:ApplicationKey

*Linux: AppConfig\_\_AuthConfig\_\_ApplicationKey*

Das [Anwendungsschlüssel (Client Secret **Wert**)](/de/scepman-bereitstellung/permissions/azure-app-registration.md#azure-app-registration-client-secret) aus Ihrer Microsoft Entra ID (Azure AD) App-Registrierung. Diese Einstellung wird während des Setups einer SCEPman 1.x-Version konfiguriert. SCEPman 2.x verwendet diese Einstellung normalerweise nicht und setzt stattdessen auf [Authentifizierung über Managed Identity](/de/scepman-bereitstellung/permissions/post-installation-config.md).

{% hint style="warning" %}
Bitte verwechseln Sie dies nicht mit dem "Client Secret **ID**". Hier benötigen wir den "Client Secret **Wert**".
{% endhint %}

{% hint style="danger" %}
Änderungen können Ihrem Dienst schaden!
{% endhint %}

## AppConfig:AuthConfig:TenantId

*Linux: AppConfig\_\_AuthConfig\_\_TenantId*

Die Microsoft Entra ID (Azure AD) Tenant ID. Diese Einstellung wird während des Setups automatisch konfiguriert.

{% hint style="danger" %}
Änderungen können Ihrem Dienst schaden!
{% endhint %}

## AppConfig:AuthConfig:HomeTenantId

*Linux: AppConfig\_\_AuthConfig\_\_HomeTenantId*

Wenn SCEPman in einem anderen Tenant als Intune ausgeführt wird, gibt dies die ID des Tenants an, in dem die SCEPman Azure-Ressource gehostet wird, während [AppConfig:AuthConfig:TenantId](#appconfig-authconfig-tenantid) gibt den Tenant von Intune an. In diesem Fall können Sie nicht die bequemere [Authentifizierung basierend auf Managed Identities](/de/scepman-bereitstellung/permissions/post-installation-config.md), sondern müssen eine Authentifizierung mit [einer Azure App Registration und einem Client Secret](/de/scepman-bereitstellung/permissions/azure-app-registration.md).

{% hint style="danger" %}
Änderungen können Ihrem Dienst schaden!
{% endhint %}

## AppConfig:AuthConfig:HomeApplicationId

*Linux: AppConfig\_\_AuthConfig\_\_HomeApplicationId*

Diese Einstellung wird nur für Situationen verwendet, in denen SCEPman in einem anderen Tenant als Intune ausgeführt wird. Die HomeApplicationId gibt die Anwendungs-ID Ihrer `scepman-api` App-Registrierung im Tenant an, in dem die SCEPman- und Certificate Master App Services ausgeführt werden. [AppConfig:AuthConfig:ApplicationId](#appconfig-authconfig-applicationid) und [AppConfig:AuthConfig:ApplicationKey](#appconfig-authconfig-applicationkey) die Anwendungs-ID und den Client Secret-Wert der App-Registrierung im Tenant angeben, in dem Intune ausgeführt wird.

{% hint style="warning" %}
Bitte verwechseln Sie dies nicht mit der "Client Secret ID". Wir benötigen hier die "Application (client) ID".
{% endhint %}

{% hint style="danger" %}
Änderungen können Ihrem Dienst schaden!
{% endhint %}

## AppConfig:AuthConfig:ManagedIdentityEnabledOnUnixTime

*Linux: AppConfig\_\_AuthConfig\_\_ManagedIdentityEnabledOnUnixTime*

Der Zeitpunkt als Unix-Epoche, zu dem die erforderlichen Berechtigungen für die Managed Identity erteilt wurden. SCEPman bezieht ein Token unter Verwendung der Managed Identity erst nach einer kurzen Verzögerung (60 Sekunden in SCEPman 2.0) nach diesem Zeitpunkt, weil erst dann die Rollen im Token die korrekten Berechtigungen widerspiegeln, die vom CMDlet hinzugefügt wurden. Die Token werden zwischengespeichert [für 24 Stunden ohne Möglichkeit, den Cache zwangsweise zu aktualisieren](https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Cdotnet#configure-target-resource), sodass Sie, wenn Sie eine Berechtigung hinzugefügt haben, nachdem SCEPman ein Token bezogen hat, bis zu 24 Stunden warten müssen, bis SCEPman diese neue Berechtigung verwenden kann.

{% hint style="danger" %}
Änderungen können Ihrem Dienst schaden!
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.scepman.com/de/scepman-konfiguration/application-settings/dependencies-azure-services/azure-ad.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
