AccessReview.ReadWrite.All
Allows the app to read, update, delete and perform actions on access reviews, reviewers, decisions and settings in the organization, without a signed-in user.
Permission Details
Manage all access reviews
Allows the app to read, update, delete and perform actions on access reviews, reviewers, decisions and settings in the organization, without a signed-in user.
ef5f7d5c-338f-44b0-86c3-351f46c8bb5f
Manage all access reviews that user can access
Allows the app to read, update, delete and perform actions on access reviews, reviewers, decisions and settings that the signed-in user has access to in the organization.
e4aa47b9-9a69-4109-82ed-36ec70d85ff1
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
id |
String |
The feature-assigned unique identifier of an access review. |
displayName |
String |
The access review name. Required on create. |
startDateTime |
DateTimeOffset |
The date and time when the review is scheduled to be start. This date can be in the future. Required on create. |
endDateTime |
DateTimeOffset |
The DateTime when the review is scheduled to end. This must be at least one day later than the start date. Required on create. |
status |
StringNullable |
This read-only field specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting,InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. |
description |
StringNullable |
The description provided by the access review creator, to show to the reviewers. |
businessFlowTemplateId |
String |
The business flow template identifier. Required on create. This value is case sensitive. |
reviewerType |
StringNullable |
The relationship type of reviewer to the target object, one of: self, delegated, entityOwners. Required on create. |
createdBy |
userIdentity |
The user who created this review. |
reviewedEntity |
identity |
The object for which the access review is reviewing the access rights assignments. This identity can be the group for the review of memberships of users in a group, or the app for a review of assignments of users to an application. Required on create. |
settings |
accessReviewSettings |
The settings of an accessReview, see type definition below. |
decisions |
accessReviewDecision collection |
The collection of decisions for this access review. |
instances |
accessReview collection |
The collection of access reviews instances past, present, and future, if this object is a recurring access review. |
myDecisions |
accessReviewDecision collection |
The collection of decisions for the caller, if the caller is a reviewer. |
reviewers |
accessReviewReviewer collection |
The collection of reviewers for an access review, if access review reviewerType is of type delegated. |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"id": "string (identifier)",
"displayName": "string",
"startDateTime": "string (timestamp)",
"endDateTime": "string (timestamp)",
"status": "string",
"description": "string",
"businessFlowTemplateId": "string (identifier)",
"reviewerType": "string",
"createdBy": {
"@odata.type": "microsoft.graph.userIdentity"
},
"reviewedEntity": {
"@odata.type": "microsoft.graph.identity"
},
"settings": {
"@odata.type": "microsoft.graph.accessReviewSettings"
},
"reviewers": [
{
"@odata.type": "microsoft.graph.userIdentity"
}
]
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
reviewers |
userIdentity collection |
The collection of reviewers for an access review, if access review reviewerType is of type delegated. |
decisions |
accessReviewDecision collection |
The collection of decisions for this access review. |
myDecisions |
accessReviewDecision collection |
The collection of decisions for the caller, if the caller is a reviewer. |
instances |
accessReview collection |
The collection of access reviews instances past, present, and future, if this object is a recurring access review. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.IdentityGovernance.AccessReviews.HistoryDefinitions["{accessReviewHistoryDefinition-id}"].Instances["{accessReviewHistoryInstance-id}"].GenerateDownloadUri.PostAsync();
const options = {
authProvider,
};
const client = Client.init(options);
await client.api('/identityGovernance/accessReviews/historyDefinitions/b2cb022f-b7e1-40f3-9854-c65a40861c38/instances/b2cb022f-b7e1-40f3-9854-c65a40861c38/generateDownloadUri')
.post();
Import-Module Microsoft.Graph.Identity.Governance
New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId -AccessReviewHistoryInstanceId $accessReviewHistoryInstanceId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.identity_governance.access_reviews.history_definitions.by_access_review_history_definition_id('accessReviewHistoryDefinition-id').instances.by_access_review_history_instance_id('accessReviewHistoryInstance-id').generate_download_uri.post()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for AccessReview.ReadWrite.All
Grant Admin Consent
Application permissions always require admin consent.