Edit

inactivityRule resource type

Namespace: microsoft.graph.identityGovernance

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.

Represents a compliance rule that flags an identity as non-compliant with its lifecyclePolicy when the identity is inactive beyond a specified threshold.

Inherits from lifecyclePolicyRule.

Methods

For the list of operations, see the methods of the lifecyclePolicyRule base type.

Properties

Property Type Description
id String The unique identifier for the rule. Inherited from entity.
isEnabled Boolean Indicates whether the rule is enabled and evaluated as part of its policy. Inherited from lifecyclePolicyRule.
lastActivityThresholdInDays Int32 The maximum number of days an identity can remain inactive before it's flagged as non-compliant by the rule.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.identityGovernance.inactivityRule",
  "id": "String (identifier)",
  "isEnabled": "Boolean",
  "lastActivityThresholdInDays": "Integer"
}