Microsoft 365 - Unable to add monitor

Microsoft 365 - Unable to add monitor

Prerequisites: 

Ensure that you have met all the prerequisites for the Microsoft 365 monitor.

Basic Connectivity Troubleshooting: 

If you're unable to add the monitor, refer this KB.

Microsoft 365 errors:

1. "Microsoft 365 connectivity modules are not installed."

Check if the MSOnline module mentioned in the prerequisites is installed in the AppManager server. Open Powrshell in administrator mode and run the below command and check if the module is listed:
 Get-Module -ListAvailable
If the module is not installed, you need to install it. If you face any issues while installing the module, refer this KB.

2. "Tenant Not Found"

Open Powrshell in administrator mode and run the below commands and check if the Tenant name used while adding the monitor is same as the Account name in the output. (Enter the credentials when prompted.)

Import-Module MSOnline
Connect-MsolService
Get-MsolAccountSku | select *


Exchange Online errors:

1. "Exchange Online Management PowerShell module is not installed"

      Follow the steps given in this KB.

2. "Connecting to Exchange Online failed"

       Follow the steps given in this KB.

If the errors still occur even after installing the modules, open Powrshell in administrator mode and run the below commands and check if you are able to run them without any error. Enter the credentials when prompted.
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -ShowBanner:$false
Get-EXOMailbox


To know more about  why you need to to enable Basic authentication,  refer this link.

SharePoint Online errors:

1. "Connecting to Sharepoint Online failed." or "Sharepoint Online Management Shell is not installed."

 Follow the steps given in this KB

If the error still occurs after installing the required module,  open Powrshell in administrator mode and run the below commands and check if you are able to run them without any error. Enter the credentials when prompted. Replace <tenantName> with your tenant name.
Import-Module Microsoft.Online.Sharepoint.PowerShell
Connect-SPOService -url https://<tenantName>-admin.sharepoint.com
Get-SPOSite


Microsoft Teams errors:

1. "Microsoft Teams powershell modules are not installed."

 Follow the steps given in this KB to install the MS Teams modules.
If the error still occurs after installing the required module,  open Powrshell in administrator mode and run the below commands and check if you are able to run them without any error. Enter the credentials when prompted.
Import-Module MicrosoftTeams
Connect-MicrosoftTeams
Get-Team

Note: If you face any error while running the direct commands, then kindly contact Microsoft Support and try to fix the same as these are just commands used in scripts to collect data in Applications Manager.


      New to ADSelfService Plus?

        Resources

            • Related Articles

            • Basic WMI connection check when unable to add monitor

              Follow the below steps to check the WMI connection when unable to add the monitor in WMI mode. Supported monitors: Active Directory, Microsoft Dynamics CRM / 356 On Prem, Microsoft Dynamics AX, Microsoft Skype for Business, Network Policy Server, ...
            • Unable to add Biztalk monitor in Powershell mode

              Check whether all the prerequisites are done. The prerequisites can be found here:   https://www.manageengine.com/products/applications_manager/help/prerequisites-for-applications-manager.html#MicrosoftBizTalkMonitoring   If unable to add the Biztalk ...
            • Unable to add Microsoft Teams monitor

              To resolve the issue, follow the steps given below: 1. Make sure all Microsoft 365 prerequisites are met. 2. Follow the steps mentioned in the following link and obtain the ...
            • Unable to add MS Office SharePoint monitor

              Check if all the prerequisites are done. The prerequisites can be found here:  https://www.manageengine.com/products/applications_manager/help/prerequisites-for-applications-manager.html#SharePointServer WMI Mode If unable to add the SharePoint ...
            • Unable to add Exchange Server monitor

              Check whether all the prerequisites are done. The prerequisites can be found here:   https://www.manageengine.com/products/applications_manager/help/prerequisites-for-applications-manager.html#ExchangeServer WMI Mode If unable to add the Exchange ...