One of the things we’ve invested a lot of time in recently is making Office365Mon a great place for Office 365 resellers too, in addition to all of our customers that just have one or two subscriptions. The first feature set we released to support this was the report data feature. That allows you to download the raw data we use for our reports as CSV files from our site. In addition to that, we added a REST API that lets you programmatically retrieve that same data in a JSON or CSV format. Today we released the second major feature set for folks with several tenants, and that is the Subscription Management API.
The Subscription Management API adds a REST endpoint for just about every single thing you can do in the browser when configuring your subscription. That includes:
- Create a subscription
- Get a subscription
- Update a subscription
- Get your subscriptions
- Get subscription administrators
- Add a subscription administrator
- Delete a subscription administrator
- Get subscription notifications
- Add a subscription notification
- Delete a subscription notification
- Get subscription resources
- Add a subscription resource
- Delete a subscription resource
- Update the access token for a subscription resource
- Issue a health probe for a resource
- Issue a health probe for any Office 365 resource
The only thing you can’t do with the API is the Azure consent process that allows us to monitor your resources. Azure doesn’t expose a way to do this programmatically, so we decided against trying to make one up ourselves. J This new API makes the scripting of new Office365Mon subscriptions a snap though, which in turn makes it incredibly easy to plug in free 24×7 monitoring of your SharePoint Online and Exchange Online tenants.
There’s a bunch of documentation and code samples to help you get going as well. Here are a few things you need to know to get started:
- You will see a link to the new Subscription Management API in the menu now under Premium Features.
- Every customer will get 90 days of free access to the API to try it out
- You can download our comprehensive SDK for the API from https://www.office365mon.com/Office365Mon_Subscription_Management_API.pdf.
- You can download a complete C# sample application that demonstrates how to use every single REST method from https://www.office365mon.com/DevApiSample.zip.
- You can download a complete PowerShell sample that demonstrates how to create a subscription, add a subscription admin, add an email and text number notification, and add a SharePoint Online and Exchange Online resource from https://www.office365mon.com/PowerShellSample.zip.
If you are an Office 365 reseller, want to automate the process of setting up an Office365Mon subscription, or even just refreshing the ability for Office365Mon to monitor your resources, the new Subscription Management API has something in there for you. I encourage you to take a look at it and as always, if you want more, just ask!
On behalf of your Office365Mon crew in sunny Phoenix, AZ,