Microsoft Graph API-“ GraphOrganizationFromTenantGuidNotFound”错误代码

时间:2019-03-20 14:50:37

标签: azure azure-active-directory azure-ad-graph-api

我的问题与这里的字词完全一样:

Microsoft Graph Api /calendar endpoint returns "OrganizationFromTenantGuidNotFound", but /users endpoint works without problems. How to fix this?

我获得了Office 365开发订阅,使用新应用程序创建了新的Azure AD,但是仍然没有运气。我可以通过API查看用户列表,但是当我尝试查看特定用户的日历或邮件列表时,会看到此错误:

{
    "error": {
        "code": "OrganizationFromTenantGuidNotFound",
        "message": "The tenant for tenant guid '<my tenant id is here>' does not exist.",
    }
}

编辑:好的,我等了一下,现在问题已解决。我没有进行任何更改,尝试再次发出请求,该错误现在消失了。看来Azure AD需要一些时间来设置。

1 个答案:

答案 0 :(得分:0)

您创建的新Azure AD没有Office 365。 因此,它不能具有日历。 / users有效,因为那是Azure AD终结点。

如果要访问开发O365租户的日历,请在创建开发租户时获得的O365 AAD租户中注册该应用。