Microsoft Entra ID (formerly Azure AD) Tenant Relationships.tenant Relationship.Functions API

The tenantRelationships.tenantRelationship.Functions API from Microsoft Entra ID (formerly Azure AD) — 2 operation(s) for tenantrelationships.tenantrelationship.functions.

Operations 2

GET /tenantRelationships/microsoft.graph.findTenantInformationByDomainName(domainName='{domainName}') Invoke function findTenantInformationByDomainName #
GET /tenantRelationships/microsoft.graph.findTenantInformationByTenantId(tenantId='{tenantId}') Invoke function findTenantInformationByTenantId #

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/azure-ad-tenantrelationships-tenantrelationship-functions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

OpenAPI Specification

azure-ad-tenantrelationships-tenantrelationship-functions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Identity.DirectoryManagement Tenant Relationships.tenant…
  version: v1.0
servers:
- url: https://graph.microsoft.com/v1.0/
  description: Core
security:
- azureaadv2: []
tags:
- name: tenantRelationships.tenantRelationship.Functions
paths:
  /tenantRelationships/microsoft.graph.findTenantInformationByDomainName(domainName='{domainName}'):
    get:
      tags:
      - tenantRelationships.tenantRelationship.Functions
      summary: Invoke function findTenantInformationByDomainName
      description: Given a domain name, search for a tenant and read its tenantInformation. You can use this API to validate tenant information and use the tenantId to configure cross-tenant access settings between you and the tenant.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/tenantrelationship-findtenantinformationbydomainname?view=graph-rest-1.0
      operationId: tenantRelationship_findTenantInformationGraphBPreDomainName
      parameters:
      - name: domainName
        in: path
        description: 'Usage: domainName=''{domainName}'''
        required: true
        style: simple
        schema:
          type:
          - string
          - 'null'
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.tenantInformation'
        default:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: function
  /tenantRelationships/microsoft.graph.findTenantInformationByTenantId(tenantId='{tenantId}'):
    get:
      tags:
      - tenantRelationships.tenantRelationship.Functions
      summary: Invoke function findTenantInformationByTenantId
      description: Given a tenant ID, search for a tenant and read its tenantInformation. You can use this API to validate tenant information and use the tenantId to configure cross-tenant cross-tenant access settings between you and the tenant.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/tenantrelationship-findtenantinformationbytenantid?view=graph-rest-1.0
      operationId: tenantRelationship_findTenantInformationGraphBPreTenantId
      parameters:
      - name: tenantId
        in: path
        description: 'Usage: tenantId=''{tenantId}'''
        required: true
        style: simple
        schema:
          type:
          - string
          - 'null'
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.tenantInformation'
        default:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: function
components:
  responses:
    error:
      description: error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/microsoft.graph.ODataErrors.ODataError'
  schemas:
    microsoft.graph.ODataErrors.MainError:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: string
        message:
          type: string
          x-ms-primary-error-message: true
        target:
          type:
          - string
          - 'null'
        details:
          type: array
          items:
            $ref: '#/components/schemas/microsoft.graph.ODataErrors.ErrorDetails'
        innerError:
          $ref: '#/components/schemas/microsoft.graph.ODataErrors.InnerError'
      additionalProperties:
        type: object
    microsoft.graph.ODataErrors.ODataError:
      required:
      - error
      type: object
      properties:
        error:
          $ref: '#/components/schemas/microsoft.graph.ODataErrors.MainError'
      additionalProperties:
        type: object
    microsoft.graph.tenantInformation:
      title: tenantInformation
      type: object
      properties:
        defaultDomainName:
          type:
          - string
          - 'null'
          description: Primary domain name of a Microsoft Entra tenant.
        displayName:
          type:
          - string
          - 'null'
          description: Display name of a Microsoft Entra tenant.
        federationBrandName:
          type:
          - string
          - 'null'
          description: Name shown to users that sign in to a Microsoft Entra tenant.
        tenantId:
          type: string
          description: Unique identifier of a Microsoft Entra tenant.
      additionalProperties:
        type: object
    microsoft.graph.ODataErrors.InnerError:
      type: object
      additionalProperties:
        type: object
      description: The structure of this object is service-specific
    microsoft.graph.ODataErrors.ErrorDetails:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type:
          - string
          - 'null'
      additionalProperties:
        type: object
  securitySchemes:
    azureaadv2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
          tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token
          scopes: {}