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

O365 /Azure Monitoring

Jump to solution

Does Solarwinds have a FULL set of instructions on how to setup O365 monitoring?  I have found like 10-20 articles that all have bits and pieces but can't find anything that goes through what you actually need to run through to get this up and running.  Thanks!

1 Solution

cmazko​ So the light bulb turned on a bit this morning after talking to support for a bit.  I was looking at all things O365/Azure monitoring and was trying to do everything at once - monitoring, Microsoft Graph, and the application.  I now have a good grasp on this - start with the SAM monitoring get that setup and rolling and go from there.  Once I get this done and setup I am going to write something for an overview of how to set this up and to start simple and get it working before you try to do all things O365/Azure.

View solution in original post

18 Replies

Hey martian monster

Take a look at the SAM template reference for the Office 365 templates currently available:

Microsoft Office 365

The various pages here will help you get on the right track!

What I can't figure out is how to get the data from O365 > SW Util server to run PS queries > Orion.  I seem to be missing that part in any of the documentation.  I started with this article and set things up to run PS queries - Success Center and can connect and test but I have no idea how we get the data from O365 to Orion.  I looked at this article as well - Working with Office 365 via PowerShell  but nothing I found yet explains how the data gets from O365 to Orion.  I am probably missing something super simple here...

0 Kudos
Level 11

Hi, martian monster​. Are you using one of the new templates included in SAM 6.9?

Those templates have different prerequisites than the earlier Office 365 templates. (I'll update the older Success Center article you referenced.)

For example, here are the prerequisites for Microsoft Office 365 OneDrive template:

  • The PSMSGraph PowerShell module is installed and the Client is configured in Azure AD. See Integrate Office 365 templates with Microsoft Graph.
  • When you configure the PSMSGraph PowerShell module for Microsoft Graph, collect the following values to pass as arguments to monitors in the following format/precedence:
    client_id=<Value>, TenantID=<Value>, client_secret=<Value>

I noticed that the Microsoft Azure link is missing in the SAM Template Reference TOC so I'll update that also.

Level 11

martian monster​ Please also check out MONITORING AZURE PAAS WITH SOLARWINDS SERVER &amp; APPLICATION MONITOR​, a blog post from 2018 when those templates were first posted on THWACK to glean customer feedback.

Thanks!  I will have a look at both of these and see where I get. 

Level 11

martian monster​ I updated the SAM docs to restore the Microsoft Azure template topic in the SAM Template Reference. I also revised prerequisites in the individual Azure template topics to more closely align with the Azure PAAS blog post from 2018. For good measure, I updated the Using Microsoft Office 365 templates KBs to clarify that they relate to the older Office 365 templates, not the Office 365 templates released in SAM 6.9 that integrate with MS Graph to pull data into SAM. Thanks for bringing these issues to our attention.

Thank you!  I will be working on this next week and let you know how it goes!!

I setup a Solarwinds Utility node and followed this to setup on it so it could talk to O365/Azure - Success Center

After reading through the above documentation I setup api.admin.microsoftonline.com as my external node. 

I tried running the Licensing SAM module against the API and it did not work. I am assuming it is because I did not set this up on my Orion server - Success Center

I then added the SAM licensing module to the Solarwinds Utility node and assigned the O365 credentials to the module and BOOM. I was able to get licensing statistics.  Yaay!!   I am working on setting up Microsoft Graph which I think I need for the rest of the monitoring.  So far so good...

cmazko​ So the light bulb turned on a bit this morning after talking to support for a bit.  I was looking at all things O365/Azure monitoring and was trying to do everything at once - monitoring, Microsoft Graph, and the application.  I now have a good grasp on this - start with the SAM monitoring get that setup and rolling and go from there.  Once I get this done and setup I am going to write something for an overview of how to set this up and to start simple and get it working before you try to do all things O365/Azure.

View solution in original post

Product Manager
Product Manager

https://thwack.solarwinds.com/people/martian%20monster  wrote:

cmazko  So the light bulb turned on a bit this morning after talking to support for a bit.  I was looking at all things O365/Azure monitoring and was trying to do everything at once - monitoring, Microsoft Graph, and the application.  I now have a good grasp on this - start with the SAM monitoring get that setup and rolling and go from there.  Once I get this done and setup I am going to write something for an overview of how to set this up and to start simple and get it working before you try to do all things O365/Azure.

Is it possible for me to like this comment x1000? The UI isn't letting me do that I'm super excited to see your writeup.

Yeah I am going to be putting something together on how to start up your basic monitoring in O365 and go from there.  All of the links provided above are great but I finally was able to put everything together and I need to work on my MVP points too so this should help. 

0 Kudos
Level 8

I look forward to seeing it, as I am currently starting from square one on O365 monitoring for our environment

Depending on how my day goes I might be able to get something quick by tomorrow.

Let me know if this helps at all jhendri1

You are probably like me and are trying to wrap your head around how do we monitor O365 using Solarwinds? You have read the links in THWACK and went over to the Solarwinds Solutions center and found some links on the solutions center as well but how does it fit altogether?  If you were like I was you read the posts in THWACK and thought this would be easy.  It is you just need to take a step back and do small steps at a time. This goes over setting up what I am calling basic O365 monitoring. It does not go into the new SAM modules that use Microsoft Graph for reporting just basic O365 monitoring using SAM.  Once I figure out how MS Graph works for the new SAM modules I will write something else up.

Prep Work

  1. Depending on your environment you may want to setup a separate server for this.  Not all environments have this luxury I did this on the recommendations of others so if you need to reboot or do anything to this node you can reboot it without having to affect Orion.
  2. You will need an account in O365 that has Global Admin rights and is not subject to any MFA policies.  We created this in our local domain and synced it up to Azure.

Setting Up Monitoring

  1. On the node you are going to use for monitoring make sure you follow the instructions on this page to make sure the server can query O365 -https://support.solarwinds.com/SuccessCenter/s/article/Microsoft-Office-365-template-requirements?ui....  Any queries or Templates that are run on this node to O365 are going to be using the account you created in Number 3 above.  I also installed Exchange Online Powershell module out of O365.  Make sure you can connect to O365 via PowerShell on this node.
  2. Add your monitoring Node to Orion with an Agent.
  3. Add the O365 account you created above to the SAM credential library. Settings > All Settings > SAM Settings > Global SAM Settings > Credentials Library. This will allow you to add the SAM modules for monitoring to the node.
  4. Quick Review – we have node setup with SW Agent, PowerShell 2.0 or later, Microsoft Online Services Sign-in Assistant, and optional Exchange Online PowerShell module.  In Orion the O365 account that was created above it was added to the SAM Credential library. Everything should be good to go to add your first SAM template to the Node.
  5. Now you add the SAM templates to the node and it will report on O365.  Again, the templates that this works with are the pre SAM 6.9 ones that do not require Microsoft Graph.

If there is anything I missed in this please let me know and I can correct/update it.  I put this together working though a bunch of different instructions sets until I was able to get things figured out.

Level 8

First off, thank you martian monster for putting this together!

I am unclear on the purpose of the new/alternate server, is it just to run the O365 connections?

Is this to avoid the app monitor timeout/lockout issues?

0 Kudos

Yeah the new/alternate server is just running the the O365 connections so Orion did not get bogged down.  Glad I could help!

0 Kudos
Level 11

martian monster​ Thanks for pulling all of that info together! I plan to rework that info in the SAM doc set to clarify things. Regarding how MS Graph works with SAM, is Integrate Office 365 templates with Microsoft Graph helpful? If not, please let me know what your outstanding questions are and I can work with the SAM team to answer them.

cmazko  When it comes to making documents look 'pretty' I am not the person.  I think my MS Graph issues might be me understanding what it is and how it interacts with Orion.  So when I get to focus a bit more on MS Graph the light bulb should hopefully turn back on.  Let me know if you need anything else on this. 

0 Kudos