Microsoft Entra ID (formerly Azure AD) Users.license Details API

The users.licenseDetails API from Microsoft Entra ID (formerly Azure AD) — 5 operation(s) for users.licensedetails.

GitHub OpenAPI

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 /users/{user-id}/licenseDetails List a user's license details · Get licenseDetails from users #
Ask an LLM
“Which licenses and service plans does a user have?”
“What SKUs is a particular employee licensed for?”
Tell an agent
List the license details for user {user_id}.
Show every SKU and service plan assigned to {user_id}.
POST /users/{user-id}/licenseDetails Add a license detail record to a user · Create new navigation property to licenseDetails for users #
Ask an LLM
“Can I create a licenseDetails entry on a user through this endpoint?”
“Is there a way to write a new license detail record for a user?”
Tell an agent
Create a license detail record for user {user_id} with SKU {sku_id}.
Add license detail with SKU part number {sku_part} to user {user_id}.
GET /users/{user-id}/licenseDetails/{licenseDetails-id} Get one license detail of a user · Get licenseDetails from users #
Ask an LLM
“Which service plans are included in one specific license a user holds?”
“Can I read a single license detail record for a user?”
Tell an agent
Get license detail {license_id} of user {user_id}.
Show the service plans in license {license_id} assigned to {user_id}.
PATCH /users/{user-id}/licenseDetails/{licenseDetails-id} Update a license detail record on a user · Update the navigation property licenseDetails in users #
Ask an LLM
“Can I change the service plans recorded on a user's existing license detail?”
“Is a user's license detail record editable?”
Tell an agent
Update license detail {license_id} of user {user_id}.
Set the service plans on license detail {license_id} for {user_id} to {plans}.
DELETE /users/{user-id}/licenseDetails/{licenseDetails-id} Delete a license detail record from a user · Delete navigation property licenseDetails for users #
Ask an LLM
“Can I delete a licenseDetails record from a user?”
“What happens when a license detail entry is removed from a user?”
Tell an agent destructive · confirm first
Delete license detail {license_id} from user {user_id}.
Remove the license detail record {license_id} on {user_id}.
GET /users/{user-id}/licenseDetails/$count Count a user's licenses · Get the number of the resource #
Ask an LLM
“How many licenses does a user have?”
“Is this user licensed for anything at all?”
Tell an agent
Count the license details for user {user_id}.
Tell me how many licenses {user_id} holds.
GET /users/{user-id}/licenseDetails/getTeamsLicensingDetails() Invoke function getTeamsLicensingDetails #
GET /users/{user-id}/licenseDetails/microsoft.graph.getTeamsLicensingDetails() Check a user's Microsoft Teams license status · Invoke function getTeamsLicensingDetails #
Ask an LLM
“Does a user have a Teams license?”
“What's the Microsoft Teams licensing status of a specific person?”
Tell an agent
Get the Teams licensing details for user {user_id}.
Check whether {user_id} is licensed for Microsoft Teams.

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-users-licensedetails-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-users-licensedetails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OData Service for namespace microsoft.graph Users.license…
  description: This OData service is located at https://graph.microsoft.com/v1.0
  version: v1.0
  x-ms-generated-by:
    toolName: Microsoft.OpenApi.OData
    toolVersion: 0.0.0.0
servers:
- url: https://graph.microsoft.com/v1.0
tags:


# --- truncated at 32 KB (155 KB total) ---
# Full source: https://artifacts.apis.io/azure-ad/openapi/azure-ad-users-licensedetails-api-openapi.yml