Microsoft · Authentication Profile

Microsoft Authentication

Authentication

Microsoft secures its APIs with apiKey, http, and oauth2 across 7 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode and clientCredentials flow(s).

Fortune 100
Methods: apiKey, http, oauth2 Schemes: 7 OAuth flows: authorizationCode, clientCredentials API key in: header

Security Schemes

apiKey apiKey
· in: header (Ocp-Apim-Subscription-Key)
accessKey apiKey
· in: header (Authorization)
basicAuth http
scheme: basic
oauth2 oauth2
· flows: authorizationCode
apiKey apiKey
· in: header (api-key)
oauth2 oauth2
· flows: clientCredentials
oauth2 oauth2
· flows: authorizationCode, clientCredentials

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/microsoft-azure-cognitive-services-openapi.yml, openapi/microsoft-azure-communication-services-openapi.yml,
  openapi/microsoft-azure-devops-openapi.yml, openapi/microsoft-azure-openai-openapi.yml, openapi/microsoft-azure-rest-openapi.yml,
  openapi/microsoft-bing-search-openapi.yml, openapi/microsoft-dynamics-365-openapi.yml, openapi/microsoft-entra-id-openapi.yml,
  openapi/microsoft-graph-openapi.yml, openapi/microsoft-intune-openapi.yml, openapi/microsoft-onedrive-openapi.yml,
  openapi/microsoft-outlook-openapi.yml ...
summary:
  types:
  - apiKey
  - http
  - oauth2
  api_key_in:
  - header
  oauth2_flows:
  - authorizationCode
  - clientCredentials
schemes:
- name: apiKey
  type: apiKey
  in: header
  parameter: Ocp-Apim-Subscription-Key
  description: Azure Cognitive Services subscription key
  sources:
  - openapi/microsoft-azure-cognitive-services-openapi.yml
  - openapi/microsoft-bing-search-openapi.yml
- name: accessKey
  type: apiKey
  in: header
  parameter: Authorization
  description: HMAC-SHA256 signature authentication
  sources:
  - openapi/microsoft-azure-communication-services-openapi.yml
- name: basicAuth
  type: http
  scheme: basic
  description: Personal Access Token (PAT) as password with empty username
  sources:
  - openapi/microsoft-azure-devops-openapi.yml
- name: oauth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://app.vssps.visualstudio.com/oauth2/authorize
    tokenUrl: https://app.vssps.visualstudio.com/oauth2/token
    scopes: 4
  description: Microsoft Entra ID OAuth 2.0
  sources:
  - openapi/microsoft-azure-devops-openapi.yml
  - openapi/microsoft-dynamics-365-openapi.yml
  - openapi/microsoft-onedrive-openapi.yml
  - openapi/microsoft-outlook-openapi.yml
  - openapi/microsoft-power-bi-openapi.yml
  - openapi/microsoft-power-platform-openapi.yml
  - openapi/microsoft-sharepoint-openapi.yml
  - openapi/microsoft-teams-openapi.yml
- name: apiKey
  type: apiKey
  in: header
  parameter: api-key
  description: Azure OpenAI API key
  sources:
  - openapi/microsoft-azure-openai-openapi.yml
- name: oauth2
  type: oauth2
  flows:
  - flow: clientCredentials
    tokenUrl: https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token
    scopes: 1
  description: Microsoft Entra ID OAuth 2.0
  sources:
  - openapi/microsoft-azure-openai-openapi.yml
  - openapi/microsoft-azure-rest-openapi.yml
  - openapi/microsoft-entra-id-openapi.yml
  - openapi/microsoft-intune-openapi.yml
- name: oauth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
    tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token
    scopes: 20
  - flow: clientCredentials
    tokenUrl: https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token
    scopes: 1
  description: Microsoft identity platform OAuth 2.0 authorization
  sources:
  - openapi/microsoft-graph-openapi.yml

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • 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 security artifact
curl "https://apis.io/api/v1/security/microsoft-authentication"
All security posture
curl "https://apis.io/api/v1/security?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.