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?
Graph Explorer is a web-based tool that you can use to build and test requests using Microsoft Graph APIs. You can access Graph Explorer at: https://developer.microsoft.com/graph/graph-explorer. You can either access demo data without signing in, or you can sign in to a tenant of your own.
ReadWrite. Allows the app to create, read, update, and delete user's mailbox settings.
Microsoft Graph Data Connect consumption charges are billed monthly on a pay-as-you-go basis. Charges are calculated using a flat rate based on the count of per-1,000 objects extracted through the connector.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With