Exercise - Get access to an Azure subscription
Your organization needs to grant administrator access for a subscription to a new administrator. The previous administrator left the company without assigning administrator access to another employee. No one else has access to this subscription.
In this unit, you'll temporarily elevate your own permissions to get access to this subscription. You'll look at how to assign subscription ownership to the new administrator. You'll then revoke your elevated access.
This exercise is optional. To complete it, you need access to an Azure subscription where you have the Global Administrator role for your account. If you don't have an Azure subscription, create a free account before you begin.
Elevate your access
Sign in to the Azure portal as Microsoft Entra Global Administrator.
Select Microsoft Entra ID, then select the Properties tab.
Under Access management for Azure resources, select Yes.
Select Save.
Sign out of the Azure portal and sign in again to refresh your access.
Verify that you have the User Access Administrator role
At the top of the Azure portal, search for Subscriptions.
Select the relevant subscription. Now that you have elevated access at the root scope, you should see all subscriptions in your directory.
Select Access control (IAM) > Role assignments.
Under User Access Administrator, ensure that you have the Root (inherited) scope.
Assign a user as an administrator of a subscription
Because you're using your own subscription, you might want to walk through the following procedure without saving the Owner role assignment in step 5.
At the top of the Access control (IAM) pane, select Add.
Select Add role assignment.
On the Role tab, select the Owner role.
At the bottom of the page, select Next.
On the Members tab, select + Select members.
On the Select members page, enter the username or email address of the user to whom you want to grant access and select Select.
Select Next.
Select Review + Assign.
If you want to complete the Owner role assignment, select Review + Assign. Otherwise, close the page.
Revoke your elevated access
- In the Azure portal, select Microsoft Entra ID > Properties.
- Under Access management for Azure resources, select No.
- Select Save.
- Sign out of the Azure portal and sign in again to refresh your access.