You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# View, add, and remove assignments for an access package in Azure AD entitlement management
25
25
26
-
In Azure AD entitlement management, you can see who has been assigned to access packages, their policy, and status. If an access package has an appropriate policy, you can also directly assign user to an access package. This article describes how to view, add, and remove assignments for an access packages.
26
+
In Azure AD entitlement management, you can see who has been assigned to access packages, their policy, and status. If an access package has an appropriate policy, you can also directly assign user to an access package. This article describes how to view, add, and remove assignments for access packages.
27
27
28
28
## View who has an assignment
29
29
@@ -47,6 +47,10 @@ In Azure AD entitlement management, you can see who has been assigned to access
47
47
48
48
1. To download a CSV file of the filtered list, click **Download**.
49
49
50
+
### Viewing assignments programmatically
51
+
52
+
You can also retrieve assignments in 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 [list accessPackageAssignments](https://docs.microsoft.com/graph/api/accesspackageassignment-list?view=graph-rest-beta).
53
+
50
54
## Directly assign a user
51
55
52
56
In some cases, you might want to directly assign specific users to an access package so that users don't have to go through the process of requesting the access package. To directly assign users, the access package must have a policy that allows administrator direct assignments.
@@ -75,6 +79,10 @@ In some cases, you might want to directly assign specific users to an access pac
75
79
76
80
After a few moments, click **Refresh** to see the users in the Assignments list.
77
81
82
+
### Directly assigning users programmatically
83
+
84
+
You can also directly assign a user 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 [create an accessPackageAssignmentRequest](https://docs.microsoft.com/graph/api/accesspackageassignmentrequest-post?view=graph-rest-beta).
85
+
78
86
## Remove an assignment
79
87
80
88
**Prerequisite role:** Global administrator, User administrator, Catalog owner, or Access package manager
Copy file name to clipboardExpand all lines: articles/active-directory/governance/entitlement-management-access-package-create.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,18 @@ On the **Review + create** tab, you can review your settings and check for any v
129
129
130
130
The new access package appears in the list of access packages.
131
131
132
+
## Creating an access package programmatically
133
+
134
+
You can also create 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
135
+
136
+
1.[List the accessPackageResources in the catalog](https://docs.microsoft.com/graph/api/accesspackagecatalog-list-accesspackageresources?view=graph-rest-beta) and [create an accessPackageResourceRequest](https://docs.microsoft.com/graph/api/accesspackageresourcerequest-post?view=graph-rest-beta) for any resources that are not yet in the catalog.
137
+
1.[List the accessPackageResourceRoles](https://docs.microsoft.com/graph/api/accesspackagecatalog-list-accesspackageresourceroles?view=graph-rest-beta) of each accessPackageResource in an accessPackageCatalog. This list of roles will then be used to select a role, when subsequently creating an accessPackageResourceRoleScope.
138
+
1.[Create an accessPackage](https://docs.microsoft.com/graph/api/accesspackage-post?view=graph-rest-beta).
139
+
1.[Create an accessPackageAssignmentPolicy](https://docs.microsoft.com/graph/api/accesspackageassignmentpolicy-post?view=graph-rest-beta).
140
+
1.[Create an accessPackageResourceRoleScope](https://docs.microsoft.com/graph/api/accesspackage-post-accesspackageresourcerolescopes?view=graph-rest-beta) for each resource role needed in the access package.
141
+
132
142
## Next steps
133
143
134
144
-[Share link to request an access package](entitlement-management-access-package-settings.md)
135
145
-[Change resource roles for an access package](entitlement-management-access-package-resources.md)
146
+
-[Directly assign a user to the access package](entitlement-management-access-package-assignments.md)
Copy file name to clipboardExpand all lines: articles/active-directory/governance/entitlement-management-catalog-create.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,10 @@ A catalog is a container of resources and access packages. You create a catalog
49
49
50
50
1. Click **Create** to create the catalog.
51
51
52
+
### Creating a catalog programmatically
53
+
54
+
You can also create a catalog 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 [create an accessPackageCatalog](https://docs.microsoft.com/graph/api/accesspackagecatalog-post?view=graph-rest-beta).
55
+
52
56
## Add resources to a catalog
53
57
54
58
To include resources in an access package, the resources must exist in a catalog. The types of resources you can add are groups, applications, and SharePoint Online sites. The groups can be cloud-created Office 365 Groups or cloud-created Azure AD security groups. The applications can be Azure AD enterprise applications, including both SaaS applications and your own applications federated to Azure AD. The sites can be SharePoint Online sites or SharePoint Online site collections.
@@ -75,6 +79,10 @@ To include resources in an access package, the resources must exist in a catalog
75
79
76
80
These resources can now be included in access packages within the catalog.
77
81
82
+
### Adding a resource to a catalog programmatically
83
+
84
+
You can also add a resource to a catalog using Microsoft Graph. A user in an appropriate role, or a catalog and resource owner, with an application that has the delegated `EntitlementManagement.ReadWrite.All` permission can call the API to [create an accessPackageResourceRequest](https://docs.microsoft.com/graph/api/accesspackageresourcerequest-post?view=graph-rest-beta).
85
+
78
86
## Remove resources from a catalog
79
87
80
88
You can remove resources from a catalog. A resource can only be removed from a catalog if it is not being used in any of the catalog's access packages.
@@ -143,6 +151,10 @@ You can delete a catalog, but only if it does not have any access packages.
143
151
144
152
1. In the message box that appears, click **Yes**.
145
153
154
+
### Deleting a catalog programmatically
155
+
156
+
You can also delete a catalog 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 [delete an accessPackageCatalog](https://docs.microsoft.com/graph/api/accesspackagecatalog-delete?view=graph-rest-beta).
157
+
146
158
## Next steps
147
159
148
160
-[Delegate access governance to access package managers](entitlement-management-delegate-managers.md)
# Delegate access governance to catalog creators in Azure AD entitlement management
26
26
27
-
To delegate to users who aren't administrators, so that they can create their own catalogs, you can add those users to the Azure AD entitlement management-defined catalog creator role. You can add individual users, or you can add a group, whose members are then able to create catalogs.
27
+
A catalog is a container of resources and access packages. You create a catalog when you want to group related resources and access packages. By default, a Global administrator or a User administrator can [create a catalog](entitlement-management-catalog-create.md), and can add additional users as catalog owners.
28
+
29
+
To delegate to users who aren't administrators, so that they can create their own catalogs, you can add those users to the Azure AD entitlement management-defined catalog creator role. You can add individual users, or you can add a group, whose members are then able to create catalogs. After creating a catalog, they can subsequently add resources they own to their catalog.
28
30
29
31
## As an IT administrator, delegate to a catalog creator
Copy file name to clipboardExpand all lines: articles/active-directory/governance/entitlement-management-scenarios.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,10 @@ There are several ways that you can configure entitlement management for your or
149
149
1.[View access packages for a user](entitlement-management-reports.md#view-access-packages-for-a-user)
150
150
1.[View resource assignments for a user](entitlement-management-reports.md#view-resource-assignments-for-a-user)
151
151
152
+
## Programmatic administration
153
+
154
+
You can also manage access packages, catalogs, policies, requests and assignments using Microsoft Graph. A user in an appropriate role with an application that has the delegated `EntitlementManagement.ReadWrite.All` permission can call the [entitlement management API](https://docs.microsoft.com/graph/api/resources/entitlementmanagement-root?view=graph-rest-beta).
155
+
152
156
## Next steps
153
157
154
158
-[Delegation and roles](entitlement-management-delegate.md)
0 commit comments