stsPolicy resource type

Namespace: microsoft.graph

Represents an abstract base type for policy types that control Microsoft identity platform behavior.

Inherits from policyBase.

Methods

None

Properties

Property Type Description
description String Description for this policy. Inherited from policyBase.
displayName String Display name for this policy. Inherited from policyBase.
definition String collection A string collection containing a JSON string that defines the rules and settings for a policy. The syntax for the definition differs for each derived policy type. Required.
id String Unique identifier for this policy. Read-only. Inherited from policyBase.
isOrganizationDefault Boolean If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false.

Relationships

None

JSON representation

The following is a JSON representation of the resource.

{
  "id": "String (identifier)",
  "description": "String",
  "displayName": "String",
  "definition": ["String"],
  "isOrganizationDefault": true
}