是否可以订阅MailboxSettings的更改-特别是AutomaticRepliesSetting?
正在尝试将此发布到
/subscriptions
在beta API上。
{
"changeType":"updated",
"notificationUrl":"https://example.com/microsoft/notify",
"resource":"users/karel@example.com/mailboxSettings",
"expirationDateTime":"2018-05-11T08:05:26.6920740Z",
"clientState":"QUUvRXJ5beHI9VEvn6hq"
}
返回:
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: Forbidden; Reason: Forbidden]"
该应用程序已获得管理员同意
Calendars.ReadWrite
,则,
User.Read.All
和
MailboxSettings.ReadWrite
我可以成功订阅日历更改,因此实现没有问题。
订阅根目录
/users/karel@example.com
端点提供:
{
"error": {
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: InternalServerError; Reason: Internal Server Error]",
"innerError": { "request-id": "3caffc72-9507-4bb7-9eab-56e8ecaaab83", "date": "2018-05-08T09:22:16" }
}
}