編輯

共用方式為


accessReviewInactiveUsersQueryScope 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.

A type of accessReviewQueryScope that allows only inactive users to be selected in the scope of an access review. The duration of inactivity is calculated based on the user's last sign-in date against the access review instance's start date as defined in the settings property of accessReviewScheduleDefinition.

Inherits from accessReviewQueryScope.

Properties

Property Type Description
inactiveDuration Duration Defines the duration of inactivity. Inactivity is based on the last sign in date of the user compared to the access review instance's start date. If this property is not specified, it's assigned the default value PT0S.
query String Inherited from accessReviewQueryScope.
queryRoot String Inherited from accessReviewQueryScope.
queryType String Inherited from accessReviewQueryScope.

You must also specify the @odata.type type property with the value #microsoft.graph.accessReviewInactiveUsersQueryScope. For more about configuration options for scope using accessReviewInactiveUsersQueryScope, 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.accessReviewInactiveUsersQueryScope",
  "query": "String",
  "queryType": "String",
  "queryRoot": "String",
  "inactiveDuration": "String (duration)"
}