I would like to know where can we find out the “cloudName”?

Sudha P 1 Reputation point
2022-01-10T09:15:14.177+00:00

Hi All,

To connect “Azure Connected Machine Agent” to the Cloud, below are the command. But I would like to know where can we find out the “cloudName”. This was not required for windows

azcmagent connect --resource-group "resourceGroupName" --tenant-id "tenantID" --location "regionName" --subscription-id "subscriptionID" --cloud "cloudName"
if [ $? = 0 ]; then echo "\033[33mTo view your onboarded server(s), navigate to https://portal.azure.com/#blade/HubsExtension/BrowseResource/resourceType/Microsoft.HybridCompute%2Fmachines\033[m"; fi

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

2 answers

Sort by: Most helpful
  1. Monalla-MSFT 12,861 Reputation points
    2022-01-20T02:03:54.497+00:00

    @Sudha P - Thanks for reaching out and for being patient .

    cloudName represents the Azure cloud you're connecting to.
    AzureCloud is the value for the Azure public cloud, which is the default value if the value is omitted. Other options are AzureUSGovernment and AzureChinaCloud. Note that the Azure Portal automatically puts in the correct value when you generate a script there.

    Hope that helps.

    ----------------------------------------------------

    If the above response was helpful, please feel free to "Accept as Answer" and "upvote" so it can be beneficial to the community.

    1 person found this answer helpful.
    0 comments No comments

  2. Sudha P 1 Reputation point
    2022-01-20T08:06:40.023+00:00

    Thanks for the update Monalla.


Your answer

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