> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 將 Azure Data Explorer 連線至 Insights

> 使用 Microsoft Entra ID 驗證將 Azure Data Explorer (ADX) 連線至舊版 PlayFab Insights，以便使用 Kusto 查詢語言查詢遊戲遙測資料。

# 教學課程：將 Azure Data Explorer 連線至 Insights

本指南可協助您開始搭配 Insights 使用 Azure Data Explorer (ADX)。連線之後，您可以使用 Azure Data Explorer 查詢遊戲資料並探索相關的深入解析。若要深入了解可與 Insights 連線的其他工具，請參閱[將外部工具連線至 Insights](/zh-TW/services/playfab/data-analytics/legacy/connectivity)。

<Note>
  PlayFab Insights 管理已於 3/31/2026 淘汰。我們建議日後使用 [Azure Data Explorer (ADX) 連線](/zh-TW/services/playfab/data-analytics/export-data/data-connection-adx)來管理您的效能和成本。如果您的遊戲仍在使用 **Insights**，請繼續參閱本文以了解實作詳細資料。如需詳細資訊，請參閱 [PlayFab Digest: March feature updates](https://developer.microsoft.com/en-us/games/articles/2026/04/playfab-digest-march-feature-updates/)。
</Note>

## 必要條件

### 使用 AAD 驗證的 PlayFab 帳戶

您需要一個驗證提供者設定為 Microsoft 的 PlayFab 帳戶或使用者。Microsoft 驗證提供者使用 Azure Active Directory (AAD) 進行驗證，這是使用 Azure 服務的必要條件。如需建立 AAD 驗證帳戶或使用者的指示，請參閱 [Game Manager 的 Azure Active Directory 驗證](/zh-TW/services/playfab/identity/dev-identity/authentication/aad-authentication)。

若要確認帳戶或使用者已設定為使用 Microsoft 驗證提供者：

* 瀏覽至 [developer.playfab.com](https://developer.playfab.com)。
* 選取 **Sign in with Microsoft** 以存取您的 PlayFab 帳戶。

如果您可以登入，表示該帳戶已設定為使用 Microsoft 驗證提供者。

### 其他必要條件

<Info>
  Insights 僅支援 V1 查詢回應結構描述。您可以使用下列步驟在 Azure Data Explorer 中更新回應結構描述。
</Info>

瀏覽至 [Azure Data Explorer](https://dataexplorer.azure.com/)。

1. 選取右上角使用者帳戶名稱旁的齒輪圖示。
2. 選取 **Connection** 設定區段。
   * 從下拉式選項中將 **Server parser** 設定為 **V1**。 <img src="https://mintcdn.com/microsoft-4404708b/MjJ0-cTsb1bpaMcX/images/playfab/data-analytics/legacy/connectivity/adx-settings-v1.png?fit=max&auto=format&n=MjJ0-cTsb1bpaMcX&q=85&s=72bd13c8c4dcbc0ff1522c4b6e197e85" alt="ADX 使用 V1 查詢結構描述" width="872" height="600" data-path="images/playfab/data-analytics/legacy/connectivity/adx-settings-v1.png" />

### Insights 的 Game Manager 權限

您需要為帳戶指派已啟用下列 Game Manager 權限的[使用者角色](/zh-TW/services/playfab/identity/dev-identity/permissions/playfab-user-roles)：

* 系統管理員狀態。
* 存取 Explorer 索引標籤及相關資料。
* Analytics 資料的讀取和寫入權限。

您可以建立新的使用者角色，或將這些權限新增至現有角色。

## 使用 Azure Data Explorer (ADX) 連線

若要使用 Azure Data Explorer 連線：

1. 開啟 [Azure Data Explorer](https://dataexplorer.azure.com/)。選取 **Add Cluster**。 <img src="https://mintcdn.com/microsoft-4404708b/MjJ0-cTsb1bpaMcX/images/playfab/data-analytics/legacy/connectivity/adx-add-cluster-button.png?fit=max&auto=format&n=MjJ0-cTsb1bpaMcX&q=85&s=16bc866ee7bd6649d7d3dd7cfef80ff9" alt="ADX 新增連線" width="961" height="474" data-path="images/playfab/data-analytics/legacy/connectivity/adx-add-cluster-button.png" />
2. 輸入 PlayFab API 端點，也就是 `https://insights.playfab.com`。
3. 選取 **Add**。現在您可以在資料庫上執行查詢或命令。

## 其他資源

* [Azure Data Explorer 文件](https://learn.microsoft.com/en-us/azure/data-explorer/)
* 若要了解可連線至 Insights 的其他工具，請參閱[將外部工具連線至 Insights](/zh-TW/services/playfab/data-analytics/legacy/connectivity)


## Related topics

- [將外部工具與 Insights 連線](/zh-TW/services/playfab/data-analytics/legacy/connectivity/index.md)
- [將 Kusto Explorer 連線至 Insights](/zh-TW/services/playfab/data-analytics/legacy/connectivity/connecting-kusto-explorer-to-insights.md)
- [將 Grafana 連線至 Insights](/zh-TW/services/playfab/data-analytics/legacy/connectivity/connecting-grafana-to-insights.md)
- [將 Python 連線至 Insights](/zh-TW/services/playfab/data-analytics/legacy/connectivity/connecting-python-to-insights.md)
- [將 Azure Data Factory (ADF) 連線至 Insights](/zh-TW/services/playfab/data-analytics/legacy/connectivity/connecting-azure-data-factory-to-insights.md)
