10

I have and admin account in Office365 with an app that's been given full access to anything exchange related. I am writing an app that has a use case where I would need to get all the Rules created in a user's mailbox. This would include things like the the rule name, the contents etc.

This would ideally include things like Active Sync settings between devices, permissions to eDiscovery mailboxes etc.

I do not see support for those in the graph API. Is there a way to get this information?

Keshi
  • 906
  • 10
  • 23

1 Answers1

2

There is no support for those advanced things in the Microsoft Graph API. You need to use Exchange Web Services (EWS) for it.

For instance you can retrieve eDiscover information and you can manage the manage inbox rules also. Check out the full reference of the EWS Managed API for a long list of things you can do.

You can use Azure AD OAuth 2.0 authentication to authorize access to EWS in Office 365 by adding the Bearer token to EWS requests.

RasmusW
  • 3,355
  • 3
  • 28
  • 46
  • Thanks - but EWS itself lacks support in some of those settings I would need. Basically I am looking for something that would give me all the data that's available in Exchange Admin Center either in the form of an event stream or an API. EWS is feature rich but given microsoft's lack of support and the performance of those requests in a REST/microservice oriented architecture - it does not fit in well. – Keshi Apr 04 '17 at 17:17