Microsoft Entra ID (formerly Azure AD) Users.directory Object API

The users.directoryObject API from Microsoft Entra ID (formerly Azure AD) — 84 operation(s) for users.directoryobject.

Operations 88

GET /users/{user-id}/createdObjects Get createdObjects from users #
GET /users/{user-id}/createdObjects/{directoryObject-id} Get createdObjects from users #
GET /users/{user-id}/createdObjects/{directoryObject-id}/microsoft.graph.servicePrincipal Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/createdObjects/$count Get the number of the resource #
GET /users/{user-id}/createdObjects/microsoft.graph.servicePrincipal Get the items of type microsoft.graph.servicePrincipal in the… #
GET /users/{user-id}/createdObjects/microsoft.graph.servicePrincipal/$count Get the number of the resource #
GET /users/{user-id}/directReports List directReports (for agentUser) #
GET /users/{user-id}/directReports/{directoryObject-id} Get directReports from users #
GET /users/{user-id}/directReports/{directoryObject-id}/microsoft.graph.orgContact Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/directReports/{directoryObject-id}/microsoft.graph.user Get the item of type microsoft.graph.directoryObject as microsoft.graph.user #
GET /users/{user-id}/directReports/$count Get the number of the resource #
GET /users/{user-id}/directReports/microsoft.graph.orgContact Get the items of type microsoft.graph.orgContact in the… #
GET /users/{user-id}/directReports/microsoft.graph.orgContact/$count Get the number of the resource #
GET /users/{user-id}/directReports/microsoft.graph.user Get the items of type microsoft.graph.user in the… #
GET /users/{user-id}/directReports/microsoft.graph.user/$count Get the number of the resource #
GET /users/{user-id}/manager List manager (for agentUser) #
GET /users/{user-id}/manager/$ref List manager (for agentUser) #
PUT /users/{user-id}/manager/$ref Assign manager #
DELETE /users/{user-id}/manager/$ref Remove manager (for agentUser) #
GET /users/{user-id}/memberOf List agentUser direct memberships #
GET /users/{user-id}/memberOf/{directoryObject-id} Get memberOf from users #
GET /users/{user-id}/memberOf/{directoryObject-id}/microsoft.graph.administrativeUnit Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/memberOf/{directoryObject-id}/microsoft.graph.directoryRole Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/memberOf/{directoryObject-id}/microsoft.graph.group List a user's direct memberships #
GET /users/{user-id}/memberOf/$count Get the number of the resource #
GET /users/{user-id}/memberOf/microsoft.graph.administrativeUnit Get the items of type microsoft.graph.administrativeUnit in the… #
GET /users/{user-id}/memberOf/microsoft.graph.administrativeUnit/$count Get the number of the resource #
GET /users/{user-id}/memberOf/microsoft.graph.directoryRole Get the items of type microsoft.graph.directoryRole in the… #
GET /users/{user-id}/memberOf/microsoft.graph.directoryRole/$count Get the number of the resource #
GET /users/{user-id}/memberOf/microsoft.graph.group List a user's direct memberships #
GET /users/{user-id}/memberOf/microsoft.graph.group/$count Get the number of the resource #
GET /users/{user-id}/ownedDevices Get ownedDevices from users #
GET /users/{user-id}/ownedDevices/{directoryObject-id} Get ownedDevices from users #
GET /users/{user-id}/ownedDevices/{directoryObject-id}/microsoft.graph.appRoleAssignment Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/ownedDevices/{directoryObject-id}/microsoft.graph.device Get the item of type microsoft.graph.directoryObject as microsoft.graph.device #
GET /users/{user-id}/ownedDevices/{directoryObject-id}/microsoft.graph.endpoint Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint #
GET /users/{user-id}/ownedDevices/$count Get the number of the resource #
GET /users/{user-id}/ownedDevices/microsoft.graph.appRoleAssignment Get the items of type microsoft.graph.appRoleAssignment in the… #
GET /users/{user-id}/ownedDevices/microsoft.graph.appRoleAssignment/$count Get the number of the resource #
GET /users/{user-id}/ownedDevices/microsoft.graph.device Get the items of type microsoft.graph.device in the… #
GET /users/{user-id}/ownedDevices/microsoft.graph.device/$count Get the number of the resource #
GET /users/{user-id}/ownedDevices/microsoft.graph.endpoint Get the items of type microsoft.graph.endpoint in the… #
GET /users/{user-id}/ownedDevices/microsoft.graph.endpoint/$count Get the number of the resource #
GET /users/{user-id}/ownedObjects List ownedObjects (for agentUser) #
GET /users/{user-id}/ownedObjects/{directoryObject-id} Get ownedObjects from users #
GET /users/{user-id}/ownedObjects/{directoryObject-id}/microsoft.graph.application Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/ownedObjects/{directoryObject-id}/microsoft.graph.group Get the item of type microsoft.graph.directoryObject as microsoft.graph.group #
GET /users/{user-id}/ownedObjects/{directoryObject-id}/microsoft.graph.servicePrincipal Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/ownedObjects/$count Get the number of the resource #
GET /users/{user-id}/ownedObjects/microsoft.graph.application Get the items of type microsoft.graph.application in the… #
GET /users/{user-id}/ownedObjects/microsoft.graph.application/$count Get the number of the resource #
GET /users/{user-id}/ownedObjects/microsoft.graph.group Get the items of type microsoft.graph.group in the… #
GET /users/{user-id}/ownedObjects/microsoft.graph.group/$count Get the number of the resource #
GET /users/{user-id}/ownedObjects/microsoft.graph.servicePrincipal Get the items of type microsoft.graph.servicePrincipal in the… #
GET /users/{user-id}/ownedObjects/microsoft.graph.servicePrincipal/$count Get the number of the resource #
GET /users/{user-id}/registeredDevices Get registeredDevices from users #
GET /users/{user-id}/registeredDevices/{directoryObject-id} Get registeredDevices from users #
GET /users/{user-id}/registeredDevices/{directoryObject-id}/microsoft.graph.appRoleAssignment Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/registeredDevices/{directoryObject-id}/microsoft.graph.device Get the item of type microsoft.graph.directoryObject as microsoft.graph.device #
GET /users/{user-id}/registeredDevices/{directoryObject-id}/microsoft.graph.endpoint Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint #
GET /users/{user-id}/registeredDevices/$count Get the number of the resource #
GET /users/{user-id}/registeredDevices/microsoft.graph.appRoleAssignment Get the items of type microsoft.graph.appRoleAssignment in the… #
GET /users/{user-id}/registeredDevices/microsoft.graph.appRoleAssignment/$count Get the number of the resource #
GET /users/{user-id}/registeredDevices/microsoft.graph.device Get the items of type microsoft.graph.device in the… #
GET /users/{user-id}/registeredDevices/microsoft.graph.device/$count Get the number of the resource #
GET /users/{user-id}/registeredDevices/microsoft.graph.endpoint Get the items of type microsoft.graph.endpoint in the… #
GET /users/{user-id}/registeredDevices/microsoft.graph.endpoint/$count Get the number of the resource #
GET /users/{user-id}/sponsorOf List sponsorOf #
GET /users/{user-id}/sponsorOf/{directoryObject-id} Get sponsorOf from users #
GET /users/{user-id}/sponsorOf/$count Get the number of the resource #
GET /users/{user-id}/sponsors List sponsors (for agentUser) #
DELETE /users/{user-id}/sponsors/{directoryObject-id}/$ref Remove sponsor (for agentUser) #
GET /users/{user-id}/sponsors/$count Get the number of the resource #
GET /users/{user-id}/sponsors/$ref List sponsors (for agentUser) #
POST /users/{user-id}/sponsors/$ref Add sponsors (for agentUser) #
DELETE /users/{user-id}/sponsors/$ref Remove sponsor (for agentUser) #
GET /users/{user-id}/transitiveMemberOf List transitiveMemberOf #
GET /users/{user-id}/transitiveMemberOf/{directoryObject-id} Get transitiveMemberOf from users #
GET /users/{user-id}/transitiveMemberOf/{directoryObject-id}/microsoft.graph.administrativeUnit Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/transitiveMemberOf/{directoryObject-id}/microsoft.graph.directoryRole Get the item of type microsoft.graph.directoryObject as… #
GET /users/{user-id}/transitiveMemberOf/{directoryObject-id}/microsoft.graph.group Get the item of type microsoft.graph.directoryObject as microsoft.graph.group #
GET /users/{user-id}/transitiveMemberOf/$count Get the number of the resource #
GET /users/{user-id}/transitiveMemberOf/microsoft.graph.administrativeUnit Get the items of type microsoft.graph.administrativeUnit in the… #
GET /users/{user-id}/transitiveMemberOf/microsoft.graph.administrativeUnit/$count Get the number of the resource #
GET /users/{user-id}/transitiveMemberOf/microsoft.graph.directoryRole Get the items of type microsoft.graph.directoryRole in the… #
GET /users/{user-id}/transitiveMemberOf/microsoft.graph.directoryRole/$count Get the number of the resource #
GET /users/{user-id}/transitiveMemberOf/microsoft.graph.group Get the items of type microsoft.graph.group in the… #
GET /users/{user-id}/transitiveMemberOf/microsoft.graph.group/$count Get the number of the resource #

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-users-directoryobject-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

azure-ad-users-directoryobject-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Users.directory Object API
  version: v1.0
servers:
- url: https://graph.microsoft.com/v1.0/
  description: Core
security:
- azureaadv2: []
tags:


# --- truncated at 32 KB (1002 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/azure-ad/refs/heads/main/openapi/azure-ad-users-directoryobject-api-openapi.yml