使用OfficeJS生成的令牌时,GetAttachment返回权限错误

时间:2019-06-10 09:23:54

标签: exchangewebservices office-js

我们使用getCallbackTokenAsync [1]生成一个令牌,该令牌随后在对EWS的SOAP调用中用于提取邮件中的附件。与单个EWS实例相关联的一些用户已经开始遇到ErrorAccessDenied错误,并显示以下消息正文:

Office extension have no permissions to access any other mailboxes then the mailbox provided in the user context.

有问题的邮件没有移动,仍然在收件箱中,因此我认为这不是同步问题。除了遇到问题的小组以外,我们无法复制此问题。

这可能是EWS配置问题吗?

参考

[1] https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/getattachment-operation

[2] https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.5/office.context.mailbox?view=office-js#getcallbacktokenasyncoptions-callback

[3] https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-get-attachments-by-using-ews-in-exchange

0 个答案:

没有答案