Microsoft Defender · Schema

microsoft.graph.secureScore

Cloud SecurityData ProtectionThreat IntelligenceEmail SecurityEndpoint Security

Properties

Name Type Description
id string The unique identifier for an entity. Read-only.
@odata.type string
activeUserCount numbernull Active user count of the given tenant.
averageComparativeScores array Average score by different scopes (for example, average by industry, average by seating) and control category (Identity, Data, Device, Apps, Infrastructure) within the scope.
azureTenantId string GUID string for tenant ID.
controlScores array Contains tenant scores for a set of controls.
createdDateTime stringnull When the report was created.
currentScore object Tenant current attained score on specified date.
enabledServices array Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint).
licensedUserCount numbernull Licensed user count of the given tenant.
maxScore object Tenant maximum possible score on specified date.
vendorInformation object Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required.
View JSON Schema on GitHub

JSON Schema

microsoft-defender-microsoft-graph-secure-score-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-secure-score-schema.json",
  "title": "microsoft.graph.secureScore",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-defender-security-securescore-api-openapi.yml#/components/schemas/microsoft.graph.secureScore",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "secureScore",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "activeUserCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Active user count of the given tenant.",
          "format": "int32"
        },
        "averageComparativeScores": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.averageComparativeScore"
          },
          "description": "Average score by different scopes (for example, average by industry, average by seating) and control category (Identity, Data, Device, Apps, Infrastructure) within the scope."
        },
        "azureTenantId": {
          "type": "string",
          "description": "GUID string for tenant ID."
        },
        "controlScores": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.controlScore"
          },
          "description": "Contains tenant scores for a set of controls."
        },
        "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",
            "null"
          ],
          "description": "When the report was created.",
          "format": "date-time"
        },
        "currentScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Tenant current attained score on specified date."
        },
        "enabledServices": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint)."
        },
        "licensedUserCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Licensed user count of the given tenant.",
          "format": "int32"
        },
        "maxScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Tenant maximum possible score on specified date."
        },
        "vendorInformation": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.securityVendorInformation"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.secureScore",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "microsoft.graph.averageComparativeScore": {
      "title": "averageComparativeScore",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "averageScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Average score within specified basis."
        },
        "basis": {
          "type": [
            "string",
            "null"
          ],
          "description": "Scope type. The possible values are: AllTenants, TotalSeats, IndustryTypes."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.controlScore": {
      "title": "controlScore",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "controlCategory": {
          "type": [
            "string",
            "null"
          ],
          "description": "Control action category (Identity, Data, Device, Apps, Infrastructure)."
        },
        "controlName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Control unique name."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of the control."
        },
        "score": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Tenant achieved score for the control (it varies day by day depending on tenant operations on the control)."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.securityVendorInformation": {
      "title": "securityVendorInformation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "provider": {
          "type": [
            "string",
            "null"
          ],
          "description": "Specific provider (product/service - not vendor company); for example, WindowsDefenderATP."
        },
        "providerVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "Version of the provider or subprovider, if it exists, that generated the alert. Required"
        },
        "subProvider": {
          "type": [
            "string",
            "null"
          ],
          "description": "Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen."
        },
        "vendor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}

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-defender-microsoft-graph-secure-score"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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