Aqui estão algumas perguntas comuns e dicas de solução de problemas para atribuir funções do Azure AD (Azure Active Directory) a grupos do Azure AD.
I'm a Groups Administrator but I can't see the 'Azure AD roles can be assigned to the group' switch.
Only Privileged Role Administrators or Global Administrators can create a group that's eligible for role assignment. Only users in those roles see this control.
Who can modify the membership of groups that are assigned to Azure AD roles?
By default, only Privileged Role Administrator and Global Administrator manage the membership of a role-assignable group, but you can delegate the management of role-assignable groups by adding group owners.
I am a Helpdesk Administrator in my organization but I can't update password of a user who is a Directory Readers. Why does that happen?
The user might have gotten Directory Readers by way of a role-assignable group. All members and owners of a role-assignable groups are protected. Only users in the Privileged Authentication Administrator or Global Administrator roles can reset credentials for a protected user.
I can't update password of a user. They don't have any higher privileged role assigned. Why is it happening?
The user could be an owner of a role-assignable group. We protect owners of role-assignable groups to avoid elevation of privilege. An example might be if a group Contoso_Security_Admins is assigned to Security Administrator role, where Bob is the group owner and Alice is Password Administrator in the organization. If this protection weren't present, Alice could reset Bob's credentials and take over his identity. After that, Alice could add herself or anyone to the group Contoso_Security_Admins group to become a Security Administrator in the organization. To find out if a user is a group owner, get the list of owned objects of that user and see if any of the groups have isAssignableToRole set to true. If yes, then that user is protected and the behavior is by design. Refer to these documentations for getting owned objects:
Can I create an access review on groups that can be assigned to Azure AD roles (specifically, groups with isAssignableToRole property set to true)?
Yes, you can. If you are on newest version of Access Review, then your reviewers are directed to My Access by default, and only Global Administrators can create access reviews on role-assignable groups. However, if you are on the older version of Access Review, then your reviewers are directed to the Access Panel by default, and both Global Administrators and User Administrator can create access reviews on role-assignable groups. The new experience will be rolled out to all customers on July 28, 2020 but if you’d like to upgrade sooner, make a request to Azure AD Access Reviews - Updated reviewer experience in My Access Signup.
Can I create an access package and put groups that can be assigned to Azure AD roles in it?
Yes, you can. Global Administrator and User Administrator have the power to put any group in an access package. Nothing changes for Global Administrator, but there's a slight change in User Administrator role permissions. To put a role-assignable group into an access package, you must be a User Administrator and also owner of the role-assignable group. Here's the full table showing who can create access package in Enterprise License Management:
|Azure AD directory role||Entitlement management role||Can add security group*||Can add Microsoft 365 group*||Can add app||Can add SharePoint Online site|
|Intune Administrator||Catalog owner||✔️||✔️|
|Exchange Administrator||Catalog owner||✔️|
|Teams service Administrator||Catalog owner||✔️|
|SharePoint Administrator||Catalog owner||✔️||✔️|
|Application Administrator||Catalog owner||✔️|
|Cloud application Administrator||Catalog owner||✔️|
|User||Catalog owner||Only if group owner||Only if group owner||Only if app owner|
*Group isn't role-assignable; that is, isAssignableToRole = false. If a group is role-assignable, then the person creating the access package must also be owner of the role-assignable group.
I can't find "Remove assignment" option in "Assigned Roles". How do I delete role assignment to a user?
This answer is applicable only to Azure AD Premium P1 organizations.
- Sign in to the Azure portal or Azure AD admin center and open Azure Active Directory.
- Select users and open a user profile.
- Select Assigned roles.
- Select the gear icon. A pane opens that can give this information. There's a "Remove" button beside direct assignments. To remove indirect role assignment, remove the user from the group that has been assigned the role.
How do I see all groups that are role-assignable?
Follow these steps:
How do I know which role are assigned to a principal directly and indirectly?
Follow these steps:
Select users and open a user profile.
Select Assigned roles, and then:
- In Azure AD Premium P1 licensed organizations: Select the gear icon. A pane opens that can give this information.
- In Azure AD Premium P2 licensed organizations: You'll find direct and inherited license information in the Membership column.
Why do we enforce creating a new group for assigning it to role?
If you assign an existing group to a role, the existing group owner could add other members to this group without the new members realizing that they'll have the role. Because role-assignable groups are powerful, we're putting lots of restrictions to protect them. You don't want changes to the group that would be surprising to the person managing the group.