Azure Active Directory Administrative Units: Azure AD Delegation of Administrative Permissions
The move to the cloud often means that we need to learn new ways to manage access to cloud based resources. The methods of delegating administrative control we are accustomed to on-premises are often no longer applicable to cloud-based resources.
Office 365 has long had built in admin roles that can be used to delegate levels of permissions to administrators. The screenshot below shows the current built in admin roles available in Office 365.
Beyond these built in roles, administrators can use RBAC permissions within some of the Office 365 applications to exercise more granular control over that specific application. These roles allow you to delegate sub-admins in your Office 365 tenant for some of the workloads.
Until recently Azure AD has been closer to an all-or-nothing administrative experience. The choices for an account in Azure have been “user”, “global administrator”, or “limited administrator” very similar to the functionality available within the Office 365 portal.
In this blog post, I’m going to cover Azure Active Directory Administrative Units and everything you need to know to setup administrators limited to specific sub-sets of users within Azure AD.
What are Azure AD Administrative Units?
Azure AD Admin Units are new containers in Azure Active Directory that can be used to delegate administrative permissions to a subset of users. This feature is still in preview as of this writing, and it only works for user accounts. It seems likely that Microsoft will expand that other types of Azure resources by the time this feature goes into General Availability, or maybe sometime thereafter.
Azure AD Administrative Unites do require an Azure Premium license to manage users with this feature. The users themselves do not require a premium license to be managed.
Working with Administrative Units
Working with AAD Admin Units requires a PowerShell module to be installed to get the necessary cmdlets. To get this module, all you must do is open PowerShell and run the following cmdlet
Once the module is installed, connect to your Azure AD tenant with
Let’s look at the cmdlets that are specific to Azure AD Admin Units.
Scoping Helpdesk admins to a sub-set of users
Let’s take the example of an organization that needs to setup Helpdesk administrators for a specific sub-set of users. Theses Helpdesk admins will be able to perform these tasks only for the users we include in the scope.
First, we want to see we have any Admin Units already setup.
There are no Admin Units setup within my tenant, so let’s create one.
Now we create a variable to hold our new AU.
To add the user(s) to the Admin Unit run the following.
John’s account is setup as a regular user in Office 365 admin portal. Now when John logs into the Office 365 portal and launches the Admin app, he can manage Ted’s account.
Azure Active Directory Administrative Units are a new feature that will give us more granular control over our administrators privileges in Azure and Office 365.
As it’s currently implemented, Azure AD Admin Units are basic. They don’t have nearly the functionality that I would like to see, but these things are always an evolution. For now, it’s good to play with this basic tool and figure out how it works. In the fairly near future, this feature should grow into a very useful tool.