Getting Error AZCM0026 When Running Windows-OnboardingScript

Andy Lau Pik Hui 60 Reputation points
2024-03-26T07:32:19.6166667+00:00

Hi MS Community,

I am faced with this error when running the script to onboard servers to Azure Arc.User's image

I am using Azure Arc private link scopes and I have added the entries in local host file as below:
User's image

I have set HTTPS outbound in firewall any to any. I truly appreciate if anyone can enlighten me on this issue...

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
321 questions
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 19,856 Reputation points
    2024-03-28T10:32:48.68+00:00

    @Andy Lau Pik Hui thank you for posting the question on Microsoft Q&A.

    Based on the error received, the installer script was not able to connect to the following URL - "https://gbl.his.arc.azure.com/discovery?location=southeastasia&api-version=2.1"

    You could verify connectivity from your machine to this URL endpoint, by opening a browser and trying to access it. In working scenario, it should return a set of endpoints as below:

    RETURNED OUTPUT:
    {"hisEndpoints":["https://sea.his.arc.azure.com"],"atsEndpoints":["https://SoutheastAsia-ats.his.arc.azure.com","https://sea.his.arc.azure.com"]}
    

    In case you are not able to access the url and getting timeout or some other error, I would suggest checking with your networking team to understand the issue. This clearly points to a networking issue than the issue with installer itself.


    You have mentioned that the set of URLs were added to host file in windows (in second screenshot of the question)? Did you mean that you added these entries in the host file located in directory - "C:\Windows\System32\drivers\etc"?

    If yes, note that the host file is used by the OS to map the URL to specific IP addresses, without using the DNS. It should not be edited manually unless the IP addresses are well known and not subject to change. I would suggest resetting the host file to the default setting and checking again.

    In case I misunderstood the scenario, please add more details/context to help me better understand.

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    0 comments No comments

0 additional answers

Sort by: Most helpful