Microsoft Graph API:是否支持获取给定邮箱的所有收件箱规则?
似乎没有任何支持使用Graph API或Outlook API从给定用户邮箱获取所有收件箱规则。我看到通过EWS api提供了一些支持,但我遇到了重新使用graph / outlook API令牌的问题,因为我需要一个仅限应用程序的
授权我的Azure应用程序,当我使用该令牌时,EWS库会因为401 Unauthorized错误而无法正常工作。
There does not seem to be any support for getting all Inbox Rules from a given user mailbox using Graph API or the Outlook API. I see some support available via EWS api but I am running into issues re-using the token from graph/outlook API as I need an app-only authorization for my Azure app and when I use that token the EWS library does not work as it fails with a 401 Unauthorized error.
理想情况下,我希望使用图API或Outlook API来管理收件箱规则。如果那是不可能的,那么使用EWS API的方法是什么?我在这里使用这个库: https://github.com/OfficeDev/ews-java-api
I would ideally like to use the graph API or the Outlook API to be able to manage inbox rules. If that is not possible then what's the approach for using the EWS API? I am using the library here: https://github.com/OfficeDev/ews-java-api
您好,
此论坛适用于与Outlook对象模型相关的开发问题,因为您的问题是关于
Microsoft Graph API,我会将此线程移至  ; Office 365 for Developers
论坛。
This forum is for developmemt issues related to Outlook Object Model, since your issue is about Microsoft Graph API, i would move this thread into Office 365 for Developers forum.
很抱歉给您带来不便。
问候,
Celeste