Upravit

Sdílet prostřednictvím


principalResourceMembershipsScope resource type

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.

Note

This is the recommended API for access reviews. The previous version of the access reviews API is deprecated.

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's 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 for which 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 JSON representation shows the resource type.

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