> 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" %}
Estos ajustes 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/despliegue-de-scepman/permissions/azure-app-registration.md#basic-app-registration-application-id) de su registro de aplicación en Microsoft Entra ID (Azure AD). Este ajuste se configura durante la instalación.

{% hint style="warning" %}
No lo confunda con el "Client Secret ID". Aquí necesitamos el "Application (client) ID".
{% endhint %}

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

## AppConfig:AuthConfig:ApplicationKey

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

El [Clave de aplicación (client secret **valor**)](/es/despliegue-de-scepman/permissions/azure-app-registration.md#azure-app-registration-client-secret) de su registro de aplicación en Microsoft Entra ID (Azure AD). Este ajuste se configura durante la instalación de una versión 1.x de SCEPman. SCEPman 2.x normalmente no utiliza este ajuste y, en su lugar, se basa en [autenticación mediante Managed Identity](/es/despliegue-de-scepman/permissions/post-installation-config.md).

{% hint style="warning" %}
No lo confunda con el "Client Secret **ID**". Aquí necesitamos el "valor del secreto de cliente **Valor**".
{% 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). Este ajuste 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 hospeda el recurso de 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/despliegue-de-scepman/permissions/post-installation-config.md), pero debe usar autenticación mediante [un registro de aplicación en Azure y un Client Secret](/es/despliegue-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*

Este ajuste 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) especifique el ID de aplicación y el valor de Client Secret, respectivamente, del registro de aplicación en el Tenant donde se ejecuta Intune.

{% hint style="warning" %}
No lo confunda con el "Client Secret ID". Aquí necesitamos el "Application (client) ID".
{% endhint %}

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

## AppConfig:AuthConfig:ManagedIdentityEnabledOnUnixTime

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

La hora, como época Unix, en la que se concedieron los permisos requeridos a la Managed Identity. SCEPman obtiene un token usando la Managed Identity 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 en caché [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), por lo que, si agregó un permiso después de que SCEPman obtuviera 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 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/es/configuracion-de-scepman/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.
