我目前正在开发一个小型管理应用程序,它应该在特定的 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 有效,但只对我有用。
整个文档有点压倒性