Skip to main content

Azure Subscription onboarding fails with Msg:The subscription is not registered to use namespace 'Microsoft.ManagedIdentity'.

Azure Subscription onboarding fails with Msg:The subscription is not registered to use namespace 'Microsoft.ManagedIdentity'.

Updated over a week ago

Problem Description

When attempting to onboard an Azure subscription to Druva CloudRanger, the process fails with a registration error related to the Microsoft.ManagedIdentity resource provider. This occurs even when customers have followed all prerequisites outlined in the official documentation.

Traceback

Error Code: ConnectionSvc-1001

Error Message: "The subscription is not registered to use namespace 'Microsoft.ManagedIdentity'"

Context: Azure subscription onboarding fails despite following all documented prerequisites

"code": "ConnectionSvc-1001",

"message": "Codes:[MissingSubscriptionRegistration], Msg:The subscription is not registered to use namespace 'Microsoft.ManagedIdentity'. See https://aka.ms/rps-not-found for how to register subscriptions."

Prerequisites Verification

Before proceeding with the resolution, ensure you have completed all steps from the official guide: Reference: Register Azure Subscriptions - Before You Begin

Symptoms

  • Azure subscription onboarding process fails

  • Error occurs during the connection establishment phase

  • All other prerequisites appear to be met correctly

  • Managed Identity services cannot be accessed or created

Understanding Azure Resource Providers

Azure uses Resource Providers (RPs) to manage and provide access to different types of services. Each Azure service is associated with a specific resource provider namespace.

Microsoft.ManagedIdentity Namespace

  • Purpose: Enables Azure resources to use Managed Identities

  • Function: Provides authentication and authorization capabilities for Azure services

  • Requirement: Must be registered for subscription to create or use managed identities

  • Impact: If not registered, any service attempting to create or use managed identity will fail

Resolution

Step 1: Access Azure Portal

  1. Navigate to the Azure Portal (https://portal.azure.com)

  2. Sign in with appropriate administrative credentials

  3. Ensure you have Owner permissions on the subscription

Step 2: Navigate to Subscriptions

  1. In the Azure Portal search bar, type "Subscriptions"

  2. Select "Subscriptions" from the search results

  3. Click on the relevant subscription where you're attempting CloudRanger onboarding

Step 3: Access Resource Providers

  1. In the subscription blade, locate the left navigation panel

  2. Under "Settings", click on "Resource providers"

  3. Wait for the resource providers list to load

Step 4: Register Microsoft.ManagedIdentity

  1. In the resource providers list, use the search box to find "Microsoft.ManagedIdentity"

  2. Locate "Microsoft.ManagedIdentity" in the filtered results

  3. Check the "Status" column - it should show "NotRegistered"

  4. Click on "Microsoft.ManagedIdentity" to select it

  5. Click the "Register" button in the top toolbar

  6. Wait for the registration to complete (typically 1-2 minutes)

  7. Verify the status changes to "Registered"

Retry to add the subscription and the azure subscription will be onboarded successfully.

Did this answer your question?