azure - MS个人账户和企业账户的区别

标签 azure microsoft-graph-api

我有两个 Microsoft 电子邮件。一种是个人账户,另一种是企业账户。使用 microsoft graph API/azure 端点(因为我使用 azure 对用户进行身份验证)可以识别与电子邮件关联的帐户类型。

最佳答案

查看租户 ID

Taken from documentation:
A GUID that represents the Azure AD tenant that the user is from. For work and school accounts, the GUID is the immutable tenant ID of the organization that the user belongs to. For personal (Microsoft) accounts, the value is 9188040d-6c67-4c5b-b112-36a304b66dad. The profile scope is required in order to receive this claim.

关于azure - MS个人账户和企业账户的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45026489/

相关文章:

iis - 如何通过 PowerShell 在 azure VM 上安装 ARR?

azure - 创建Azure函数应用程序时出错

c# - 如何在 Azure 函数(客户端凭据流)中使用 Microsoft Graph SDK,而不使用 Microsoft.Graph.Auth

azure - 从 Azure 应用服务轻松身份验证获取 Microsoft Graph 的 AccessToken

sql-server - 将 Prisma 连接到 Azure SQL 数据库

azure 二头肌 : Cannot reference a child resource to a parent resource as an array

python - 使用 Python 列出订阅中的所有 Azure 数据工厂

office365 - MS Graph VS Outlook REST API、OAuth、Win Store/UWP、Xamarin、WebAPI、SSO、Live SDK 已弃用 - 混淆

node.js - Microsoft Graph - 筛选开始/日期时间

.net - AAD B2C : Search Users by PrincipalName