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

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

Inherits from policyBase.

Methods

None

Properties

Property Type Description
id String Unique identifier for this policy. Read-only. Inherited from policyBase.
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.
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 JSON representation shows the resource type.

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