Link Azure Subscription Using App Credentials
Note: Microsoft Entra ID devices can only be joined to the tenant that hosts the device’s subscription. See this Microsoft article for additional information.
Azure subscriptions can be linked to Nerdio Manager using the context of the currently signed in user or by using preconfigured client app registration with proper access to the subscription that is being linked. This outlines the prerequisites for linking an Azure subscription using the client app credentials method.
Before you can begin the linking process, you must have completed all the following prerequisites:
Performed the app registration (service principal) in the Entra ID tenant that contains the subscription that is being linked.
Obtained the Client App ID.
Obtained the Client App Secret.
Granted the following minimum permissions to the service principal:
Reader on Azure subscription.
Backup reader on Azure subscription.
Contributor on virtual network(s) where host VMs are to be created.
Contributor on resource group(s) where host VMs are to be created.
Obtained the Entra ID Tenant ID.
Obtained the Azure Subscription ID.
To link an Azure subscription using Client App:
Sign in the Entra ID portal as Subscription Owner into the Azure tenant that contains the subscription that is being linked.
Note: In some environments, you may need Application Administrator or Global Administrator permissions to register a new application.
Navigate to App registrations.
Select + New registration.
Enter the following information:
Name: Type the user-facing display name for the application.
Supported Account Types: Select Accounts in this organizational directory only.
Redirect URI: No Redirect URI is needed.
Once you have entered the desired information, select Register.
Copy the Application (client) ID to be used for linking in Nerdio Manager.
From the menu, select Certificates & secrets.
Select + New client secret.
Enter the following information:
Description: Type the description.
Expires: Set the expiration time.
Note: It is recommended that the expiration time be greater than 1 year.
Once you have entered the desired information, select Add.
Copy the Value of the Client App Secret to be used for linking in Nerdio Manager.
In the Azure portal, navigate to Subscriptions > Your subscription > Access control (IAM).
Select + Add > Add role assignment.
Assign both Reader and Backup Reader roles to the App Registration created above.
For each resource group being linked to Nerdio Manager, navigate to Resource groups > Your resource group > Access control (IAM).
Select Add > Add role assignment.
Assign the Contributor role to the App Registration created above.
For each virtual network being linked to Nerdio Manager, navigate to Virtual networks > Your virtual network > Access control (IAM).
Select Add > Add role assignment.
Assign the Contributor role to the App Registration created above.
Navigate to Microsoft Entra ID and make a note of the Tenant ID.
Navigate to Subscriptions > Your Subscription and make a note of the Subscription ID.
Note: You are now ready to link this Azure subscription in Nerdio Manager. See Link Multiple Azure Sovereign Clouds for details.
Comments (0 comments)