简体   繁体   English

获取所有组成员的MS Exchange邮件

[英]Get MS Exchange mail for all group members

Is it possible to get all email from all mailboxes in MS Exchange? 是否可以从MS Exchange中的所有邮箱获取所有电子邮件? I have full rights in Azure console for Office365 exchange online. 我对Azure控制台拥有Office365在线交换的完全权限。

http://i.stack.imgur.com/DF5n5.png http://i.stack.imgur.com/DF5n5.png

But when I'm trying make an request to 但是,当我正在尝试提出请求时

https://outlook.office365.com/EWS/OData/Users('user@company.onmicrosoft.com')/Inbox/Messages

getting an error "The specified object was not found in the store." 收到错误“在商店中找不到指定的对象。”

But for logged in admin 但是对于登录管理员

https://outlook.office365.com/EWS/OData/Me/Inbox/Messages

https://outlook.office365.com/EWS/OData/Users('admin@company.onmicrosoft.com')/Inbox/Messages

works well. 效果很好。

What should I do, to get access for read mail for all my users in office 365? 我应该怎么做才能访问Office 365中所有用户的读取邮件?

Office 365邮件,日历和联系人服务的当前授权模型当前不会公开允许您的应用查询其他用户邮箱的权限。

The REST API consent flow allows you to register a web app that requires Admin consent. REST API许可流程允许您注册需要管理员同意的Web应用程序。 Once your web app has been given the global admin consent, it should be able to access information for all users under that tenant. 一旦您的Web应用程序获得全局管理员同意,它应该能够访问该租户下的所有用户的信息。

See the following post for more information: http://msdn.microsoft.com/EN-US/library/office/dn605895(v=office.15).aspx#ConNavExample_config 有关更多信息,请参阅以下帖子: http//msdn.microsoft.com/EN-US/library/office/dn605895(v = office.15).aspx#ConNavExample_config

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM