Skip to content

Commit 3491f3b

Browse files
authored
Merge pull request #196633 from markwahl-msft/mwahl-gov-existing
azure ad identity governance: clarify multi-role apps and existing access to resources
2 parents d9376db + 2c7ada4 commit 3491f3b

File tree

3 files changed

+31
-11
lines changed

3 files changed

+31
-11
lines changed

articles/active-directory/governance/entitlement-management-access-package-create.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ An access package enables you to do a one-time setup of resources and policies t
2828

2929
All access packages must be put in a container called a catalog. A catalog defines what resources you can add to your access package. If you don't specify a catalog, your access package will be put into the General catalog. Currently, you can't move an existing access package to a different catalog.
3030

31+
An access package can be used to assign access to roles of multiple resources that are in the catalog. If you're an administrator or catalog owner, you can add resources to the catalog while creating an access package.
3132
If you are an access package manager, you cannot add resources you own to a catalog. You are restricted to using the resources available in the catalog. If you need to add resources to a catalog, you can ask the catalog owner.
3233

33-
All access packages must have at least one policy. Policies specify who can request the access package and also approval and lifecycle settings. When you create a new access package, you can create an initial policy for users in your directory, for users not in your directory, for administrator direct assignments only, or you can choose to create the policy later.
34+
All access packages must have at least one policy for users to be assigned to the access package. Policies specify who can request the access package and also approval and lifecycle settings. When you create a new access package, you can create an initial policy for users in your directory, for users not in your directory, for administrator direct assignments only, or you can choose to create the policy later.
3435

3536
![Create an access package](./media/entitlement-management-access-package-create/access-package-create.png)
3637

@@ -40,11 +41,9 @@ Here are the high-level steps to create a new access package.
4041

4142
1. Select the catalog you want to create the access package in.
4243

43-
1. Add resources from catalog to your access package.
44+
1. Add resource roles from resources in the catalog to your access package.
4445

45-
1. Assign resource roles for each resource.
46-
47-
1. Specify users that can request access.
46+
1. Specify an initial policy for users that can request access.
4847

4948
1. Specify any approval settings.
5049

@@ -84,7 +83,9 @@ On the **Basics** tab, you give the access package a name and specify which cata
8483

8584
## Resource roles
8685

87-
On the **Resource roles** tab, you select the resources to include in the access package. Users who request and receive the access package will receive all the resource roles in the access package.
86+
On the **Resource roles** tab, you select the resources to include in the access package. Users who request and receive the access package will receive all the resource roles, such as group membership, in the access package.
87+
88+
If you're not sure which resource roles to include, you can skip adding resource roles while creating the access package, and then [add resource roles](entitlement-management-access-package-resources.md) after you've created the access package.
8889

8990
1. Click the resource type you want to add (**Groups and Teams**, **Applications**, or **SharePoint sites**).
9091

@@ -98,7 +99,7 @@ On the **Resource roles** tab, you select the resources to include in the access
9899

99100
If you are a Global administrator, a User administrator, or catalog owner, you have the additional option of selecting resources you own that are not yet in the catalog. If you select resources not currently in the selected catalog, these resources will also be added to the catalog for other catalog administrators to build access packages with. To see all the resources that can be added to the catalog, check the **See all** check box at the top of the Select pane. If you only want to select resources that are currently in the selected catalog, leave the check box **See all** unchecked (default state).
100101

101-
1. Once you have selected the resources, in the **Role** list, select the role you want users to be assigned for the resource.
102+
1. Once you've selected the resources, in the **Role** list, select the role you want users to be assigned for the resource. For more information on selecting the appropriate roles for a resource, read [add resource roles](entitlement-management-access-package-resources.md#add-resource-roles).
102103

103104
![Access package - Resource role selection](./media/entitlement-management-access-package-create/resource-roles-role.png)
104105

articles/active-directory/governance/entitlement-management-access-package-resources.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This video provides an overview of how to change an access package.
3030
3131
## Check catalog for resources
3232

33-
If you need to add resources to an access package, you should check whether the resources your need are available in the catalog. If you are an access package manager, you cannot add resources to a catalog, even if you own them. You are restricted to using the resources available in the catalog.
33+
If you need to add resources to an access package, you should check whether the resources you need are available in the access package's catalog. If you're an access package manager, you can't add resources to a catalog, even if you own them. You're restricted to using the resources available in the catalog.
3434

3535
**Prerequisite role:** Global administrator, Identity Governance administrator, User administrator, Catalog owner, or Access package manager
3636

@@ -42,11 +42,15 @@ If you need to add resources to an access package, you should check whether the
4242

4343
![List of resources in a catalog](./media/entitlement-management-access-package-resources/catalog-resources.png)
4444

45+
1. If the resources aren't already in the catalog, and you're an administrator or a catalog owner, you can [add resources to a catalog](entitlement-management-catalog-create.md#add-resources-to-a-catalog).
46+
4547
1. If you are an access package manager and you need to add resources to the catalog, you can ask the catalog owner to add them.
4648

4749
## Add resource roles
4850

49-
A resource role is a collection of permissions associated with a resource. The way you make resources available for users to request is by adding resource roles from each of the catalog's resources to your access package. You can add resource roles that are provided by groups, teams, applications, and SharePoint sites.
51+
A resource role is a collection of permissions associated with a resource. Resources can be made available for users to request if you add resource roles from each of the catalog's resources to your access package. You can add resource roles that are provided by groups, teams, applications, and SharePoint sites. When a user receives an assignment to an access package, they'll be added to all the resource roles in the access package.
52+
53+
If you don't want users to receive all of the roles, then you'll need to create multiple access packages in the catalog, with separate access packages for each of the resource roles. You can also mark the access packages as [incompatible](entitlement-management-access-package-incompatible.md) with each other so users can't request access to access packages that would give them excessive access.
5054

5155
**Prerequisite role:** Global administrator, User administrator, Catalog owner, or Access package manager
5256

@@ -109,7 +113,10 @@ For more information, see [Compare groups](/office365/admin/create-groups/compar
109113

110114
You can have Azure AD automatically assign users access to an Azure AD enterprise application, including both SaaS applications and your organization's applications integrated with Azure AD, when a user is assigned an access package. For applications that integrate with Azure AD through federated single sign-on, Azure AD will issue federation tokens for users assigned to the application.
111115

112-
Applications can have multiple roles. When adding an application to an access package, if that application has more than one role, you will need to specify the appropriate role for those users. If you are developing applications, you can read more about how those roles are added to your applications in [How to: Configure the role claim issued in the SAML token for enterprise applications](../develop/active-directory-enterprise-app-role-management.md).
116+
Applications can have multiple roles. When you add an application to an access package, if that application has more than one role, you'll need to specify the appropriate role for those users in each access package. If you're developing applications, you can read more about how those roles are added to your applications in [How to: Configure the role claim issued in the SAML token for enterprise applications](../develop/active-directory-enterprise-app-role-management.md).
117+
118+
> [!NOTE]
119+
> If an application has multiple roles, and more than one role of that application are in an access package, then the user will receive all the roles. If instead you want users to only have some of the roles, then you will need to create multiple access packages in the catalog, with separate access packages for each of the roles.
113120
114121
Once an application role is part of an access package:
115122

@@ -160,6 +167,14 @@ Azure AD can automatically assign users access to a SharePoint Online site or Sh
160167

161168
Any users with existing assignments to the access package will automatically be given access to this SharePoint Online site when it is added.
162169

170+
## Add resource roles programmatically
171+
172+
You can also add a resource role to an access package using Microsoft Graph. A user in an appropriate role with an application that has the delegated `EntitlementManagement.ReadWrite.All` permission can call the API to:
173+
174+
1. [List the accessPackageResources in the catalog](/graph/api/entitlementmanagement-list-accesspackagecatalogs?tabs=http&view=graph-rest-beta&preserve-view=true) and [create an accessPackageResourceRequest](/graph/api/entitlementmanagement-post-accesspackageresourcerequests?tabs=http&view=graph-rest-beta&preserve-view=true) for any resources that are not yet in the catalog.
175+
1. [List the accessPackageResourceRoles](/graph/api/accesspackage-list-accesspackageresourcerolescopes?tabs=http&view=graph-rest-beta&preserve-view=true) of each accessPackageResource in an accessPackageCatalog. This list of roles will then be used to select a role, when subsequently creating an accessPackageResourceRoleScope.
176+
1. [Create an accessPackageResourceRoleScope](/graph/api/accesspackage-post-accesspackageresourcerolescopes?tabs=http&view=graph-rest-beta&preserve-view=true) for each resource role needed in the access package.
177+
163178
## Remove resource roles
164179

165180
**Prerequisite role:** Global administrator, User administrator, Catalog owner, or Access package manager
@@ -182,6 +197,10 @@ In entitlement management, Azure AD will process bulk changes for assignment and
182197

183198
When you remove a member of a team, they are removed from the Microsoft 365 Group as well. Removal from the team's chat functionality might be delayed. For more information, see [Group membership](/microsoftteams/office-365-groups#group-membership).
184199

200+
When a resource role is added to an access package by an admin, users who are in that resource role, but do not have assignments to the access package, will remain in the resource role, but won't be assigned to the access package. For example, if a user is a member of a group and then an access package is created and that group's member role is added to an access package, the user won't automatically receive an assignment to the access package.
201+
202+
If you want the users to also be assigned to the access package, you can [directly assign users](entitlement-management-access-package-assignments.md#directly-assign-a-user) to an access package using the Azure portal, or in bulk via Graph or PowerShell. The users will then also receive access to the other resource roles in the access package. However, as those users already have access prior to being added to the access package, when their access package assignment is removed, they will remain in the resource role. For example, if a user was a member of a group, and was assigned to an access package that included group membership for that group as a resource role, and then that user's access package assignment was removed, the user would retain their group membership.
203+
185204
## Next steps
186205

187206
- [Create a basic group and add members using Azure Active Directory](../fundamentals/active-directory-groups-create-azure-portal.md)

articles/active-directory/governance/entitlement-management-catalog-create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This article shows you how to create and manage a catalog of resources and acces
2626

2727
## Create a catalog
2828

29-
A catalog is a container of resources and access packages. You create a catalog when you want to group related resources and access packages. Whoever creates the catalog becomes the first catalog owner. A catalog owner can add more catalog owners.
29+
A catalog is a container of resources and access packages. You create a catalog when you want to group related resources and access packages. A user who has been delegated the [catalog creator](entitlement-management-delegate.md) role can create a catalog for resources that they own. Whoever creates the catalog becomes the first catalog owner. A catalog owner can add more catalog owners.
3030

3131
**Prerequisite roles:** Global administrator, Identity Governance administrator, User administrator, or Catalog creator
3232

0 commit comments

Comments
 (0)