Adding a ubuntu gcp resource to Azure arc

Abhilash 26 Reputation points
2020-12-20T09:02:00.597+00:00

When I try to configure an Azure arc to use an Ubuntu20.04 VM in azure arc getting an error (following the steps mentioned in azure protal):

Command:

root@instance-ubuntu20:~# azcmagent connect --resource-group "test_sca_simulation" --tenant-id "f0869253-be00-4a37-9c77-37742cb15c38" --location "eastus" --subscription-id "a145082f-f490-4220-9288-14be86b19322" --cloud "AzureCloud"

Result:

ERROR[0101] Failed to AzcmagentConnect ARM resource Error="RequestCorrelationId:1cee0f6d-e292-4bb8-a16c-761abe4f9826 Message: The subscription is not registered to use namespace 'Microsoft.HybridCompute'. See https://aka.ms/rps-not-found for how to register subscriptions. Code: MissingSubscriptionRegistration httpStatusCode:409 "
FATAL[0101] RequestCorrelationId:1cee0f6d-e292-4bb8-a16c-761abe4f9826 Message: The subscription is not registered to use namespace 'Microsoft.HybridCompute'. See https://aka.ms/rps-not-found for how to register subscriptions. Code: MissingSubscriptionRegistration httpStatusCode:409

I am doing an evaluation of hybrid cloud setup.

Thanks,
Abhilash.

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

1 answer

Sort by: Most helpful
  1. Abhilash 26 Reputation points
    2020-12-20T10:01:31.2+00:00

    49822-screen-shot-2020-12-20-at-15952-pm.png

    Make sure that "Register" is finished before executing the script or not. Once its done execute the script and it works

    1 person found this answer helpful.