相关疑难解决方法(0)

Microsoft Graph API:为不是我的用户创建事件

我目前正在开发一个小型管理应用程序,它应该在特定的 Microsoft 日历中创建事件,但我只能作为授权用户为我执行此操作。

是否可以选择在只知道userPrincipalName?

{
  "subject": "test",
  "body": {
    "contentType": "HTML",
    "content": "Sample Text"
  },
  "start": {
      "dateTime": "2019-04-04T12:00:00",
      "timeZone": "Pacific Standard Time"
  },
  "end": {
      "dateTime": "2019-04-04T14:00:00",
      "timeZone": "Pacific Standard Time"
  },
  "location":{
      "displayName":"Testlocation"
  }
}
Run Code Online (Sandbox Code Playgroud)

https://graph.microsoft.com/v1.0/users/myPricipalName/calendar/events 有效,但只对我有用。

整个文档有点压倒性

microsoft-graph-api

1
推荐指数
1
解决办法
1128
查看次数

标签 统计

microsoft-graph-api ×1