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 Azure Active Directory (Azure AD) Global Administrator.
Select Azure Active Directory > Properties.
Under Access management for Azure resources, select Yes.
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.
In the Role drop-down list, select Owner.
In the Select box, enter the username or email address of the user you want to grant access to. Select that user.
If you want to complete the Owner role assignment, select Save. Otherwise, select Discard.
Revoke your elevated access
- In the Azure portal, select Azure Active Directory > 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.