| title | accessPackageAssignmentRequest: filterByCurrentUser |
|---|---|
| description | Retrieve a list of accesspackageassignmentrequest objects filtered on the signed-in user. |
| author | markwahl-msft |
| ms.localizationpriority | medium |
| ms.subservice | entra-id-governance |
| doc_type | apiPageType |
| ms.date | 04/04/2024 |
Namespace: microsoft.graph
In Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user.
[!INCLUDE national-cloud-support]
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.
[!INCLUDE permissions-table]
GET /identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUser(on='parameterValue')The following table shows the parameters that can be used with this function.
| Parameter | Type | Description |
|---|---|---|
| on | accessPackageAssignmentRequestFilterByCurrentUserOptions | The list of user options that can be used to filter on the access package assignment requests list. The possible values are target, createdBy, approver. |
| 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 an accessPackageAssignmentRequest collection in the response body.
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/assignmentRequests/filterByCurrentUser(on='target')[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"value": [
{
"id": "46c1410d-ef96-44c5-ae9c-a577d014fe0e",
"requestType": "adminAdd",
"state": "delivered",
"status": "Delivered",
"createdDateTime": "2021-01-19T20:02:23.907Z",
"completedDateTime": "2021-01-19T20:02:40.97Z",
"schedule": {
"@odata.type": "microsoft.graph.entitlementManagementSchedule"
}
}
]
}