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

# PlayFab 的 Microsoft 帳戶驗證

> 了解如何使用 Microsoft 帳戶註冊 PlayFab、邀請經 Microsoft 驗證的新使用者加入您的工作室，以及使用 Entra ID 登入 Game Manager。

# PlayFab Game Manager 的帳戶驗證

> [!NOTE]
>
> 2024 年 7 月 27 日之後的所有**新** PlayFab 使用者帳戶都必須使用 Microsoft 驗證服務。

PlayFab 支援兩種使用者驗證方法。第一種是原始的 PlayFab 使用者驗證系統。第二種 (也是建議的方法) 是 Microsoft 的驗證服務 - Microsoft 帳戶和 Microsoft Entra ID (先前稱為 Azure Active Directory)。

### 使用經 Microsoft 驗證的帳戶註冊

您可以使用現有或新的 Microsoft 帳戶建立新的 PlayFab 帳戶。PlayFab 驗證系統已不再提供給新帳戶使用。

1. 瀏覽至 [PlayFab 的註冊頁面](https://developer.playfab.com)。
2. 選取 **使用 Microsoft 註冊**，並依照註冊流程操作。

   ![使用 Microsoft 註冊](https://mintcdn.com/microsoft-4404708b/Oa_DP1q6U1lat7c2/images/playfab/identity/dev-identity/authentication/aad-sign-up.png?fit=max\&auto=format\&n=Oa_DP1q6U1lat7c2\&q=85\&s=4d5ed882536c23f66b91cb5be3151df4)

### 建立經 Microsoft 驗證的新使用者

1. 瀏覽至您工作室的使用者區段。

   ![工作室使用者](https://mintcdn.com/microsoft-4404708b/Oa_DP1q6U1lat7c2/images/playfab/identity/dev-identity/authentication/AADDoc1.png?fit=max\&auto=format\&n=Oa_DP1q6U1lat7c2\&q=85\&s=449015cd63b0523c0719a3aa92b1869f)

2. 選取右上角的 **新增使用者**

3. 新增必要的詳細資料和設定，包括選取 **Microsoft** 作為驗證提供者。

   ![選取 Microsoft 驗證](https://mintcdn.com/microsoft-4404708b/Oa_DP1q6U1lat7c2/images/playfab/identity/dev-identity/authentication/aad-new-user.png?fit=max\&auto=format\&n=Oa_DP1q6U1lat7c2\&q=85\&s=210334bc8c76c6116fe6160e0ffe5cfc)

4. 完成後選取 **新增使用者**，以傳送邀請給該使用者。使用者接著會透過 Microsoft 帳戶註冊。

   ![使用 Microsoft 登入](https://mintcdn.com/microsoft-4404708b/Oa_DP1q6U1lat7c2/images/playfab/identity/dev-identity/authentication/aad-auth-log-in.png?fit=max\&auto=format\&n=Oa_DP1q6U1lat7c2\&q=85\&s=533b4e4d0c6971f716450fae1a51a40d)

### Microsoft 帳戶限制

Microsoft 帳戶驗證適用於個別使用者，包括用於程式化驗證的 Microsoft 帳戶權杖交換。它不支援群組或 Graph。


## Related topics

- [PlayFab API 的 Microsoft Entra ID 驗證](https://devdocs.xbox.com/zh-TW/services/playfab/identity/dev-identity/authentication/entra-id-api-authentication.md)
- [將 Grafana 連線至 Insights](https://devdocs.xbox.com/zh-TW/services/playfab/data-analytics/legacy/connectivity/connecting-grafana-to-insights.md)
- [將 Kusto Explorer 連線至 Insights](https://devdocs.xbox.com/zh-TW/services/playfab/data-analytics/legacy/connectivity/connecting-kusto-explorer-to-insights.md)
- [將 Kusto C# SDK 連線至 Insights](https://devdocs.xbox.com/zh-TW/services/playfab/data-analytics/legacy/connectivity/connecting-kusto-csharp-to-insights.md)
- [將 Power BI 連線至 Insights](https://devdocs.xbox.com/zh-TW/services/playfab/data-analytics/legacy/connectivity/connecting-power-bi-to-insights.md)
