Microsoft Graph API - “GraphOrganizationFromTenantGuidNotFound”错误代码

问题描述 投票:0回答:1

我的问题就像在这里,一个接一个地说:

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需要一些时间来设置。

azure azure-active-directory azure-ad-graph-api
1个回答
0
投票

您创建的新Azure AD没有Office 365.因此它不能有日历。 / users可以工作,因为它是Azure AD端点。

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

© www.soinside.com 2019 - 2024. All rights reserved.