Azure active directory dataLocationCode字段在多地理位置的图形API中不可用

Azure active directory dataLocationCode字段在多地理位置的图形API中不可用,azure-active-directory,microsoft-graph-api,Azure Active Directory,Microsoft Graph Api,预期或期望的行为 在进行API调用时,我们应获取多个地理位置/非多个地理位置的dataLocationCode(以“”作为非多个地理位置的响应,并根据文档获取多个地理位置的响应) 网址: 观察到的行为 获取所有地理位置API时缺少dataLocationCode 网址: 与您的请求相对应的响应头: 日期-2019年7月3日星期三06:38:47 请求id-566ae7b6-4852-40e3-8485-7daf9c010472 SPRequestGuid-1d8dec9e-c071-0000-3

预期或期望的行为

在进行API调用时,我们应获取多个地理位置/非多个地理位置的dataLocationCode(以“”作为非多个地理位置的响应,并根据文档获取多个地理位置的响应)

网址:

观察到的行为

获取所有地理位置API时缺少dataLocationCode 网址:

与您的请求相对应的响应头:

日期-2019年7月3日星期三06:38:47
请求id-566ae7b6-4852-40e3-8485-7daf9c010472
SPRequestGuid-1d8dec9e-c071-0000-3f4a-597faa9ba2ef

复制步骤
使用graph token调用graph API当前将由API的“beta”端点返回dataLocationCode。我们正在考虑把这个升级到1.0。不幸的是,目前没有ETA,但您可以看到它今天如何返回带有“beta”端点的数据。

图形文档没有说您正在进行的调用应该返回datalocationcode字段。根据此处的官方Microsoft graph文档:您能否提供您所指的文档,该文档将返回地理位置?用于获取multigeo中的站点/位置站点(所有位置)。@FrankHuMSFT有关此的任何更新Hey Yuvaraj,很抱歉,我们仍在研究此问题。我目前正在与产品组联系,并将尽快向您提供最新信息。
{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites",
    "value": [
        {
            "webUrl": "https://netskopepmskopejpn.sharepoint.com/",
            "siteCollection": {
                "hostname": "netskopepmskopejpn.sharepoint.com",
                "root": {}
            }
        },
        {
            "webUrl": "https://netskopepmskopegbr.sharepoint.com/",
            "siteCollection": {
                "hostname": "netskopepmskopegbr.sharepoint.com",
                "root": {}
            }
        },
        {
            "webUrl": "https://netskopepmskope.sharepoint.com/",
            "siteCollection": {
                "hostname": "netskopepmskope.sharepoint.com",
                "root": {}
            }
        },
        {
            "webUrl": "https://netskopepmskopeind.sharepoint.com/",
            "siteCollection": {
                "hostname": "netskopepmskopeind.sharepoint.com",
                "root": {}
            }
        }
    ]
}