运行针对Azure AD的差异查询时出现Directory_BindingRedirection错误

时间:2015-09-28 14:36:40

标签: azure office365 azure-ad-graph-api

我有一个针对Azure AD执行查询的应用程序。为用户运行沼泽标准GET非常有效:

https://graph.windows.net/00000000-0000-0000-0000-000000000000/users?api-version=2013-04-05

但是如果我尝试差异查询:

https://graph.windows.net/00000000-0000-0000-0000-000000000000/users?api-version=2013-04-05&deltaLink=

我收到以下错误:

{ 
 "odata.error":
    {
     "code":"Directory_BindingRedirection",
     "message":{"lang":"en","value":"Tenant information is not available locally. Use the following Urls to get the information."},
     "values":[
       {"item":"Url1","value":"https:\/\/directory-s1-ch1.directory.windows.net"},
       {"item":"Url2","value":"https:\/\/directory-s1-sn2.directory.windows.net"},
       {"item":"Url3","value":"https:\/\/directory-s1-bl2.directory.windows.net"},
       {"item":"Url4","value":"https:\/\/directory-s1-co1.directory.windows.net"}]
    }
}

This post表明这可能是AzureAD的问题,而不是应该编码的预期错误情况 - 是这种情况,还是应该根据...中包含的说明处理此错误?

0 个答案:

没有答案