isResourceAccount 始终为空

isResourceAccount always null

我正在从 Microsoft Graph API 中获取用户列表,并希望区分一侧的 "human" 用户和另一侧的设备和房间。但是 isResourceAccount 始终为 null - 这应该被 Microsoft Graph API reference.

视为错误判断

有没有人遇到过这个问题 - 这是一个已知的缺陷吗?还是我误解了 isResourceAccount 属性 的功能?

调用示例: https://graph.microsoft.com/v1.0/users?$select=displayName,userPrincipalName,isResourceAccount

示例响应:

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users(displayName,userPrincipalName,isResourceAccount)",
    "value": [
        {
            "displayName": "Admin User",
            "userPrincipalName": "admin@testtenant.onmicrosoft.com",
            "isResourceAccount": null
        },
        {
            "displayName": "Printer",
            "userPrincipalName": "printer@testtenant.onmicrosoft.com",
            "isResourceAccount": null
        },
        {
            "displayName": "Test User",
            "userPrincipalName": "test@testtenant.onmicrosoft.com",
            "isResourceAccount": null
        },
        {
            "displayName": "Test room",
            "userPrincipalName": "testroom@testtenant.onmicrosoft.com",
            "isResourceAccount": null
        }
    ]
}

截至 2020 年 11 月,Graph API documentation page 上的 isResourceAccount 用户 属性 有以下描述说明: 不要使用 - 留作将来使用。

我想这个字段可以在未指定的未来使用,但现在还没有。