accessPackage resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
In Microsoft Entra Entitlement Management, an access package defines the collections of resource roles and the policies for how one or more users can get access to those resources.
Each access package is referenced by a single access package catalog, and has links to the resources from that catalog via the resource-specific role scopes that define the access the package provides. An access package also links to the access package assignment policies, each of which define who can request or be assigned an access package assignment.
To assign a user to an access package, create an accessPackageAssignmentRequest that references the access package and access package assignment policy.
Methods
Method | Return Type | Description |
---|---|---|
List | accessPackage collection | Retrieve a list of accesspackage objects. |
Create | accessPackage | Create a new accesspackage object. |
Get | accessPackage | Read properties and relationships of an accesspackage object. |
Update | None | Update the properties of an accesspackage object. |
Delete | None | Delete an accesspackage. |
Filter by current user | accessPackage collection | Retrieve the list of accessPackage objects filtered on the signed-in user. |
Get applicable policy requirements | accessPackageAssignmentRequestRequirements collection | Retrieve a list of accessPackageAssignmentRequestRequirement objects with request requirements. |
Move to catalog | None | Move an access package to a different catalog. |
Incompatible access packages | ||
List | accessPackage collection | Retrieve a list of the incompatible accesspackage objects for this access package. |
Add to | None | Add a link to indicate another accesspackage is incompatible with a specified access package. |
Remove from | None | Remove a link that indicated an accesspackage was incompatible. |
List incompatible with | accessPackage collection | Retrieve a list of the accesspackage objects that list this access package as incompatible. |
Incompatible groups | ||
List | group collection | Retrieve a list of the incompatible group objects for this access package. |
Add group to | None | Add a link to indicate membership of a group is incompatible with a specified access package. |
Remove group from | None | Remove a link that indicated a group membership was incompatible. |
Properties
Property | Type | Description |
---|---|---|
catalogId | String | Identifier of the access package catalog referencing this access package. Read-only. |
createdBy | String | The userPrincipalName of the user or identity of the subject who created this resource. Read-only. |
createdDateTime | DateTimeOffset | The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z . Read-only. |
description | String | The description of the access package. |
displayName | String | The display name of the access package. Supports $filter (eq , contains ). |
id | String | Read-only. |
isHidden | Boolean | Indicates whether the access package is hidden from the requestor. |
isRoleScopesVisible | Boolean | Indicates whether role scopes are visible. |
modifiedBy | String | The userPrincipalName of the user who last modified this resource. Read-only. |
modifiedDateTime | DateTimeOffset | The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z . Read-only. |
Relationships
Relationship | Type | Description |
---|---|---|
accessPackageAssignmentPolicies | accessPackageAssignmentPolicy collection | Read-only. Nullable. Supports $expand . |
accessPackageCatalog | accessPackageCatalog | Read-only. Nullable. |
accessPackageResourceRoleScopes | accessPackageResourceRoleScope collection | Nullable. |
incompatibleAccessPackages | accessPackage collection | The access packages whose assigned users are ineligible to be assigned this access package. |
accessPackagesIncompatibleWith | accessPackage collection | The access packages that are incompatible with this package. Read-only. |
incompatibleGroups | group collection | The groups whose members are ineligible to be assigned this access package. |
JSON representation
The following JSON representation shows the resource type.
{
"id":"360fa7de-90be-48dc-a2ce-fc40094a93dd",
"description":"Sample access package",
"displayName":"Access package for testing",
"isHidden":false,
"catalogId":"662d99e7-6ceb-4c21-9cb4-9b0bbfdefccc",
"isRoleScopesVisible":false,
"createdDateTime":"2019-01-27T18:19:50.74Z",
"modifiedDateTime":"2019-01-27T18:19:50.74Z",
"createdBy":"TestGA@example.com",
"modifiedBy":"TestGA@example.com"
}
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för