Reputation: 1086
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?
Upvotes: 10
Views: 1570
Reputation: 3461
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.
Upvotes: 2