Skip to content

Latest commit

 

History

History
131 lines (103 loc) · 5.53 KB

File metadata and controls

131 lines (103 loc) · 5.53 KB
title privilegedAccessGroupEligibilityScheduleInstance: filterByCurrentUser
description Return instances of membership and ownership eligibility schedules for the calling principal.
author ilyalushnikov
ms.localizationpriority medium
ms.subservice entra-id-governance
doc_type apiPageType
ms.date 04/05/2024

privilegedAccessGroupEligibilityScheduleInstance: filterByCurrentUser

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Return instances of membership and ownership eligibility schedules for the calling principal.

[!INCLUDE national-cloud-support]

Permissions

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]

[!INCLUDE rbac-pim-groups-apis-read-eligibilityschedules]

HTTP request

GET /identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUser(on='parameterValue')

Function parameters

In the request URL, provide the following query parameters with values. The following table shows the parameters that must be used with this function.

Parameter Type Description
on eligibilityScheduleInstanceFilterByCurrentUserOptions Filter used to query eligibilityScheduleInstances. The possible values are principal, unknownFutureValue. Required.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this function returns a 200 OK response code and a privilegedAccessGroupEligibilityScheduleInstance collection in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/filterByCurrentUser(on='principal')

[!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]


Response

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": [
    {
      "@odata.type": "#microsoft.graph.privilegedAccessGroupEligibilityScheduleInstance",
      "id": "8MYkhImhnkm70CbBdTyW1BbHHAdHgZdDpbqyEFlRzAs-1-e",
      "startDateTime": "2022-04-12T14:44:50.287Z",
      "endDateTime": "2024-04-10T00:00:00Z",
      "memberType": "Direct",
      "principalId": "3cce9d87-3986-4f19-8335-7ed075408ca2",
      "accessId": "member",
      "groupId": "2b5ed229-4072-478d-9504-a047ebd4b07d",
      "eligibilityScheduleId": "77f71919-62f3-4d0c-9f88-0a0391b665cd"
    }
  ]
}