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
Navigate to the Azure Portal (https://portal.azure.com)
Sign in with appropriate administrative credentials
Ensure you have Owner permissions on the subscription
Step 2: Navigate to Subscriptions
In the Azure Portal search bar, type "Subscriptions"
Select "Subscriptions" from the search results
Click on the relevant subscription where you're attempting CloudRanger onboarding
Step 3: Access Resource Providers
In the subscription blade, locate the left navigation panel
Under "Settings", click on "Resource providers"
Wait for the resource providers list to load
Step 4: Register Microsoft.ManagedIdentity
In the resource providers list, use the search box to find "Microsoft.ManagedIdentity"
Locate "Microsoft.ManagedIdentity" in the filtered results
Check the "Status" column - it should show "NotRegistered"
Click on "Microsoft.ManagedIdentity" to select it
Click the "Register" button in the top toolbar
Wait for the registration to complete (typically 1-2 minutes)
Verify the status changes to "Registered"
Retry to add the subscription and the azure subscription will be onboarded successfully.