简体   繁体   English

如何将 Outlook 日历 API 集成到 React JS 应用程序中?

[英]How to integrate outlook calendar API into React JS application?

Actually when I log in to the Microsoft online login with this API https://login.microsoftonline.com/{tanent_id}/oauth2/v2.0/token and use the token response into this API headers https://graph.microsoft.com/v1.0/me/events to add an event into the outlook calendar then I found this kind of error.实际上,当我使用此 API https://login.microsoftonline.com/{tanent_id}/oauth2/v2.0/token登录 Microsoft 在线登录并将令牌响应用于此 API 标头https://graph.microsoft .com/v1.0/me/events将事件添加到 outlook 日历中然后我发现了这种错误。

在此处输入图像描述

Is this a token error?这是令牌错误吗? Or How to solve it?或者如何解决? I am working on a React JS app to integrate outlook calendar.我正在开发一个 React JS 应用程序来集成 outlook 日历。

Have you license the user for Exchange Online/provision a mailbox?您是否已许可用户使用 Exchange Online/提供邮箱? This endpoint corresponds to calendar events, and in order to fetch those you need to have a mailbox.这个端点对应于日历事件,为了获取那些你需要有一个邮箱。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM