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

# Microsoft Entra ID (Azure AD)

{% hint style="info" %}
Estas configuraciones solo deben aplicarse al App Service de SCEPman, no al Certificate Master. Consulte [Configuración de SCEPman](/es/configuracion-de-scepman/application-settings.md).
{% endhint %}

## AppConfig:AuthConfig:ApplicationId

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

El [ID de aplicación (cliente)](/es/implementacion-de-scepman/permissions/azure-app-registration.md#basic-app-registration-application-id) de su registro de aplicación de Microsoft Entra ID (Azure AD). Esta configuración se configura durante la instalación.

{% hint style="warning" %}
Por favor, no lo confunda con el "ID del secreto de cliente". Necesitamos aquí el "ID de aplicación (cliente)".
{% endhint %}

{% hint style="danger" %}
¡Los cambios pueden dañar su servicio!
{% endhint %}

## AppConfig:AuthConfig:ApplicationKey

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

El [Clave de aplicación (secreto de cliente **valor**)](/es/implementacion-de-scepman/permissions/azure-app-registration.md#azure-app-registration-client-secret) de su registro de aplicación de Microsoft Entra ID (Azure AD). Esta configuración se configura durante la instalación de una versión 1.x de SCEPman. SCEPman 2.x normalmente no usa esta configuración y, en su lugar, se basa en [la autenticación de identidad administrada](/es/implementacion-de-scepman/permissions/post-installation-config.md).

{% hint style="warning" %}
Por favor, no lo confunda con el "secreto de cliente **ID**". Necesitamos el "Secreto de cliente **Valor**", aquí.
{% endhint %}

{% hint style="danger" %}
¡Los cambios pueden dañar su servicio!
{% endhint %}

## AppConfig:AuthConfig:TenantId

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

El ID de Tenant de Microsoft Entra ID (Azure AD). Esta configuración se configura automáticamente durante la instalación.

{% hint style="danger" %}
¡Los cambios pueden dañar su servicio!
{% endhint %}

## AppConfig:AuthConfig:HomeTenantId

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

Cuando SCEPman se ejecuta en un Tenant diferente al de Intune, esto especifica el ID del Tenant que aloja el recurso Azure de SCEPman, mientras [AppConfig:AuthConfig:TenantId](#appconfig-authconfig-tenantid) especifica el Tenant de Intune. En este caso, no puede usar la más conveniente [autenticación basada en identidades administradas](/es/implementacion-de-scepman/permissions/post-installation-config.md), pero debe usar autenticación mediante [un registro de aplicación de Azure y un secreto de cliente](/es/implementacion-de-scepman/permissions/azure-app-registration.md).

{% hint style="danger" %}
¡Los cambios pueden dañar su servicio!
{% endhint %}

## AppConfig:AuthConfig:HomeApplicationId

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

Esta configuración solo se usa en situaciones en las que SCEPman se ejecuta en un Tenant diferente al de Intune. HomeApplicationId especifica el ID de aplicación de su `scepman-api` registro de aplicación en el Tenant donde se ejecutan los App Services de SCEPman y Certificate Master. [AppConfig:AuthConfig:ApplicationId](#appconfig-authconfig-applicationid) y [AppConfig:AuthConfig:ApplicationKey](#appconfig-authconfig-applicationkey) especifican el ID de aplicación y el valor del secreto de cliente, respectivamente, del registro de aplicación en el Tenant donde se ejecuta Intune.

{% hint style="warning" %}
Por favor, no lo confunda con el "ID del secreto de cliente". Necesitamos aquí el "ID de aplicación (cliente)".
{% endhint %}

{% hint style="danger" %}
¡Los cambios pueden dañar su servicio!
{% endhint %}

## AppConfig:AuthConfig:ManagedIdentityEnabledOnUnixTime

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

El momento, en época Unix, en que se concedieron los permisos requeridos a la identidad administrada. SCEPman obtiene un token usando la identidad administrada solo después de un breve retraso (60 segundos en SCEPman 2.0) tras este momento, porque solo entonces los roles del token reflejan los permisos correctos agregados por el CMDlet. Los tokens se almacenan [durante 24 horas sin forma de forzar la actualización de la caché](https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Cdotnet#configure-target-resource), así que si agregó un permiso después de que SCEPman haya obtenido un token, deberá esperar hasta 24 horas para que SCEPman pueda usar este nuevo permiso.

{% hint style="danger" %}
¡Los cambios pueden dañar su servicio!
{% 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 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/es/configuracion-de-scepman/application-settings/dependencies-azure-services/azure-ad.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.
