After successfully configuring the Azure component in Active Roles, connectivity to Azure breaks after a period, requiring a service restart to restore functionality.
While in a broken state, attempting to view the Azure Health Check page with verbose Administration Service logging enabled may produce the following error in the log:
[AzureHealthCheck::InternetConnectivity] Exception in AzureHealthCheck Graph Connectivity failedSystem.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.Management.Automation.PSInvalidOperationException: There is no Runspace available to run scripts in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted to invoke was: $true
Attempt to track down the offending script by first narrowing down the timeframe in which either a workflow or policy may be executing the script causing the failure. Once the script has been identified, check for the following line:
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = $true
Either remove this line if not required for the script, or configure it to $null, as follows:
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center