azure-active-directory - 找不到实体属性
问题描述
我正在与供应商合作,在 Azure AD 中为我们的 Office 365 租户设置自定义应用程序,并且我被要求使用 Azure AD 图提供以下实体属性:
extension_xxxxxxxxxxxxxx_sAMAccountName
extension_xxxxxxxxxxxxxx_userPrincipalName
通过阅读 Microsoft 的文档,我了解到 Azure AD 图形资源管理器已被弃用,因此我一直在阅读 Microsoft 的 Graph 文档以检索这些属性。
当我为https://graph.microsoft.com/v1.0/users/{id|UserPrincipalName}运行 GET 命令时,我得到以下数据集(用用户和xxxx字符替换原始值):
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users/$entity",
"businessPhones": [],
"displayName": "user",
"givenName": null,
"jobTitle": null,
"mail": null,
"mobilePhone": null,
"officeLocation": null,
"preferredLanguage": null,
"surname": null,
"userPrincipalName": "user@domain.onmicrosoft.com",
"id": "xxxxxxxxxxxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxx"
}
我没有在这些类型的实体属性的文档中找到任何参考,我只是以错误的方式使用 Microsoft Graph,还是我在他们的文档中遗漏了一些明显的东西?
解决方案
推荐阅读
- go - 同步原语原子包
- node.js - csv-writer npm 默认值
- android - 为拇指使用自定义可绘制对象时如何保持切换拇指阴影/高度?
- python - query_set 中的 values_list() 仅显示数字,但不显示国家/地区名称
- python - 在 pfsense 上安装 python36
- javascript - 查看变量是否引用chrome devtool中的同一对象
- reactjs - Reactjs - 演示应用程序不工作
- sql-server - 如何在 SQL 函数中计算不同的趋势线类型
- typescript - 使用 WebCrypto API 使用从字符串生成的加密密钥加密/解密数据
- android - 我想注销用户并将他发送到另一个活动