获取MS Exchange邮件的所有成员 [英] Get MS Exchange mail for all group members
问题描述
是否有可能获得来自微软的Exchange中的所有邮箱的所有电子邮件?
我在网上交流Office365天青控制台的完全权利。
http://i.stack.imgur.com/DF5n5.png
但是,当我试图做一个请求
<$p$p><$c$c>https://outlook.office365.com/EWS/OData/Users('user@company.onmicrosoft.com')/Inbox/Messages得到一个错误指定的对象没有在店里找到。
但登录管理
https://outlook.office365.com/EWS/OData/Me/Inbox/Messageshttps://outlook.office365.com/EWS/OData/Users('admin@company.onmicrosoft.com')/Inbox/Messages
效果很好。
我应该怎么做,能为我的Office 365中的所有用户读取邮件访问?
的REST API同意流量允许您注册需要管理员同意,一个Web应用程序。一旦你的web应用程序已经给出了全局管理的同意,应能是租客在获取信息的所有用户。
请参阅以下职位的详细信息:
<一href=\"http://msdn.microsoft.com/EN-US/library/office/dn605895%28v=office.15%29.aspx#ConNavExample_config\" rel=\"nofollow\">http://msdn.microsoft.com/EN-US/library/office/dn605895(v=office.15).aspx#ConNavExample_config
Is it possible to get all email from all mailboxes in MS Exchange? I have full rights in Azure console for Office365 exchange online.
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?
The REST API consent flow allows you to register a web app that requires Admin consent. Once your web app has been given the global admin consent, it should be able to access information for all users under that tenant.
See the following post for more information: http://msdn.microsoft.com/EN-US/library/office/dn605895(v=office.15).aspx#ConNavExample_config
这篇关于获取MS Exchange邮件的所有成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!