Microsoft Graph API:是否支持获取给定邮箱的所有收件箱规则? [英] Microsoft Graph API: Is there support for getting all inbox rules for a given mailbox?

查看:119
本文介绍了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
< span name ="x_x_subject">论坛。

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


这篇关于Microsoft Graph API:是否支持获取给定邮箱的所有收件箱规则?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆