Redigera

Dela via


Working with the Microsoft Entra entitlement management API

Namespace: microsoft.graph

Microsoft Entra entitlement management can help you manage access to groups, applications, and SharePoint Online sites for internal users as well as users outside your organization.

By creating access packages with the roles users need to have across those resources, and defining policies for who can request an access package and how long they can have an assignment to an access package, you can govern the lifecycle of access for both internal and external users.

The entitlement management resource types include:

In addition, you can manage role assignments for users, groups of users, and service principals to entitlement management-specific roles through entitlement management role definitions.

The tenant where entitlement management is being used must have sufficient purchased or trial licenses. For more information about license requirements for the entitlement management feature, see Entitlement management license requirements.

Methods

The following table lists the methods that you can use to interact with entitlement management-related resources.

Method Return type Description
Get entitlementManagementSettings Read the properties of an entitlementManagementSettings object.
Update entitlementManagementSettings Update the properties of an entitlementManagementSettings object.
List accessPackages accessPackage collection Retrieve a list of accessPackage objects.
Create accessPackage accessPackage Create a new accessPackage object.
Get accessPackage accessPackage Read properties and relationships of an accessPackage object.
Update accessPackage None Update the properties of an accesspackage object.
Delete accessPackage Delete accessPackage.
List incompatibleAccessPackages accessPackage collection Retrieve a list of the incompatible accesspackage objects for this access package.
Add accessPackage to incompatibleAccessPackages None Add a link to indicate another accesspackage is incompatible with a specified access package.
Remove accessPackage from incompatibleAccessPackages None Remove a link that indicated an accesspackage was incompatible.
List incompatibleGroups group collection Retrieve a list of the incompatible group objects for this access package.
Add group to incompatibleGroups None Add a link to indicate membership of a group is incompatible with a specified access package.
Remove group from incompatibleGroups None Remove a link that indicated a group membership was incompatible.
List accessPackagesIncompatibleWith accessPackage collection Retrieve a list of the accesspackage objects which list this access package as incompatible.
FilterByCurrentUser accessPackage collection Retrieve a list of accessPackage objects filtered on the signed-in user.
List accessPackageAssignmentRequests accessPackageAssignmentRequest collection Retrieve a list of accessPackageAssignmentRequest objects.
Create accessPackageAssignmentRequest accessPackageAssignmentRequest Creates a new accessPackageAssignmentRequest object.
Get accessPackageAssignmentRequest accessPackageAssignmentRequest Read properties and relationships of an accessPackageAssignmentRequest object.
Delete accessPackageAssignmentRequest None Delete an accessPackageAssignmentRequest.
FilterByCurrentUser accessPackageAssignmentRequest collection Retrieve the list of accessPackageAssignmentRequest objects filtered on the signed-in user.
cancel accessPackageAssignmentRequest collection Cancel an accessPackageAssignmentRequest object that is in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated.
List accessPackageAssignments accessPackageAssignment collection Retrieve a list of accessPackageAssignment objects.
Get accessPackageAssignment accessPackageAssignment Retrieve a accessPackageAssignment object.
FilterByCurrentUser accessPackageAssignment collection Retrieve the list of accessPackageAssignment objects filtered on the signed-in user.
List accessPackageCatalogs accessPackageCatalog collection Retrieve a list of accessPackageCatalogs objects.
Create accessPackageCatalog accessPackageCatalog Create a new accessPackageCatalog object.
Get accessPackageCatalog accessPackageCatalog Read properties and relationships of an accessPackageCatalog object.
Update accessPackageCatalog None Update the properties of an accessPackageCatalog object.
Delete accessPackageCatalog Delete an accessPackageCatalog.
List accessPackageAssignmentPolicies accessPackageAssignmentPolicy collection Get a list of the accessPackageAssignmentPolicy objects and their properties.
Create accessPackageAssignmentPolicy accessPackageAssignmentPolicy Create a new accessPackageAssignmentPolicy object.
Get accessPackageAssignmentPolicy accessPackageAssignmentPolicy Read the properties and relationships of an accessPackageAssignmentPolicy object.
Update accessPackageAssignmentPolicy accessPackageAssignmentPolicy Update the properties of an accessPackageAssignmentPolicy object.
Delete accessPackageAssignmentPolicy None Deletes an accessPackageAssignmentPolicy object.
List connectedOrganizations connectedOrganization collection Retrieve a list of connectedOrganization objects.
Create connectedOrganization connectedOrganization Create a new connectedOrganization object.
Get connectedOrganization connectedOrganization Read properties and relationships of a connectedOrganization object.
Update connectedOrganization None Update a connectedOrganization.
Delete connectedOrganization None Delete a connectedOrganization.
List internalSponsors directoryObject collection Retrieve a list of a connectedOrganization's internal sponsors.
List externalSponsors directoryObject collection Retrieve a list of a connectedOrganization's external sponsors.
Add internalSponsors None Add a user or group to a connectedOrganization's internal sponsors.
Add externalSponsors None Add a user or group to a connectedOrganization's external sponsors.
Remove internalSponsors None Remove a user or group from a connectedOrganization's internal sponsors.
Remove externalSponsors None Remove a user or group from a connectedOrganization's external sponsors.
Get approval approval Retrieve the properties of an approval object.
filterByCurrentUser approval collection Retrieve the approval objects for an approver.
List approvalStages approvalStage collection List the approvalStage objects associated with an approval object.
Get approvalStage approvalStage Retrieve the properties of an approvalStage object.
Update approvalStage None Apply approve or deny decision on an approvalStage object.