Test-Monitor Web Service Connectivity Issues Using PowerShell

Your download is in progress and it will be complete in just a few seconds! If you face any issues, download manually here

Thank you for registering with ManageEngine.

We will send the download link to the registered email ID shortly.

Stay informed about Exchange with Exchange Reporter Plus

  •  
  •  
  •  
  • By clicking 'Download 30-day free trial' you agree to processing of personal data according to the Privacy Policy.

Exchange Online Reports

cmdlet: Test-WebServicesConnectivity

Description: Use this cmdlet to test the connectivity to Exchange Web Services virtual directory. This cmdlet works for Exchange server 2010. For Exchange 2013 or later, please use Get-serverhealth cmdlet.

Test-WebServicesConnectivity
[[-ClientAccessServer]<ServerIdParameter>]
[-AllowUnsecureAccess]
[-Confirm]
[-DomainController<Fqdn>]
[-LightMode]
[-MailboxCredential<PSCredential>]
[-MailboxServer<ServerIdParameter>]
[-ResetTestAccountCredentials]
[-Timeout<UInt32>]
[-TrustAnySSLCertificate]
[-UseAutodiscoverForClientAccessServer]
[-WhatIf]
[<CommonParameters>]

When you use this cmdlet for the first time, you need a test user. Create a test user, using this command:

1 & $env:ExchangeInstallPath\Scripts\New-TestCasConnectivityUser.ps1

Results returned by the cmdlet include:

  1. Source: Name of the source server.
  2. ServiceEndpoint: Name of the destination server.
  3. Scenario: Details of the operations that are tested. Values are Autodiscover: SOAP, Provider and EWS: GetFolder (full mode) or EWS: ConvertID (light mode).
  4. Result: Success or *FAILURE*.
  5. Latency(MS): The time taken, in milliseconds, to complete the test

Why Exchange Reporter Plus is a better option.

Exchange Reporter Plus is a reporting and change auditing tool for MS Exchange server, Exchange Online, and Skype for Business. Its built-in reports are generated in a single click and are easy to customize with the advanced filters provided by the tool. The monitoring reports provide near real -time data which does not require one to proficient in scripting.

Steps to generate Web Service Connectivity report in Exchange Reporter Plus:

  1. Go to the Monitoring tab.
  2. Navigate to Server Monitoring > Web Service Connectivity in the left pane.
  3. Enter the Period for which the data must be shown.
  4. Select the view of the report. (Summary, default or custom view).

steps-to-generate-web-service-connectivity

Advantages of using Exchange Reporter Plus

  • Reports scheduler:  Reports can be scheduled to be generated at regular intervals to reduce the overhead of generating reports manually.
  • Report export: The reports can be exported to PDF, XLS, HTML, or CSV formats and emailed to the administrator.
  • Advanced filters:  Use attribute-based filters to get the data you need without lengthy PowerShell scripts.
  • Secure delegation: Securely delegate the task of report generation to technicians and IT staff without giving them admin access.

Read more about the Exchange Reporter Plus, here.

A single pane of glass for Exchange Server Monitoring, Reporting and Auditing