Microsoft Entra ID (formerly Azure AD) Directory.identity Provider Base API

The directory.identityProviderBase API from Microsoft Entra ID (formerly Azure AD) — 5 operation(s) for directory.identityproviderbase.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 8

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 /directory/federationConfigurations List SAML/WS-Fed federation configurations · Get federationConfigurations from directory #
Ask an LLM
“Which external organizations are federated with my tenant over SAML or WS-Fed?”
“Can I filter domain federation configurations by display name?”
Tell an agent
List all SAML and WS-Fed federation configurations.
Show federation configurations matching {filter}.
POST /directory/federationConfigurations Add a federation configuration · Create new navigation property to federationConfigurations for directory #
Ask an LLM
“How do I set up domain federation with a partner's SAML identity provider?”
“Can I add a WS-Fed external identity provider for guest sign-in?”
Tell an agent
Create a federation configuration named {name}.
Add external SAML or WS-Fed identity provider {name}.
GET /directory/federationConfigurations/{identityProviderBase-id} Get a federation configuration · Get federationConfigurations from directory #
Ask an LLM
“What are the settings of a specific external domain federation?”
“Which identity provider backs a particular federation configuration?”
Tell an agent
Show federation configuration {idp}.
Get the details of external identity provider {idp}.
PATCH /directory/federationConfigurations/{identityProviderBase-id} Update a federation configuration · Update the navigation property federationConfigurations in directory #
Ask an LLM
“How do I rename an existing external identity provider federation?”
“Can I edit a SAML federation configuration after creating it?”
Tell an agent
Rename federation configuration {idp} to {name}.
Update external identity provider {idp}.
DELETE /directory/federationConfigurations/{identityProviderBase-id} Delete a SAML/WS-Fed federation · Delete samlOrWsFedExternalDomainFederation #
Ask an LLM
“How do I remove federation with a partner organization's identity provider?”
“Can I delete a samlOrWsFedExternalDomainFederation object?”
Tell an agent destructive · confirm first
Delete federation configuration {idp}.
Remove external domain federation {idp} if its ETag is {etag}.
GET /directory/federationConfigurations/$count Count federation configurations · Get the number of the resource #
Ask an LLM
“How many SAML or WS-Fed federations does my tenant have?”
“Is any external domain federation configured at all?”
Tell an agent
Count the federation configurations.
Count federation configurations matching {filter}.
GET /directory/federationConfigurations/microsoft.graph.availableProviderTypes() List supported identity provider types · Invoke function availableProviderTypes #
Ask an LLM
“What identity provider types can my directory federate with?”
“Is SAML/WS-Fed a supported provider type in this tenant?”
Tell an agent
List the identity provider types supported in the directory.
Show available federation provider types.
GET /directory/federationConfigurations/availableProviderTypes() Invoke function availableProviderTypes #

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:azure-ad-directory-identityproviderbase-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

azure-ad-directory-identityproviderbase-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Identity.DirectoryManagement Directory.identity Provider…
  version: v1.0
servers:
- url: https://graph.microsoft.com/v1.0/
  description: Core
security:
- azureaadv2: []
tags:
- name: directory.identityProviderBase
paths:
  /directory/federationConfigurations:
    get:
      tags:
      - directory.identityProviderBase
      summary: Get federationConfigurations from directory
      description: Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.
      operationId: directory_ListFederationConfiguration
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - 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:
          $ref: '#/components/responses/microsoft.graph.identityProviderBaseCollectionResponse'
        default:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
      - directory.identityProviderBase
      summary: Create new navigation property to federationConfigurations for directory
      operationId: directory_CreateFederationConfiguration
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.identityProviderBase'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.identityProviderBase'
        default:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    description: Provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity.
  /directory/federationConfigurations/{identityProviderBase-id}:
    get:
      tags:
      - directory.identityProviderBase
      summary: Get federationConfigurations from directory
      description: Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol.
      operationId: directory_GetFederationConfiguration
      parameters:
      - name: identityProviderBase-id
        in: path
        description: The unique identifier of identityProviderBase
        required: true
        style: simple
        schema:
          type: string
        x-ms-docs-key-type: identityProviderBase
      - 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 navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.identityProviderBase'
        default:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - directory.identityProviderBase
      summary: Update the navigation property federationConfigurations in directory
      operationId: directory_UpdateFederationConfiguration
      parameters:
      - name: identityProviderBase-id
        in: path
        description: The unique identifier of identityProviderBase
        required: true
        style: simple
        schema:
          type: string
        x-ms-docs-key-type: identityProviderBase
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.identityProviderBase'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.identityProviderBase'
        default:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - directory.identityProviderBase
      summary: Delete samlOrWsFedExternalDomainFederation
      description: Delete a samlOrWsFedExternalDomainFederation object.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/samlorwsfedexternaldomainfederation-delete?view=graph-rest-1.0
      operationId: directory_DeleteFederationConfiguration
      parameters:
      - name: identityProviderBase-id
        in: path
        description: The unique identifier of identityProviderBase
        required: true
        style: simple
        schema:
          type: string
        x-ms-docs-key-type: identityProviderBase
      - name: If-Match
        in: header
        description: ETag
        style: simple
        schema:
          type: string
      responses:
        2XX:
          description: Success
        default:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    description: Provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity.
    parameters:
    - name: identityProviderBase-id
      in: path
      description: The unique identifier of identityProviderBase
      required: true
      schema:
        type: string
      x-ms-docs-key-type: identityProviderBase
  /directory/federationConfigurations/$count:
    get:
      tags:
      - directory.identityProviderBase
      summary: Get the number of the resource
      operationId: directory.federationConfiguration_GetCount
      parameters:
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        default:
          $ref: '#/components/responses/error'
    description: Provides operations to count the resources in the collection.
  /directory/federationConfigurations/microsoft.graph.availableProviderTypes():
    get:
      tags:
      - directory.identityProviderBase
      summary: Invoke function availableProviderTypes
      description: Get all identity providers supported in a directory.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/identityproviderbase-availableprovidertypes?view=graph-rest-1.0
      operationId: directory.federationConfiguration_availableProviderType
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  value:
                    type: array
                    items:
                      type:
                      - string
                      - 'null'
                  '@odata.nextLink':
                    type:
                    - string
                    - 'null'
                additionalProperties:
                  type: object
        default:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: function
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
  /directory/federationConfigurations/availableProviderTypes():
    description: Provides operations to call the availableProviderTypes method.
    get:
      tags:
      - directory.identityProviderBase
      summary: Invoke function availableProviderTypes
      description: Get all identity providers supported in a directory.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/identityproviderbase-availableprovidertypes?view=graph-rest-1.0
      operationId: directory.federationConfigurations.availableProviderTypes
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                type: object
                allOf:
                - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse'
                - type: object
                  properties:
                    value:
                      type: array
                      items:
                        type:
                        - string
                        - 'null'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: function
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
components:
  parameters:
    filter:
      name: $filter
      in: query
      description: Filter items by property values
      style: form
      explode: false
      schema:
        type: string
    search:
      name: $search
      in: query
      description: Search items by search phrases
      style: form
      explode: false
      schema:
        type: string
    skip:
      name: $skip
      in: query
      description: Skip the first n items
      style: form
      explode: false
      schema:
        minimum: 0
        type: integer
    count:
      name: $count
      in: query
      description: Include count of items
      style: form
      explode: false
      schema:
        type: boolean
    top:
      name: $top
      in: query
      description: Show only the first n items
      style: form
      explode: false
      schema:
        minimum: 0
        type: integer
      example: 50
  schemas:
    microsoft.graph.ODataErrors.ErrorDetails:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type:
          - string
          - 'null'
      additionalProperties:
        type: object
    microsoft.graph.identityProviderBase:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: identityProviderBase
        type: object
        properties:
          displayName:
            type:
            - string
            - 'null'
            description: The display name of the identity provider.
        additionalProperties:
          type: object
    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
    ODataCountResponse:
      type: integer
      format: int32
    microsoft.graph.identityProviderBaseCollectionResponse:
      title: Collection of identityProviderBase
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/microsoft.graph.identityProviderBase'
        '@odata.nextLink':
          type:
          - string
          - 'null'
      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.ODataErrors.InnerError:
      type: object
      additionalProperties:
        type: object
      description: The structure of this object is service-specific
    microsoft.graph.entity:
      title: entity
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for an entity. Read-only.
      additionalProperties:
        type: object
    BaseCollectionPaginationCountResponse:
      title: Base collection pagination and count responses
      type: object
      properties:
        '@odata.count':
          type:
          - integer
          - 'null'
          format: int64
        '@odata.nextLink':
          type:
          - string
          - 'null'
  responses:
    ODataCountResponse:
      description: The count of the resource
      content:
        text/plain:
          schema:
            $ref: '#/components/schemas/ODataCountResponse'
    error:
      description: error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/microsoft.graph.ODataErrors.ODataError'
    microsoft.graph.identityProviderBaseCollectionResponse:
      description: Retrieved collection
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/microsoft.graph.identityProviderBaseCollectionResponse'
  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: {}