Microsoft Azure Get Metadata Information API

The Get Metadata Information API from Microsoft Azure, for get metadata information.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /identity/info Get Azure AD metadata information · Microsoft Azure Get Identity Info #
Ask an LLM
“What Azure AD metadata does the identity endpoint expose?”
“Which tenant information can I read from the identity info endpoint?”
Tell an agent
Get the AAD identity metadata, sending Metadata header {metadata}.
Show Azure AD metadata info using API version {version} and Metadata header {metadata}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-get-metadata-information-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

microsoft-azure-get-metadata-information-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure InstanceMetadataClient Get Metadata…
  description: The Azure Instance Metadata Client
  version: '2020-09-01'
servers:
- url: http://169.254.169.254/metadata
- url: https://169.254.169.254/metadata
tags:
- name: Get Metadata Information
paths:
  /identity/info:
    get:
      tags:
      - Get Metadata Information
      description: Get information about AAD Metadata
      operationId: microsoftAzureIdentityGetinfo
      parameters:
      - $ref: '#/components/parameters/MetadataParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityInfoResponse'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityErrorResponse'
      x-ms-examples:
        Get Identity Info for the VM:
          $ref: ./examples/GetIdentityInfo.json
      summary: Microsoft Azure Get Identity Info
components:
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: This is the API version to use.
      required: true
      x-ms-enum:
        name: ApiVersion
        modelAsString: true
      schema:
        type: string
        enum:
        - '2018-10-01'
    MetadataParameter:
      name: Metadata
      in: header
      description: This must be set to 'true'.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        enum:
        - 'true'
  schemas:
    IdentityErrorResponse:
      type: object
      description: This is the response from an Identity operation in the case an error occurs.
      properties:
        error:
          type: string
          description: Error code
          enum:
          - invalid_request
          - unauthorized_client
          - access_denied
          - unsupported_response_type
          - invalid_scope
          - server_error
          - service_unavailable
          - bad_request
          - forbidden
          - not_found
          - method_not_allowed
          - too_many_requests
          x-ms-enum:
            name: Error
            modelAsString: true
        error_description:
          type: string
          description: Error message indicating why the operation failed.
    IdentityInfoResponse:
      type: object
      description: This is the response from the Identity_GetInfo operation.
      properties:
        tenantId:
          type: string
          description: This is the AAD tenantId of the identity of the system assigned managed identity.
  securitySchemes:
    basic_auth:
      type: http
      scheme: basic
      description: A Basic authentication flow
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)