Microsoft Azure · Schema

AccountWithStatusResponse

Details of the account and its DNS provisioning status as returned on a GET request.

Microsoft AzureCloudCloud ComputingEnterpriseInfrastructure-as-a-ServicePlatform-as-a-ServiceT1

Properties

Name Type Description
etag string ETag for use with If-Match headers for optimistic concurrency.
name string Name of the account.
details object
directRoutingProvisioningState object
View JSON Schema on GitHub

JSON Schema

microsoft-azure-account-with-status-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-account-with-status-response-schema.json",
  "title": "AccountWithStatusResponse",
  "description": "Details of the account and its DNS provisioning status as returned on a GET request.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-account-api-openapi.yml#/components/schemas/AccountWithStatusResponse",
  "additionalProperties": false,
  "properties": {
    "etag": {
      "type": "string",
      "description": "ETag for use with If-Match headers for optimistic concurrency."
    },
    "name": {
      "minLength": 1,
      "type": "string",
      "description": "Name of the account."
    },
    "details": {
      "$ref": "#/$defs/AccountDetails"
    },
    "directRoutingProvisioningState": {
      "$ref": "#/$defs/SubdomainProvisioningState"
    }
  },
  "required": [
    "name"
  ],
  "type": "object",
  "$defs": {
    "AccountDetails": {
      "additionalProperties": false,
      "properties": {
        "directRouting": {
          "$ref": "#/$defs/TeamsDrConfig"
        }
      },
      "type": "object",
      "description": "Details of the account."
    },
    "SubdomainProvisioningState": {
      "additionalProperties": false,
      "properties": {
        "subdomainTokens": {
          "$ref": "#/$defs/TeamsDrSubdomainTokens"
        },
        "subdomainStatus": {
          "$ref": "#/$defs/SubdomainProvisioningStatus"
        }
      },
      "required": [
        "subdomainStatus"
      ],
      "type": "object",
      "description": "Status of DNS configuration and the DNS TXT values for the DNS records"
    },
    "SubdomainProvisioningStatus": {
      "enum": [
        "Provisioned",
        "NotProvisioned",
        "Inconsistent"
      ],
      "type": "string",
      "description": "Status of DNS configuration. Azure Communications Gateway generates DNS records to Microsoft 365 to verify that the customer-specific domain name is associated with the correct customer tenant.",
      "x-ms-enum": {
        "name": "SubdomainProvisioningStatus",
        "modelAsString": true,
        "values": [
          {
            "value": "Provisioned",
            "description": "DNS state is provisioned.",
            "name": "Provisioned"
          },
          {
            "value": "NotProvisioned",
            "description": "DNS state has not been provisioned.",
            "name": "NotProvisioned"
          },
          {
            "value": "Inconsistent",
            "description": "The programmed DNS state doesn't match the requested programming.",
            "name": "Inconsistent"
          }
        ]
      }
    },
    "TeamsDrConfig": {
      "additionalProperties": false,
      "properties": {
        "callScreening": {
          "type": "boolean",
          "description": "Enables/disables caller ID screening for the account. Caller ID screening is enabled by default."
        },
        "subdomain": {
          "pattern": "^([A-Za-z0-9_-]+)$",
          "minLength": 1,
          "maxLength": 10,
          "type": "string",
          "description": "Customer-specific domain name label. Can only contain letters, numbers, underscores and dashes. Can be up to 10 characters in length."
        },
        "subdomainTokens": {
          "$ref": "#/$defs/TeamsDrSubdomainTokens"
        }
      },
      "required": [
        "callScreening",
        "subdomain",
        "subdomainTokens"
      ],
      "type": "object",
      "description": "Account configuration relating to Microsoft Teams Direct Routing."
    },
    "TeamsDrSubdomainTokens": {
      "additionalProperties": false,
      "properties": {
        "region1Token": {
          "pattern": "^([A-Za-z0-9=_-]+)$",
          "minLength": 1,
          "maxLength": 100,
          "type": "string",
          "description": "DNS TXT value for the first region, as provided by the customer from their Microsoft 365 Admin Center. Can only contain letters, numbers, underscores and dashes. Can be up to 100 characters in length."
        },
        "region2Token": {
          "pattern": "^([A-Za-z0-9=_-]+)$",
          "minLength": 1,
          "maxLength": 100,
          "type": "string",
          "description": "DNS TXT value for the first region, as provided by the customer from their Microsoft 365 Admin Center. Can only contain letters, numbers, underscores and dashes. Can be up to 100 characters in length."
        }
      },
      "required": [
        "region1Token",
        "region2Token"
      ],
      "type": "object",
      "description": "DNS TXT values (tokens) for the account."
    }
  }
}

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-azure-account-with-status-response"
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.