principalResourceMembershipsScope resource type

Namespace: microsoft.graph

The principalResourceMembershipsScope is a type of accessReviewScope which allows you to select a collection of principal scopes and a collection of resource scopes and review access of selected principals to selected resources. It is used to configure the scope property of an accessReviewScheduleDefinition.

Inherits from accessReviewScope.

Properties

Property Type Description
principalScopes accessReviewScope collection Defines the scopes of the principals whose access to resources are reviewed in the access review.
resourceScopes accessReviewScope collection Defines the scopes of the resources for which access is reviewed.

You must also specify the @odata.type type property with the value #microsoft.graph.principalResourceMembershipsScope. For more about configuration options for scope using principalResourceMembershipsScope, see Configure the scope of your access review definition using the Microsoft Graph API.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.principalResourceMembershipsScope",
  "principalScopes": [
    {
      "@odata.type": "microsoft.graph.accessReviewScope"
    }
  ],
  "resourceScopes": [
    {
      "@odata.type": "microsoft.graph.accessReviewScope"
    }
  ]
}