Microsoft Azure Communication Services Teams User API

The TeamsUser API from Microsoft Azure Communication Services — 1 operation(s) for teamsuser.

GitHub OpenAPI

Operations 1

POST /teamsUser/:exchangeAccessToken Exchange an Entra ID access token of a Teams user for a new Communication… #

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-communication-services:microsoft-azure-communication-services-teamsuser-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-communication-services-teamsuser-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CommunicationIdentityClient Teams User API
  version: '2026-09-23'
  description: Azure Communication Identity Service
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
tags:
- name: TeamsUser
paths:
  /teamsUser/:exchangeAccessToken:
    post:
      operationId: TeamsUserOperations_ExchangeTeamsUserAccessToken
      tags:
      - TeamsUser
      summary: Exchange an Entra ID access token of a Teams user for a new Communication…
      description: Exchange an Entra ID access token of a Teams user for a new Communication Identity access token with a matching expiration time.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationIdentityAccessToken'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamsUserExchangeTokenRequest'
        description: Request payload for the token exchange.
        required: true
components:
  schemas:
    CommunicationIdentityAccessToken:
      type: object
      description: An access token.
      properties:
        token:
          type: string
          description: The access token issued for the identity.
        expiresOn:
          type: string
          format: date-time
          description: The expiry time of the token.
      required:
      - token
      - expiresOn
    TeamsUserExchangeTokenRequest:
      type: object
      description: A request to exchange a Teams user access token.
      properties:
        token:
          type: string
          description: Entra ID access token of a Teams User to acquire a new Communication Identity access token.
        appId:
          type: string
          description: Client ID of an Entra ID application to be verified against the appid claim in the Entra ID access token.
        userId:
          type: string
          description: Object ID of an Entra ID user (Teams User) to be verified against the oid claim in the Entra ID access token.
      required:
      - token
      - appId
      - userId
    CommunicationErrorResponse:
      type: object
      description: The Communication Services error.
      properties:
        error:
          $ref: '#/components/schemas/CommunicationError'
          description: The Communication Services error.
      required:
      - error
    CommunicationError:
      type: object
      description: The Communication Services error.
      properties:
        code:
          type: string
          description: The error code.
        message:
          type: string
          description: The error message.
        target:
          type: string
          description: The error target.
          readOnly: true
        details:
          type: array
          description: Further details about specific errors that led to this error.
          items:
            $ref: '#/components/schemas/CommunicationError'
          readOnly: true
        innererror:
          $ref: '#/components/schemas/CommunicationError'
          description: The inner error if any.
          readOnly: true
          x-ms-client-name: innerError
      required:
      - code
      - message
  parameters:
    Azure.Core.Foundations.ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      x-ms-parameter-location: method
      x-ms-client-name: apiVersion
      schema:
        type: string
        minLength: 1
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - name: endpoint
    in: path
    description: The communication resource, for example https://my-resource.communication.azure.com
    required: true
    type: string
    format: uri
    x-ms-skip-url-encoding: true