Share via

Problem Statement – Azure Arc Onboarding Failure (TLS Trust Relationship Issue)

Raj Anand 20 Reputation points Microsoft Employee
2026-04-10T11:45:18.1566667+00:00

We are currently attempting to onboard Windows‑based on‑premises servers to Azure Arc‑enabled Servers using the standard onboarding script generated from the Azure Portal (Connected Machine Agent deployment via PowerShell).

During execution of the onboarding script (azure.ps1), the installation process fails at the step where the script attempts to establish HTTPS connectivity to the Azure Arc Hybrid Identity Service endpoint:

The following error is consistently observed:

Invoke-WebRequest : The underlying connection was closed:
Could not establish trust relationship for the SSL/TLS secure channel.

At C:\Users\Administrator\Desktop\azure.ps1:66 char:5
+ Invoke-WebRequest -UseBasicParsing -Uri "https://gbl.his.arc.azure.com"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo          : InvalidOperation:
(System.Net.HttpWebRequest:HttpWebRequest)
FullyQualifiedErrorId : WebCmdletWebResponseException
Azure Arc
Azure Arc

A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.


Answer accepted by question author

  1. Suchitra Suregaunkar 13,785 Reputation points Microsoft External Staff Moderator
    2026-04-10T11:49:34.3666667+00:00

    Hello Raj Anand

    Thank you for posting your query on Microsoft Q&A platform.

    During the execution of the Azure Arc onboarding script, the installation process encountered a failure at the stage where the script attempts to establish secure HTTPS connectivity with the Azure Arc Hybrid Identity Service endpoint. The failure was accompanied by an SSL/TLS error indicating that a trusted certificate chain could not be established, specifically stating that the trust relationship for the secure channel could not be validated.

    As anticipated during our investigation, this behavior was identified to be certificate‑related. Once the required certificate was correctly installed on the affected server by the Federal Bank Networking team, the SSL/TLS trust issue was fully resolved. Following this remediation, the onboarding script was re‑executed and completed successfully without any further errors, allowing the server to be onboarded to Azure Arc as expected. We sincerely appreciate the prompt collaboration and support from the networking team, which helped unblock the onboarding process and bring this activity to a successful conclusion.

    Thanks,
    Suchitra.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.