> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/autify-university/advanced/sso-feature/sso-using-autify-as-an-application-with-azure.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Azure Active Directoryを使ったSSO認証 (Autify App)

{% hint style="warning" %}
SSOオプションはご契約プランによってご提供状況が異なります。
{% endhint %}

Autifyは[SSO機能](https://help.autify.com/nocode-web/autify-university/advanced/sso-feature/sso-feature-for-autify.md)を提供しています。 このページでは、連携可能なサービスの一つである、Azure Active Directory (以下Azure AD) を使用した設定方法を説明します。

## AutifyをアプリケーションとしてAzureに登録する

### Azure ADにアプリを登録する

Azure ADでアプリを登録する方法は、Microsoftのサポート記事「[クイック スタート：Microsoft ID プラットフォームにアプリケーションを登録する](https://docs.microsoft.com/ja-jp/azure/active-directory/develop/quickstart-register-app)」をご覧ください。

リダイレクトURIには「<https://auth.autify.com/login/callback」を使用します。>

{% hint style="warning" %}
Azure ADのディレクトリが複数ある場合は、使用するアプリを正しいディレクトリに登録するようにしてください。
{% endhint %}

### クライアントシークレットの作成

クライアントシークレットの作成について詳しくは、マイクロソフトのサポート記事「[クイック スタート:Microsoft ID プラットフォームにアプリケーションを登録する - 資格情報を追加する](https://learn.microsoft.com/ja-jp/azure/active-directory/develop/quickstart-register-app#add-credentials)」をご覧ください。

{% hint style="warning" %}
**生成された文字列を控えてください**

有効期限付きのシークレットを作成した場合は、必ず **有効期限** も記録してください。サービス障害を避けるため、有効期限切れになる前にシークレットを更新する必要があります。
{% endhint %}

### アクセス許可の追加

アクセス許可を追加するには、マイクロソフトのサポート記事「[クイック スタート:Web API にアクセスするためのクライアント アプリケーションを構成する - Web API にアクセスするためのアクセス許可を追加する](https://learn.microsoft.com/ja-jp/azure/active-directory/develop/quickstart-configure-app-access-web-apis#add-permissions-to-access-your-web-api)」をご覧ください。

**Microsoft Graph API** のアクセス許可を設定する必要があります。 以下のとおり、アクセス許可を設定してください。

* Users > Users.Read
* Directory > Directory.Read.All

### 必要な情報の送付

以下の情報をAutifyに送付してください。

* Azure ADのドメイン
* クライアントシークレット
* クライアントID
* ログインの際、ユーザーが使用するドメイン
  * 例：メールアドレスが（<test@autify.com>）の場合、（@autify.com）になります。
* ログインID
  * デフォルトではUPN（UserPrincipalName）に設定されていますが、変更することもできます。その場合は、代替ログインIDをお教えください。

### ログインの確認

弊社での設定が完了し次第、[ログイン画面](https://app.autify.com/users/sign_in)を開き、ログインができるかを確認します。 メールアドレスを入力し **続ける** をクリックし、ログインが成功すれば設定の完了です。


---

# 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://help.autify.com/nocode-web/autify-university/advanced/sso-feature/sso-using-autify-as-an-application-with-azure.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.
