Microsoft Graph · Schema

microsoft.graph.messageRule

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
actions object Actions to be taken on a message when the corresponding conditions are fulfilled.
conditions object Conditions that when fulfilled trigger the corresponding actions for that rule.
displayName string The display name of the rule.
exceptions object Exception conditions for the rule.
hasError boolean Indicates whether the rule is in an error condition. Read-only.
isEnabled boolean Indicates whether the rule is enabled to be applied to messages.
isReadOnly boolean Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API.
sequence number Indicates the order in which the rule is executed, among other rules.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphmessagerule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.messageRule",
  "title": "microsoft.graph.messageRule",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "messageRule",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "actions": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.messageRuleActions"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Actions to be taken on a message when the corresponding conditions are fulfilled."
        },
        "conditions": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.messageRulePredicates"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Conditions that when fulfilled trigger the corresponding actions for that rule."
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the rule.",
          "nullable": true
        },
        "exceptions": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.messageRulePredicates"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Exception conditions for the rule."
        },
        "hasError": {
          "type": "boolean",
          "description": "Indicates whether the rule is in an error condition. Read-only.",
          "nullable": true
        },
        "isEnabled": {
          "type": "boolean",
          "description": "Indicates whether the rule is enabled to be applied to messages.",
          "nullable": true
        },
        "isReadOnly": {
          "type": "boolean",
          "description": "Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API.",
          "nullable": true
        },
        "sequence": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Indicates the order in which the rule is executed, among other rules.",
          "format": "int32",
          "nullable": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.messageRule"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoftgraphmessagerule"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.