Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 803 Bytes

list-accessreviewinstance-pendingapproval-python-snippets.md

File metadata and controls

25 lines (17 loc) · 803 Bytes
description
Automatically generated file. DO NOT MODIFY
from msgraph import GraphServiceClient
from msgraph.generated.users.item.pending_access_review_instances.pending_access_review_instances_request_builder import PendingAccessReviewInstancesRequestBuilder

graph_client = GraphServiceClient(credentials, scopes)

query_params = PendingAccessReviewInstancesRequestBuilder.PendingAccessReviewInstancesRequestBuilderGetQueryParameters(
		expand = ["definition"],
		top = 100,
		skip = 0,
)

request_configuration = PendingAccessReviewInstancesRequestBuilder.PendingAccessReviewInstancesRequestBuilderGetRequestConfiguration(
query_parameters = query_params,
)

result = await graph_client.me.pending_access_review_instances.get(request_configuration = request_configuration)