Licensing Admin Roles using groups

Steel Contributor

I know the ability to apply licenses to groups is in preview, but it there any functionatliy that would allow us to apply admin roles to groups?  For example, we have an AD Group for everyone in a SPO Admin role.  I'd like to auto assign the SPO Admin role to that group, similar as you can assign licenses to groups.

2 Replies

Not that I've heard of. But it's easy enough to do via PowerShell - expand the group membership and pipe it against the Add-MsolRoleMember cmdlet.

I know it's an old thread and you might already know this but here goes :)
Role-assignable groups is in public preview. You need Azure AD Premium P1 or P2 for group members and to create one, you need to have the Privileged Role Admin or Global Admin role.
If that is ok, you will see an extra slider option when creating a group 'Azure AD roles can be assigned to the group'. Set this to Yes and at the bottom choose the roles you want to assign.
Note you cannot change this setting (on/off) later and so you cannot add this capability to existing groups nor disable it afterwards.