{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/microsoft.graph.conditionalAccessPolicy", "title": "microsoft.graph.conditionalAccessPolicy", "allOf": [ { "$ref": "#/components/schemas/microsoft.graph.entity" }, { "title": "conditionalAccessPolicy", "required": [ "@odata.type" ], "type": "object", "properties": { "conditions": { "$ref": "#/components/schemas/microsoft.graph.conditionalAccessConditionSet" }, "createdDateTime": { "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$", "type": "string", "description": "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.", "format": "date-time", "nullable": true }, "description": { "type": "string", "nullable": true }, "displayName": { "type": "string", "description": "Specifies a display name for the conditionalAccessPolicy object." }, "grantControls": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.conditionalAccessGrantControls" }, { "type": "object", "nullable": true } ], "description": "Specifies the grant controls that must be fulfilled to pass the policy." }, "modifiedDateTime": { "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$", "type": "string", "description": "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.", "format": "date-time", "nullable": true }, "sessionControls": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.conditionalAccessSessionControls" }, { "type": "object", "nullable": true } ], "description": "Specifies the session controls that are enforced after sign-in." }, "state": { "$ref": "#/components/schemas/microsoft.graph.conditionalAccessPolicyState" }, "templateId": { "type": "string", "description": "Specifies the unique identifier of a Conditional Access template. Inherited from entity.", "nullable": true }, "@odata.type": { "type": "string" } }, "discriminator": { "propertyName": "@odata.type", "mapping": { "#microsoft.graph.whatIfAnalysisResult": "#/components/schemas/microsoft.graph.whatIfAnalysisResult" } } } ] }