Edit

inactivityRule resource type

Namespace: microsoft.graph.identityGovernance

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
gracePeriodInDays Int32 The optional grace period, in days, from the first detected rule violation. If omitted or set to null, the containing policy's grace period applies. Set to 0 for no additional grace period. Inherited from lifecyclePolicyRule.
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",
  "gracePeriodInDays": "Int32",
  "id": "String (identifier)",
  "isEnabled": "Boolean",
  "lastActivityThresholdInDays": "Int32"
}