> 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 にログインしようとすると、「Failed to obtain access token」というエラーメッセージが表示されます。

## 原因

KONNEKT は、MFA が必要な Microsoft Entra (Azure AD) Conditional Access ポリシーに「Excluded Apps」を含め、かつ非 SSO の Windows セッションと組み合わせる構成をサポートしていません。

## 回避策

当社が推奨する回避策は、Windows マシンで Primary Refresh Token (PRT) を保持できるようにすることです。たとえば、Entra Join (AAD Join) または Register によって実現できます。詳細は以下を参照してください。 [こちらから ](https://learn.microsoft.com/en-us/entra/identity/devices/concept-primary-refresh-token#how-is-a-prt-issued)を参照してください。

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

* 対応する Conditional Access ポリシーから MFA 要件を削除します。MFA なしの CA ポリシーでもある程度のセキュリティを維持するには、次を強制できます。 [Trusted Locations（例: 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 で解決策が実装されました - 「[Enhanced OAuth](/ja/configuration/system-settings/qiang-hua-ren-zheng.md)".&#x20;


---

# 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.
