加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

microsoft-graph – 无法访问Microsoft Graph API中的/ outlook

发布时间:2020-12-14 04:23:21 所属栏目:Windows 来源:网络整理
导读:似乎任何以/ outlook开头的端点都会返回此错误: GET https://graph.microsoft.com/beta/me/outlook/masterCategories{ "error": { "code": "RequestBroker-ParseUri","message": "Resource not found for the segment 'Outlook'.","innerError": { "request
似乎任何以/ outlook开头的端点都会返回此错误:
GET https://graph.microsoft.com/beta/me/outlook/masterCategories
{
    "error": {
        "code": "RequestBroker-ParseUri","message": "Resource not found for the segment 'Outlook'.","innerError": {
            "request-id": "a75d1c9a-c6ae-4b69-83ca-fc0e467a4ad7","date": "2017-12-26T17:23:17"
        }
    }
}

我已经授权范围mail.read user.read mailboxsettings.readwrite所以我应该能够访问用户的收件箱类别,但是这个帖子中提到的以“outlook”开头的beta API端点:

https://blogs.msdn.microsoft.com/exchangedev/2017/10/09/new-outlook-apis-in-the-microsoft-graph-rooms-rules-categories-headers-and-time-zones/

无论如何都无法访问,我做错了什么?

请记住,我测试了这个端点,它完美运行:https://graph.microsoft.com/beta/me/mailFolders

但是这一个:https://graph.microsoft.com/beta/me/outlook/masterCategories返回上面的错误.

我担心/ beta文档比/ beta代码本身要先.目前beta / me / outlook / endpoints(包括/ masterCategories)不支持MSA /个人帐户.

我一直无法确定是否/什么时候支持即将到来(考虑到一年中的时间并不是那么令人惊讶),所以我担心如果这可能推出时我没有ETA.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读