Microsoft Graph tenantRelationships.tenantRelationship API

The tenantRelationships.tenantRelationship API from Microsoft Graph — 1 operation(s) for tenantrelationships.tenantrelationship.

Operations 2

GET /tenantRelationships Microsoft Graph Get tenantRelationships #
PATCH /tenantRelationships Microsoft Graph Update tenantRelationships #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/admin?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreementacceptance?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamsapp?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/application?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/applicationtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodspolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/certificatebasedauthconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/chat?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/communications-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/complianceapioverview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-externalconnection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contact?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contract?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/copilot-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/datapolicyoperation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-apps-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-device-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/device?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domaindnsrecord?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domain?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/education-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/employee-experience-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-external?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/filter-query-parameter
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/grouplifecyclepolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsetting?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsettingtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/identitycontainer?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/informationprotection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/invitation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/users?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/oauth2permissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/organization?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/resourcespecificpermissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/place?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/planner-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/print?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/privacy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/report?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/rolemanagement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/schemaextension?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/scopedrolemembership?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/serviceprincipal?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/shares?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/solutions-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/filestorage?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscribedsku?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamwork?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/tenantrelationship?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/auth/auth-concepts
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/workplace?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sitepage?view=graph-rest-1.0

Specifications

Other Resources

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-graph-tenantrelationships-tenantrelationship-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

microsoft-graph-tenantrelationships-tenantrelationship-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Graph Admin Admin.admin Tenant Relationships.tenant Relationship API
  description: 'Microsoft Graph API for managing administrative resources in Microsoft Entra ID.

    This API enables administrators to manage Microsoft Edge browser settings, Internet Explorer mode configurations,

    site lists, shared browser sites, Microsoft 365 Apps installation options, people insights, service announcements,

    SharePoint settings, Copilot administration, directory administrative units, and admin consent policies.'
  version: 1.0.0
  contact:
    name: Microsoft Graph API Support
    url: https://developer.microsoft.com/graph
servers:
- url: https://graph.microsoft.com/v1.0
  description: Microsoft Graph API v1.0 endpoint
tags:
- name: tenantRelationships.tenantRelationship
  x-ms-docs-toc-type: page
paths:
  /tenantRelationships:
    description: Provides operations to manage the tenantRelationship singleton.
    get:
      tags:
      - tenantRelationships.tenantRelationship
      summary: Microsoft Graph Get tenantRelationships
      operationId: tenantRelationships.tenantRelationship.GetTenantRelationship
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.tenantRelationship'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - tenantRelationships.tenantRelationship
      summary: Microsoft Graph Update tenantRelationships
      operationId: tenantRelationships.tenantRelationship.UpdateTenantRelationship
      requestBody:
        description: New property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.tenantRelationship'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.tenantRelationship'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
components:
  schemas:
    microsoft.graph.delegatedAdminAccessAssignmentStatus:
      title: delegatedAdminAccessAssignmentStatus
      enum:
      - pending
      - active
      - deleting
      - deleted
      - error
      - unknownFutureValue
      type: string
    microsoft.graph.ODataErrors.ErrorDetails:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type: string
          nullable: true
    microsoft.graph.delegatedAdminAccessDetails:
      title: delegatedAdminAccessDetails
      required:
      - '@odata.type'
      type: object
      properties:
        unifiedRoles:
          type: array
          items:
            $ref: '#/components/schemas/microsoft.graph.unifiedRole'
          description: The directory roles that the Microsoft partner is assigned in the customer tenant.
        '@odata.type':
          type: string
    microsoft.graph.delegatedAdminRelationshipStatus:
      title: delegatedAdminRelationshipStatus
      enum:
      - activating
      - active
      - approvalPending
      - approved
      - created
      - expired
      - expiring
      - terminated
      - terminating
      - terminationRequested
      - unknownFutureValue
      type: string
    microsoft.graph.delegatedAdminRelationship:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: delegatedAdminRelationship
        required:
        - '@odata.type'
        type: object
        properties:
          accessDetails:
            $ref: '#/components/schemas/microsoft.graph.delegatedAdminAccessDetails'
          activatedDateTime:
            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
            description: The date and time in ISO 8601 format and in UTC time when the relationship became active. Read-only.
            format: date-time
            nullable: true
          autoExtendDuration:
            pattern: ^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$
            type: string
            description: 'The duration by which the validity of the relationship is automatically extended, denoted in ISO 8601 format. Supported values are: P0D, PT0S, P180D. The default value is PT0S. PT0S indicates that the relationship expires when the endDateTime is reached and it isn''t automatically extended.'
            format: duration
            nullable: true
          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
            description: The date and time in ISO 8601 format and in UTC time when the relationship was created. Read-only.
            format: date-time
            nullable: true
          customer:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.delegatedAdminRelationshipCustomerParticipant'
            - type: object
              nullable: true
            description: The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Can't be changed by the customer.
          displayName:
            type: string
            description: The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner and is set by the partner only when the relationship is in the created status and can't be changed by the customer. Maximum length is 50 characters.
          duration:
            pattern: ^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$
            type: string
            description: The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and can't be changed by the customer.
            format: duration
          endDateTime:
            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
            description: The date and time in ISO 8601 format and in UTC time when the status of relationship changes to either terminated or expired. Calculated as endDateTime = activatedDateTime + duration. Read-only.
            format: date-time
            nullable: true
          lastModifiedDateTime:
            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
            description: The date and time in ISO 8601 format and in UTC time when the relationship was last modified. Read-only.
            format: date-time
            nullable: true
          status:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.delegatedAdminRelationshipStatus'
            - type: object
              nullable: true
            description: 'The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby.'
          accessAssignments:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.delegatedAdminAccessAssignment'
            description: The access assignments associated with the delegated admin relationship.
            x-ms-navigationProperty: true
          operations:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.delegatedAdminRelationshipOperation'
            description: The long running operations associated with the delegated admin relationship.
            x-ms-navigationProperty: true
          requests:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.delegatedAdminRelationshipRequest'
            description: The requests associated with the delegated admin relationship.
            x-ms-navigationProperty: true
          '@odata.type':
            type: string
        discriminator:
          propertyName: '@odata.type'
          mapping:
            '#microsoft.graph.resellerDelegatedAdminRelationship': '#/components/schemas/microsoft.graph.resellerDelegatedAdminRelationship'
    microsoft.graph.multiTenantOrganizationMemberTransitionDetails:
      title: multiTenantOrganizationMemberTransitionDetails
      required:
      - '@odata.type'
      type: object
      properties:
        desiredRole:
          anyOf:
          - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberRole'
          - type: object
            nullable: true
          description: 'Role of the tenant in the multitenant organization. The possible values are: owner, member, unknownFutureValue.'
        desiredState:
          anyOf:
          - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberState'
          - type: object
            nullable: true
          description: 'State of the tenant in the multitenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only.'
        details:
          type: string
          description: Details that explain the processing status if any. Read-only.
          nullable: true
        status:
          anyOf:
          - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberProcessingStatus'
          - type: object
            nullable: true
          description: 'Processing state of the asynchronous job. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only.'
        '@odata.type':
          type: string
    microsoft.graph.delegatedAdminRelationshipOperation:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: delegatedAdminRelationshipOperation
        required:
        - '@odata.type'
        type: object
        properties:
          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
            description: The time in ISO 8601 format and in UTC time when the long-running operation was created. Read-only.
            format: date-time
          data:
            type: string
            description: The data (payload) for the operation. Read-only.
          lastModifiedDateTime:
            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
            description: The time in ISO 8601 format and in UTC time when the long-running operation was last modified. Read-only.
            format: date-time
          operationType:
            $ref: '#/components/schemas/microsoft.graph.delegatedAdminRelationshipOperationType'
          status:
            $ref: '#/components/schemas/microsoft.graph.longRunningOperationStatus'
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.delegatedAdminRelationshipOperation'
    microsoft.graph.multiTenantOrganizationJoinRequestRecord:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: multiTenantOrganizationJoinRequestRecord
        required:
        - '@odata.type'
        type: object
        properties:
          addedByTenantId:
            type: string
            description: Tenant ID of the Microsoft Entra tenant that added a tenant to the multitenant organization. To reset a failed join request, set addedByTenantId to 00000000-0000-0000-0000-000000000000. Required.
            nullable: true
          memberState:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberState'
            - type: object
              nullable: true
            description: 'State of the tenant in the multitenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multitenant organization to participate in the multitenant organization. Tenants in the active state can participate in the multitenant organization. Tenants in the removed state are in the process of being removed from the multitenant organization. Read-only.'
          role:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberRole'
            - type: object
              nullable: true
            description: 'Role of the tenant in the multitenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multitenant organization. There can be multiple tenants with the owner role in a multitenant organization. Tenants with the member role can participate in a multitenant organization.'
          transitionDetails:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationJoinRequestTransitionDetails'
            - type: object
              nullable: true
            description: Details of the processing status for a tenant joining a multitenant organization. Read-only.
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.multiTenantOrganizationJoinRequestRecord'
    microsoft.graph.delegatedAdminAccessContainerType:
      title: delegatedAdminAccessContainerType
      enum:
      - securityGroup
      - unknownFutureValue
      type: string
    microsoft.graph.multiTenantOrganizationMemberRole:
      title: multiTenantOrganizationMemberRole
      enum:
      - owner
      - member
      - unknownFutureValue
      type: string
    microsoft.graph.multiTenantOrganizationState:
      title: multiTenantOrganizationState
      enum:
      - active
      - inactive
      - unknownFutureValue
      type: string
    microsoft.graph.ODataErrors.InnerError:
      title: InnerError
      required:
      - '@odata.type'
      type: object
      properties:
        request-id:
          type: string
          description: Request Id as tracked internally by the service
          nullable: true
        client-request-id:
          type: string
          description: Client request Id as sent by the client application.
          nullable: true
        date:
          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
          description: Date when the error occured.
          format: date-time
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.delegatedAdminRelationshipRequest:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: delegatedAdminRelationshipRequest
        required:
        - '@odata.type'
        type: object
        properties:
          action:
            $ref: '#/components/schemas/microsoft.graph.delegatedAdminRelationshipRequestAction'
          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
            description: The date and time in ISO 8601 format and in UTC time when the relationship request was created. Read-only.
            format: date-time
            nullable: true
          lastModifiedDateTime:
            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
            description: The date and time in ISO 8601 format and UTC time when this relationship request was last modified. Read-only.
            format: date-time
            nullable: true
          status:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.delegatedAdminRelationshipRequestStatus'
            - type: object
              nullable: true
            description: 'The status of the request. Read-only. The possible values are: created, pending, succeeded, failed, unknownFutureValue.'
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.delegatedAdminRelationshipRequest'
    microsoft.graph.multiTenantOrganizationJoinRequestTransitionDetails:
      title: multiTenantOrganizationJoinRequestTransitionDetails
      required:
      - '@odata.type'
      type: object
      properties:
        desiredMemberState:
          anyOf:
          - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberState'
          - type: object
            nullable: true
          description: 'State of the tenant in the multitenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only.'
        details:
          type: string
          description: Details that explain the processing status if any. Read-only.
          nullable: true
        status:
          anyOf:
          - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberProcessingStatus'
          - type: object
            nullable: true
          description: 'Processing state of the asynchronous job. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only.'
        '@odata.type':
          type: string
    microsoft.graph.multiTenantOrganizationMemberProcessingStatus:
      title: multiTenantOrganizationMemberProcessingStatus
      enum:
      - notStarted
      - running
      - succeeded
      - failed
      - unknownFutureValue
      type: string
    microsoft.graph.delegatedAdminAccessContainer:
      title: delegatedAdminAccessContainer
      required:
      - '@odata.type'
      type: object
      properties:
        accessContainerId:
          type: string
          description: The identifier of the access container (for example, a security group). For 'securityGroup' access containers, this must be a valid ID of a Microsoft Entra security group in the Microsoft partner's tenant.
        accessContainerType:
          $ref: '#/components/schemas/microsoft.graph.delegatedAdminAccessContainerType'
        '@odata.type':
          type: string
    microsoft.graph.unifiedRole:
      title: unifiedRole
      required:
      - '@odata.type'
      type: object
      properties:
        roleDefinitionId:
          type: string
          description: The unified role definition ID of the directory role. Refer to unifiedRoleDefinition resource.
        '@odata.type':
          type: string
    microsoft.graph.multiTenantOrganizationMember:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.directoryObject'
      - title: multiTenantOrganizationMember
        required:
        - '@odata.type'
        type: object
        properties:
          addedByTenantId:
            pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
            type: string
            description: Tenant ID of the tenant that added the tenant to the multitenant organization. Read-only.
            format: uuid
            nullable: true
          addedDateTime:
            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
            description: Date and time when the tenant was added to the multitenant organization. Read-only.
            format: date-time
            nullable: true
          displayName:
            type: string
            description: Display name of the tenant added to the multitenant organization.
            nullable: true
          joinedDateTime:
            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
            description: Date and time when the tenant joined the multitenant organization. Read-only.
            format: date-time
            nullable: true
          role:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberRole'
            - type: object
              nullable: true
            description: 'Role of the tenant in the multitenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multitenant organization but tenants with the member role can only participate in a multitenant organization. There can be multiple tenants with the owner role in a multitenant organization.'
          state:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberState'
            - type: object
              nullable: true
            description: 'State of the tenant in the multitenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multitenant organization to participate in the multitenant organization. Tenants in the active state can participate in the multitenant organization. Tenants in the removed state are in the process of being removed from the multitenant organization. Read-only.'
          tenantId:
            type: string
            description: Tenant ID of the Microsoft Entra tenant added to the multitenant organization. Set at the time tenant is added.Supports $filter. Key.
          transitionDetails:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMemberTransitionDetails'
            - type: object
              nullable: true
            description: Details of the processing status for a tenant in a multitenant organization. Read-only. Nullable.
          '@odata.type':
            type: string
            default: '#microsoft.graph.multiTenantOrganizationMember'
      x-ms-discriminator-value: '#microsoft.graph.multiTenantOrganizationMember'
    microsoft.graph.delegatedAdminServiceManagementDetail:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: delegatedAdminServiceManagementDetail
        required:
        - '@odata.type'
        type: object
        properties:
          serviceManagementUrl:
            type: string
            description: The URL of the management portal for the managed service. Read-only.
          serviceName:
            type: string
            description: The name of a managed service. Read-only.
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.delegatedAdminServiceManagementDetail'
    microsoft.graph.delegatedAdminRelationshipRequestAction:
      title: delegatedAdminRelationshipRequestAction
      enum:
      - lockForApproval
      - approve
      - terminate
      - unknownFutureValue
      - reject
      type: string
    microsoft.graph.delegatedAdminRelationshipCustomerParticipant:
      title: delegatedAdminRelationshipCustomerParticipant
      required:
      - '@odata.type'
      type: object
      properties:
        displayName:
          type: string
          description: The display name of the customer tenant as set by Microsoft Entra ID. Read-only
          nullable: true
        tenantId:
          type: string
          description: The Microsoft Entra ID-assigned tenant ID of the customer tenant.
        '@odata.type':
          type: string
    microsoft.graph.multiTenantOrganization:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: multiTenantOrganization
        required:
        - '@odata.type'
        type: object
        properties:
          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
            description: Date when multitenant organization was created. Read-only.
            format: date-time
            nullable: true
          description:
            type: string
            description: Description of the multitenant organization.
            nullable: true
          displayName:
            type: string
            description: Display name of the multitenant organization.
            nullable: true
          state:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationState'
            - type: object
              nullable: true
            description: 'State of the multitenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multitenant organization is created. inactive indicates the multitenant organization isn''t created. Read-only.'
          joinRequest:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationJoinRequestRecord'
            - type: object
              nullable: true
            description: Defines the status of a tenant joining a multitenant organization.
            x-ms-navigationProperty: true
          tenants:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.multiTenantOrganizationMember'
            description: Defines tenants added to a multitenant organization.
            x-ms-navigationProperty: true
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.multiTenantOrganization'
    microsoft.graph.directoryObject:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: directoryObject
        required:
        - '@odata.type'
        type: object
        properties:
          deletedDateTime:
            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
            description: Date and time when this object was deleted. Always null when the object hasn't been deleted.
            format: date-time
            nullable: true
          '@odata.type':
            type: string
        discriminator:
          propertyName: '@odata.type'
          mapping:
            '#microsoft.graph.administrativeUnit': '#/components/schemas/microsoft.graph.administrativeUnit'
            '#microsoft.graph.application': '#/components/schemas/microsoft.graph.application'
            '#microsoft.graph.appRoleAssignment': '#/components/schemas/microsoft.graph.appRoleAssignment'
            '#microsoft.graph.certificateAuthorityDetail': '#/components/schemas/microsoft.graph.certificateAuthorityDetail'
            '#microsoft.graph.certificateBasedAuthPki': '#/components/schemas/microsoft.graph.certificateBasedAuthPki'
            '#microsoft.graph.contract': '#/components/schemas/microsoft.graph.contract'
            '#microsoft.graph.device': '#/components/schemas/microsoft.graph.device'
            '#microsoft.graph.directoryObjectPartnerReference': '#/components/schemas/microsoft.graph.directoryObjectPartnerReference'
            '#microsoft.graph.directoryRole': '#/components/schemas/microsoft.graph.directoryRole'
            '#microsoft.graph.directoryRoleTemplate': '#/components/schemas/microsoft.graph.directoryRoleTemplate'
            '#microsoft.graph.endpoint': '#/components/schemas/microsoft.graph.endpoint'
            '#microsoft.graph.extensionProperty': '#/components/schemas/microsoft.graph.extensionProperty'
            '#microsoft.graph.group': '#/components/schemas/microsoft.graph.group'
            '#microsoft.graph.groupSettingTemplate': '#/components/schemas/microsoft.graph.groupSettingTemplate'
            '#microsoft.graph.multiTenantOrganizationMember': '#/components/schemas/microsoft.graph.multiTenantOrganizationMember'
            '#microsoft.graph.organization': '#/components/schemas/microsoft.graph.organization'
            '#microsoft.graph.orgContact': '#/components/schemas/microsoft.graph.orgContact'
            '#microsoft.graph.policyBase': '#/components/schemas/microsoft.graph.policyBase'
            '#microsoft.graph.appManagementPolicy': '#/components/schemas/microsoft.graph.appManagementPolicy'
            '#microsoft.graph.authorizationPolicy': '#/components/schemas/microsoft.graph.authorizationPolicy'
            '#microsoft.graph.crossTenantAccessPolicy': '#/components/schemas/microsoft.graph.crossTenantAccessPolicy'
            '#microsoft.graph.identitySecurityDefaultsEnforcementPolicy': '#/components/schemas/microsoft.graph.identitySecurityDefaultsEnforcementPolicy'
            '#microsoft.graph.permissionGrantPolicy': '#/components/schemas/microsoft.graph.permissionGrantPolicy'
            '#microsoft.graph.stsPolicy': '#/components/schemas/microsoft.graph.stsPolicy'
            '#microsoft.graph.activityBasedTimeoutPolicy': '#/components/schemas/microsoft.graph.activityBasedTimeoutPolicy'
            '#microsoft.graph.claimsMappingPolicy': '#/components/schemas/microsoft.graph.claimsMappingPolicy'
            '#microsoft.graph.homeRealmDiscoveryPolicy': '#/components/schemas/microsoft.graph.homeRealmDiscoveryPolicy'
            '#microsoft.graph.tokenIssuancePolicy': '#/components/schemas/microsoft.graph.tokenIssuancePolicy'
            '#microsoft.graph.tokenLifetimePolicy': '#/components/schemas/microsoft.graph.tokenLifetimePolicy'
            '#microsoft.graph.tenantAppManagementPolicy': '#/components/schemas/microsoft.graph.tenantAppManagementPolicy'
            '#microsoft.graph.resourceSpecificPermissionGrant': '#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant'
            '#microsoft.graph.servicePrincipal': '#/components/schemas/microsoft.graph.servicePrincipal'
            '#microsoft.graph.user': '#/components/schemas/microsoft.graph.user'
    microsoft.graph.multiTenantOrganizationMemberState:
      title: multiTenantOrganizationMemberState
      enum:
      - pending
      - active
      - removed
      - unknownFutureValue
      type: string
    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
          nullable: true
        details:
          type: array
          items:
            $ref: '#/components/schemas/microsoft.graph.ODataErrors.ErrorDetails'
        innerError:
          $ref: '#/components/schemas/microsoft.graph.ODataErrors.InnerError'
    microsoft.graph.longRunningOperationStatus:
      title: longRunningOperationStatus
      enum:
      - notStarted
      - running
      - succeeded
      - failed
      - unknownFutureValue
      type: string
    microsoft.graph.delegatedAdminRelationshipOperationType:
      title: delegatedAdminRelationshipOperationType
      enum:
      - delegatedAdminAccessAssignmentUpdate
      - unknownFutureValue
      - delegatedAdminRelationshipUpdate
      type: string
    microsoft.graph.tenantRelationship:
      title: tenantRelationship
      required:
      - '@odata.type'
      type: ob

# --- truncated at 32 KB (157 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/openapi/microsoft-graph-tenantrelationships-tenantrelationship-api-openapi.yml