cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post

Office 365 Service Health using Office 365 Service Communications API

A template to monitor Office 365 Service Health Status using Office 365 Service Communications API and Azure Application for authentication.

Results will display as below

pastedImage_2.png

Instructions

Configure an Azure application to authenticate your tenant to the API

Follow the steps in the below link

Configure SAM to use Microsoft Graph API for Office-365 related templates

in addition to the above, ensure you add these permissions for the Office 365 Management API

pastedImage_8.png

In SolarWinds add credentials for your Azure Application

Username:           Client ID

Password:            Client Secret

The Tenant ID will be passed to the script via the arguments field

In the component monitor, make sure you add the Office 365 service you want to monitor and your tenant ID to the arguments field.

The script is the same for each Office 365 service so only this needs to be changed if adding additional services

pastedImage_13.png

I display this on my dashboard by adding a custom table widget with the settings below.

So far this is the best way I have found to display the information, although I am fairly new to SolarWinds

pastedImage_9.png

Hope this helps people as I couldn't find much info on retrieving service health information

Thanks to jvb as I used and modified the api authentication methods from their Microsoft Office 365 Teams template

Labels (1)
Attachments
Comments

This looks amazing.  We are utilize O365 and I need to get Solarwinds a bit more dug into O365.  Thanks!

I am kind of new to this and I have Microsoft Graph setup/SW app setup in Azure but I am not sure where I find or add the ServiceHealth.read - do I have to add this to the application I made for SW or a different API in Azure?  Thanks!

Yes, This permission needs to be added to the SolarWinds application you have created in Azure.
Open the SW App in Azure > click API Permissions > + Add a permission > Office 365 management APIs > Application Permissions > ServiceHealth.Read

chrisbuzzle​ - for the widget I figured out Status and Service Status but for the life of me I cannot find Service Name - do you recall what the database calls that column?  Thanks!

Hi, It's Component/Name
Hope this helps!


Yes it does.  Thank you!

I am having an odd issue that I cannot quite figure out.  I configured it like below and when I hit preview it comes up with data and looks great.  When I go to the page it is setup on it says no activity to report.  Any ideas at all?  Thanks!O365 Config.gif

 

Hi Team,

We have configured the template the way it's shown in the thwack doc above. However, I am getting an error as "WARNING: Exception was caught: The remote server returned an error: (404) Not Found." when i run the script in PS on orion server. Also when i test the template, it just shows the results as "NA".

Need your suggestions on this. bit urgent

@chrisbuzzle 
Does this will only consume 1 SAM license?

Version history
Revision #:
1 of 1
Last update:
‎01-23-2020 10:15 AM
Updated by: