Configure RBAC for Intune in a secure way

The purpose of this blog post is to inform you how to configure RBAC for Intune in a secure way via Role-assignable groups. So, the RBAC groups can only be populated by a Global administrator or Privileged role administrator.

If you want to configure Intune RBAC roles, you must assign the Intune roles to an Azure AD Group. This means that every admin with permissions to manage groups can assign Intune RBAC roles to a user. Role-assignable groups can only be managed by a Global administrator or Privileged role administrator, so if we combine this, we have a secure RBAC configuration. Another benefit of configuring Intune RBAC roles with a role-assignable group is that we can assign roles to the RBAC group, like a custom role to read the BitLocker recovery key.

Requirements:

  • Microsoft Intune licenses
  • Global Admin / Privileged role administrator Role
  • Test account

What is RBAC, and why should I configure it?

RBAC means Role-based access control. Role-based access control is a method by which you can effectively and efficiently establish access control for information systems. You can specify a role and the required permission, so you can apply the least privileges principal. So, this means that you can limit for an admin what they can see and what they can change.

Within Intune, you can use the built-in roles which cover common roles, or you can create your own roles and define the set of permission that needs to be granted to the admin.

If you are having a helpdesk with level 1, level 2, and level 3 support. You do not want that your first-line helpdesk employees can change the Intune configuration, but they must be able to do some limited remote actions on the Intune devices. This is only achievable via RBAC.

Role-assignable groups

Assigning roles to groups can simplify the management of role assignments in Azure AD with minimal effort from your Global administrators or Privileged role administrators. For example, if an employee leaves the company or changes function, the Global admin or privileged role administrator must only populate the group instead of removing all their assigned roles.

If you want to assign a role to a group, you must create a new security group with the isAssignableToRole property set to true. The isAssignableToRole property is immutable, so it cannot be changed.

Note.  You can create up to 500 role-assignable groups per Azure AD tenant.

If a group has a role assigned, any IT administrator who can manage group membership could also indirectly manage the membership of that role. So, an administrator can elevate their privilege in a way you do not want.

Role-assignable groups are designed to help prevent potential breaches by having the following restrictions:

  • Only Global Administrators and Privileged Role Administrators can create and manage a role-assignable group.
  • The membership type for role-assignable groups must be assigned.
  • To prevent elevation of privilege, only a Privileged Authentication Administrator or a Global Administrator can change the credentials or reset MFA for members and owners of a role-assignable group.
  • Group nesting is not supported. A group can’t be added as a member of a role-assignable group.

More information about Role-assignable groups can be found here.

Create a Role-assignable Group

  • Set the following settings
SETTINGVALUE
Group typeSecurity
Group NameE.g., RBAC Intune Read-only Operator
Group DescriptionSet a good description, so that everyone with access to the portal knows the purpose of the group
Azure AD roles can be assigned to the groupYes
  • So, that is all, Click on Create
  • Select in the toast notification yes, this confirms that you are aware that the group cannot be changed
  • The role-assignable group is now created and can only be assigned by a Global administrator or Privileged role administrator Role

Non-Intune license admin configuration

Tenants created before the 2006 release do not have by default the option Unlicensed admins enabled. So only accounts with an Intune license can access the Intune portal

See here my knowledge base item to enable the unlicensed admin option.

Configure an Intune RBAC role and assignable via a role-assignable group

  • Click on properties and check the permissions.
  • So, we know the permissions now we will assign the role. Click on Assignment
  • Click on + assign
  • Set the following settings:
SETTINGVALUE
NameRBAC Intune Read-only Operator
DescriptionSet a good description, so that everyone with access to the portal knows the purpose of the RBAC assignment
  • Click on Next
  • The next step is to assign the admin group.
  • Click on +Add groups and you must select the role-assignable group
  • Click on Next
  • Now we must set the scope group.
  • Select all devices
  • Click Next
  • On the Scope tags section click Next. For this blog post we don’t want to scope anything for an administrator.
  • Review your configuration and select Create
  • The RBAC role is created and can only be assigned by a Global administrator or Privileged role administrator

So that’s all, now you are ready to create more RBAC roles and configure RBAC for Intune in a secure way.

Note. It take some time to process the RBAC permissions for an admin. So, be a little patient with testing.

Results

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.