# Microsoft Entra ID (Azure AD)

## AppConfig:AuthConfig:ApplicationId

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

Microsoft Entra ID (Azure AD) のアプリ登録（SCEPman-CertMaster）にあるアプリケーション（クライアント）ID。この設定はセットアップ中に構成されます。

{% hint style="danger" %}
変更するとサービスに悪影響を及ぼす可能性があります！
{% endhint %}

## AppConfig:AuthConfig:SCEPmanAPIScope

*Linux: AppConfig\_\_AuthConfig\_\_SCEPmanAPIScope*

この値は Microsoft Entra ID (Azure AD) のアプリ登録から取得されます。SCEPman に対する認証と、CSR 提出の認可に使用されます。

{% hint style="danger" %}
変更するとサービスに悪影響を及ぼす可能性があります！
{% endhint %}

## AppConfig:AuthConfig:TenantId

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

Microsoft Entra ID (Azure AD) のテナント ID です。この設定はセットアップ中に自動的に構成されます。

{% hint style="danger" %}
変更するとサービスに悪影響を及ぼす可能性があります！
{% endhint %}

## AppConfig:AuthConfig:ManagedIdentityEnabledOnUnixTime

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

Managed Identity に必要な権限が付与された時刻を Unix エポックで表したものです。SCEPman Certificate Master は、この時刻の後、短い遅延（SCEPman 2.0 では 60 秒）の後にのみ Managed Identity を使用してトークンを取得します。これは、その時点でのみトークン内のロールが CMDlet によって追加された正しい権限を反映するためです。トークンは [24 時間キャッシュされ、キャッシュを強制的に更新する方法はありません](https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Cdotnet#configure-target-resource)。そのため、SCEPman Certificate Master がトークンを取得した後に権限を追加した場合、Certificate Master がこの新しい権限を使用できるようになるまで、最大 24 時間待つ必要があります。

{% hint style="danger" %}
変更するとサービスに悪影響を及ぼす可能性があります！
{% endhint %}


---

# Agent Instructions: 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.scepman.com/ja/scepman-gou-cheng/application-settings-1/azure-ad.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.
