> For the complete documentation index, see [llms.txt](https://docs.konnekt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.konnekt.io/ja/troubleshooting/access-token-issues/failed-to-obtain-access-token.md).

# アクセストークンの取得に失敗しました

## 問題

KONNEKT にログインしようとすると、「アクセス トークンを取得できませんでした」というエラーメッセージが表示されます。

## 原因

KONNEKT は、MFA が必要な Microsoft Entra ID の Conditional Access ポリシーで「Excluded Apps」を設定し、かつ SSO ではない Windows セッションと組み合わせることをサポートしていません。

## 回避策

推奨する回避策は、Primary Refresh Token (PRT) を保持できるように Windows マシンを有効にすることです。たとえば、デバイスを Microsoft Entra joined または Microsoft Entra registered にします。詳細は [こちらから ](https://learn.microsoft.com/en-us/entra/identity/devices/concept-primary-refresh-token#how-is-a-prt-issued)の詳細。

その他の代替案は次のとおりです（あまり推奨されません）。

* 対応する Conditional Access ポリシーから MFA 要件を削除します。MFA なしの CA ポリシーでもある程度のセキュリティを維持するには、次を強制適用できます [信頼された場所（たとえば、VDI ホストのパブリック IP アドレス）](https://learn.microsoft.com/en-us/entra/identity/conditional-access/location-condition)

または

* 「Excluded Apps」を含まない Conditional Access ポリシーを使用します。あわせて次も参照してください [Conditional Access の構成](/ja/installation/security/conditional-access.md).

## 解決策

KONNEKT バージョン 2.10 で解決策が実装されました - "[拡張 OAuth](/ja/configuration/system-settings/enhanced-authentication.md)".


---

# 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.konnekt.io/ja/troubleshooting/access-token-issues/failed-to-obtain-access-token.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.
