List stages
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.
Retrieve the stages in a multi-stage access review instance.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ✅ | ✅ | ❌ |
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.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | AccessReview.Read.All | AccessReview.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | AccessReview.Read.All | AccessReview.ReadWrite.All |
In delegated scenarios with work or school accounts, the signed-in user must be assigned a supported Microsoft Entra role or a custom role with a supported role permission. The following least privileged roles are supported for this operation.
Read access reviews of a group or app | Read access reviews of a Microsoft Entra role |
---|---|
The creator of the access review schedule definition Global Reader Security Reader User Administrator Identity Governance Administrator Security Administrator |
Security Reader Identity Governance Administrator Privileged Role Administrator Security Administrator |
HTTP request
GET /identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinitionId}/instances/{accessReviewInstanceId}/stages
Optional query parameters
This method supports the $select
, $orderby
, and $filter
(eq
only) OData query parameters to help customize the response. For general information, see OData query parameters.
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 method returns a 200 OK
response code and a collection of accessReviewStage objects in the response body.
Examples
Request
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitions/16d424f6-0100-4bf1-9ebc-fe009c5e5006/instances/bb14c722-51b8-4962-9bd2-1d96ba773d80/stages
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#identityGovernance/accessReviews/definitions('16d424f6-0100-4bf1-9ebc-fe009c5e5006')/instances('bb14c722-51b8-4962-9bd2-1d96ba773d80')/stages",
"@odata.count": 2,
"value": [
{
"id": "9ac05ca6-396a-469c-8a8b-bcb98fceb2dd",
"startDateTime": "2018-08-03T21:02:30.667Z",
"endDateTime": "2018-08-13T21:17:30.513Z",
"status": "Completed",
"reviewers": [
{
"query": "/groups/46d30af1-e626-4928-83f5-e9bfa400289e/owners?$filter=microsoft.graph.user/userType eq 'Member' and microsoft.graph.user/country eq
'USA'",
"type": "MicrosoftGraph"
}
]
},
{
"id": "03266a48-8731-4cfc-8a60-b2fa6648a14c",
"startDateTime": "2018-08-14T21:02:30.667Z",
"endDateTime": "2018-09-03T21:17:30.513Z",
"status": "InProgress",
"reviewers": [
{
"queryType": "MicrosoftGraph",
"queryRoot": "decisions",
"query": "./manager",
}
]
}
]
}
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per