Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ✅ | ✅ | ❌ |
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | EntitlementManagement.Read.All | EntitlementManagement.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | EntitlementManagement.Read.All | EntitlementManagement.ReadWrite.All |
Tip
In delegated scenarios with work or school accounts, the signed-in user must also be assigned an administrator role with supported role permissions through one of the following options:
In app-only scenarios, the calling app can be assigned one of the preceding supported roles instead of the EntitlementManagement.Read.All
application permission. The Catalog reader role is less privileged than the EntitlementManagement.Read.All
application permission.
For more information, see Delegation and roles in entitlement management and how to delegate access governance to access package managers in entitlement management.
Note
This API will be retired soon. Use the List assignmentRequests API instead.
GET /identityGovernance/entitlementManagement/accessPackageAssignmentRequests
This method supports the $select
, $expand
and $filter
OData query parameters to help customize the response.
If the user or application only has permissions within a specific catalog or catalogs, you must include in the query a filter which specifies an access package, such as $expand=accessPackage&$filter=accessPackage/id eq '9bbe5f7d-f1e7-4eb1-a586-38cdf6f8b1ea'
.
$expand=accessPackage
in the query.$expand=accessPackageAssignment
in the query.$expand=requestor
in the query.For general information, see OData query parameters.
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK
response code and a collection of accessPackageAssignmentRequest objects in the response body.
The following example shows a request. The request URI includes $filter
to only return requests in a particular state, and $expand
to return details of the requestor and their connected organization as well.
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentRequests?$expand=requestor($expand=connectedOrganization)&$filter=(requestState eq 'PendingApproval')
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-type: application/json
{
"value": [
{
"id": "433dafca-5047-4614-95f7-a03510b1ded3",
"requestType": "UserAdd",
"requestState": "PendingApproval",
"createdDateTime": "2019-10-25T22:55:11.623Z",
"justification": "Need access",
"answers": [],
"requestor": {
"connectedOrganizationId": "c3c2adbc-a863-437f-9383-ee578665317d",
"id": "ba7ef0fb-e16f-474b-87aa-02815d061e67",
"displayName": "displayname",
"email": "displayname@example.com",
"type": "User",
"connectedOrganization": {
"id": "c3c2adbc-a863-437f-9383-ee578665317d",
"displayName": "example"
}
}
}
]
}
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now