Microsoft Active Directory · JSON Structure

Users User Structure

A Microsoft Entra ID user account managed via Microsoft Graph

Type: record Properties: 0
Active DirectoryAuthenticationAuthorizationDirectory ServicesIdentity ManagementMicrosoft EntraZero Trust

Users User Structure is a JSON Structure definition published by Microsoft Active Directory. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/active-directory/main/json-structure/users-user-structure.json",
  "title": "User",
  "description": "A Microsoft Entra ID user account managed via Microsoft Graph",
  "type": "record",
  "fields": [
    { "name": "id", "type": "string", "description": "Unique identifier for the user (read-only UUID)" },
    { "name": "displayName", "type": "string", "description": "Name displayed in the address book" },
    { "name": "userPrincipalName", "type": "string", "description": "Principal name in UPN format (alias@domain)" },
    { "name": "mail", "type": "string", "optional": true, "description": "Primary SMTP email address" },
    { "name": "givenName", "type": "string", "optional": true, "description": "First name of the user" },
    { "name": "surname", "type": "string", "optional": true, "description": "Last name of the user" },
    { "name": "jobTitle", "type": "string", "optional": true, "description": "User's job title" },
    { "name": "department", "type": "string", "optional": true, "description": "Department the user works in" },
    { "name": "officeLocation", "type": "string", "optional": true, "description": "Office location" },
    { "name": "mobilePhone", "type": "string", "optional": true, "description": "Primary mobile phone number" },
    { "name": "businessPhones", "type": "array", "items": { "type": "string" }, "optional": true, "description": "Business phone numbers" },
    { "name": "accountEnabled", "type": "boolean", "optional": true, "description": "Whether the account is enabled" },
    { "name": "usageLocation", "type": "string", "optional": true, "description": "ISO 3166 two-letter country code (required for license assignment)" },
    { "name": "preferredLanguage", "type": "string", "optional": true, "description": "ISO 639-1 language code (e.g. en-US)" },
    { "name": "createdDateTime", "type": "timestamp", "optional": true, "description": "When the user was created" },
    { "name": "lastPasswordChangeDateTime", "type": "timestamp", "optional": true, "description": "When the user last changed their password" },
    { "name": "passwordPolicies", "type": "string", "optional": true, "description": "Password policies (e.g. DisablePasswordExpiration)" },
    { "name": "userType", "type": "string", "optional": true, "description": "Member or Guest" },
    { "name": "onPremisesSyncEnabled", "type": "boolean", "optional": true, "description": "Whether synced from on-premises Active Directory" },
    { "name": "onPremisesDistinguishedName", "type": "string", "optional": true, "description": "Distinguished name from on-premises AD" },
    { "name": "externalUserState", "type": "string", "optional": true, "description": "B2B guest invitation state (PendingAcceptance or Accepted)" }
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 JSON Structure
curl "https://apis.io/api/v1/json-structures/users-user-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.