Error: No Data collected in MS Office SharePoint monitor added in Powershell mode

Error: No Data collected in MS Office SharePoint monitor added in Powershell mode

Error: "Unable to create remote PowerShell session" or "No data returned from PowerShell script"

If you face any of the above errors or any other error related to PowerShell Session, follow the below steps to check if you are able to run individual scripts.

1. Verify Prerequisites

2. Run PowerShell Scripts Manually

  1. Open PowerShell in Administrator mode on the machine where Applications Manager is installed.
  2. Navigate to the <AppManager-Home>\working\conf\application\scripts\powershell directory.
  3. Execute the appropriate script by replacing hostname, username, and password with the credentials of the SharePoint server as used in Applications Manager. Use CredSSP option if chosen in the monitor.
  1. Tabular data (SharePoint Service, Web Applications, Databases, Timer Jobs, Share Point Server Services, Web Content Management-Publishing Cache, Office Search Schema Plugin, Office Search Archival Plugin, Office Server Search Indexer Catalogs)
Quote.\SPMaster.ps1 'hostname' 'username' 'password' 'WebApplication,TimerJobs,ContentDB,SharepointServices' 'CredSSP'
  1. Scalar data (Other performance metrics)
Quote
For AppManager version 175900 and above:
.\SPAttributes.ps1 'hostname' 'username' 'password' '<Selected-Services>' '<Version-Number>'

For AppManager versions below 175900:
.\SPAttributes.ps1 'hostname' 'username' 'password' 'WebApplication,TimerJobs,ContentDB,SharepointServices' 'CredSSP'
  1. Refer to the table below to choose the appropriate Version-Number and their Selected-Services
SharePoint Server Version 
Version-Number
Selected-Services
2019
16
AccessServices, InfoPathServices, VisioWebAccess Services, SearchServices
2016
16
AccessServices, InfoPathServices, VisioWebAccess Services, SearchServices
2013
15
AccessServices, InfoPathServices, VisioWebAccess Services, ExcelServices, OfficeSearchGatherer
2010
14
AccessServices, InfoPathServices, VisioWebAccess Services, ExcelServices, OfficeSearchGatherer
2007
12
ExcelServices, DocumentConversions, OfficeSearchGatherer
  1. Get the full output and copy it to a text file.

Error: "No data returned from the PowerShell command"

  1. Run the SPMaster.ps1 script mentioned above in step 2 to check if it retrieves data.
  2. If not, refer to this KB article to execute direct PowerShell commands on the Applications Manager server and validate the output.

Error: "No data available in the WMI class, or the WMI class is unavailable"

  1. Run the SPAttributes.ps1 script mentioned above in step 2 to check if it retrieves data.
  2. You can also check the specific metrics using the Self Help Tools and see if the associated WMI class fails.
  3. You may copy the WMI class name from the Self Help Tools output and verify it using the WBEMTEST tool directly on the SharePoint Server to check if the class exists and data is available.
Notes
Still facing issues? 
Email the following details to appmanager-support@manageengine.com:
  1. Screenshots of the completed prerequisites
  2. Output of the script executions (saved as a text file)
  3. Self Help Tools output if available
  4. Screenshot from the WBEMTEST tool if available
  5. Latest Support Information File (SIF) from Applications Manager with Print all logs enabled and the reported monitor polled.

                  New to ADSelfService Plus?