Microsoft Graph me.directoryObject API

The me.directoryObject API from Microsoft Graph — 80 operation(s) for me.directoryobject.

Operations 82

GET /me/createdObjects Microsoft Graph List createdObjects #
GET /me/createdObjects/{directoryObject-id} Microsoft Graph Get createdObjects from me #
GET /me/createdObjects/{directoryObject-id}/graph.servicePrincipal Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal #
GET /me/createdObjects/$count Microsoft Graph Get the number of the resource #
GET /me/createdObjects/graph.servicePrincipal Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection #
GET /me/createdObjects/graph.servicePrincipal/$count Microsoft Graph Get the number of the resource #
GET /me/directReports Microsoft Graph List directReports #
GET /me/directReports/{directoryObject-id} Microsoft Graph Get directReports from me #
GET /me/directReports/{directoryObject-id}/graph.orgContact Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact #
GET /me/directReports/{directoryObject-id}/graph.user Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user #
GET /me/directReports/$count Microsoft Graph Get the number of the resource #
GET /me/directReports/graph.orgContact Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection #
GET /me/directReports/graph.orgContact/$count Microsoft Graph Get the number of the resource #
GET /me/directReports/graph.user Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection #
GET /me/directReports/graph.user/$count Microsoft Graph Get the number of the resource #
GET /me/manager Microsoft Graph Get manager from me #
GET /me/manager/$ref Microsoft Graph Get ref of manager from me #
PUT /me/manager/$ref Microsoft Graph Update the ref of navigation property manager in me #
DELETE /me/manager/$ref Microsoft Graph Delete ref of navigation property manager for me #
GET /me/memberOf Microsoft Graph Get memberOf from me #
GET /me/memberOf/{directoryObject-id} Microsoft Graph Get memberOf from me #
GET /me/memberOf/{directoryObject-id}/graph.administrativeUnit Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit #
GET /me/memberOf/{directoryObject-id}/graph.directoryRole Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole #
GET /me/memberOf/{directoryObject-id}/graph.group Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group #
GET /me/memberOf/$count Microsoft Graph Get the number of the resource #
GET /me/memberOf/graph.administrativeUnit Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection #
GET /me/memberOf/graph.administrativeUnit/$count Microsoft Graph Get the number of the resource #
GET /me/memberOf/graph.directoryRole Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection #
GET /me/memberOf/graph.directoryRole/$count Microsoft Graph Get the number of the resource #
GET /me/memberOf/graph.group Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection #
GET /me/memberOf/graph.group/$count Microsoft Graph Get the number of the resource #
GET /me/ownedDevices Microsoft Graph List ownedDevices #
GET /me/ownedDevices/{directoryObject-id} Microsoft Graph Get ownedDevices from me #
GET /me/ownedDevices/{directoryObject-id}/graph.appRoleAssignment Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment #
GET /me/ownedDevices/{directoryObject-id}/graph.device Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.device #
GET /me/ownedDevices/{directoryObject-id}/graph.endpoint Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint #
GET /me/ownedDevices/$count Microsoft Graph Get the number of the resource #
GET /me/ownedDevices/graph.appRoleAssignment Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection #
GET /me/ownedDevices/graph.appRoleAssignment/$count Microsoft Graph Get the number of the resource #
GET /me/ownedDevices/graph.device Microsoft Graph Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection #
GET /me/ownedDevices/graph.device/$count Microsoft Graph Get the number of the resource #
GET /me/ownedDevices/graph.endpoint Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection #
GET /me/ownedDevices/graph.endpoint/$count Microsoft Graph Get the number of the resource #
GET /me/ownedObjects Microsoft Graph List ownedObjects #
GET /me/ownedObjects/{directoryObject-id} Microsoft Graph Get ownedObjects from me #
GET /me/ownedObjects/{directoryObject-id}/graph.application Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.application #
GET /me/ownedObjects/{directoryObject-id}/graph.group Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group #
GET /me/ownedObjects/{directoryObject-id}/graph.servicePrincipal Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal #
GET /me/ownedObjects/$count Microsoft Graph Get the number of the resource #
GET /me/ownedObjects/graph.application Microsoft Graph Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection #
GET /me/ownedObjects/graph.application/$count Microsoft Graph Get the number of the resource #
GET /me/ownedObjects/graph.group Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection #
GET /me/ownedObjects/graph.group/$count Microsoft Graph Get the number of the resource #
GET /me/ownedObjects/graph.servicePrincipal Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection #
GET /me/ownedObjects/graph.servicePrincipal/$count Microsoft Graph Get the number of the resource #
GET /me/registeredDevices Microsoft Graph List registeredDevices #
GET /me/registeredDevices/{directoryObject-id} Microsoft Graph Get registeredDevices from me #
GET /me/registeredDevices/{directoryObject-id}/graph.appRoleAssignment Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment #
GET /me/registeredDevices/{directoryObject-id}/graph.device Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.device #
GET /me/registeredDevices/{directoryObject-id}/graph.endpoint Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint #
GET /me/registeredDevices/$count Microsoft Graph Get the number of the resource #
GET /me/registeredDevices/graph.appRoleAssignment Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection #
GET /me/registeredDevices/graph.appRoleAssignment/$count Microsoft Graph Get the number of the resource #
GET /me/registeredDevices/graph.device Microsoft Graph Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection #
GET /me/registeredDevices/graph.device/$count Microsoft Graph Get the number of the resource #
GET /me/registeredDevices/graph.endpoint Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection #
GET /me/registeredDevices/graph.endpoint/$count Microsoft Graph Get the number of the resource #
GET /me/sponsors Microsoft Graph Get sponsors from me #
GET /me/sponsors/{directoryObject-id} Microsoft Graph Get sponsors from me #
GET /me/sponsors/$count Microsoft Graph Get the number of the resource #
GET /me/transitiveMemberOf Microsoft Graph Get transitiveMemberOf from me #
GET /me/transitiveMemberOf/{directoryObject-id} Microsoft Graph Get transitiveMemberOf from me #
GET /me/transitiveMemberOf/{directoryObject-id}/graph.administrativeUnit Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit #
GET /me/transitiveMemberOf/{directoryObject-id}/graph.directoryRole Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole #
GET /me/transitiveMemberOf/{directoryObject-id}/graph.group Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group #
GET /me/transitiveMemberOf/$count Microsoft Graph Get the number of the resource #
GET /me/transitiveMemberOf/graph.administrativeUnit Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection #
GET /me/transitiveMemberOf/graph.administrativeUnit/$count Microsoft Graph Get the number of the resource #
GET /me/transitiveMemberOf/graph.directoryRole Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection #
GET /me/transitiveMemberOf/graph.directoryRole/$count Microsoft Graph Get the number of the resource #
GET /me/transitiveMemberOf/graph.group Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection #
GET /me/transitiveMemberOf/graph.group/$count Microsoft Graph Get the number of the resource #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/admin?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreementacceptance?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamsapp?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/application?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/applicationtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodspolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/certificatebasedauthconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/chat?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/communications-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/complianceapioverview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-externalconnection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contact?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contract?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/copilot-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/datapolicyoperation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-apps-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-device-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/device?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domaindnsrecord?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domain?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/education-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/employee-experience-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-external?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/filter-query-parameter
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/grouplifecyclepolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsetting?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsettingtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/identitycontainer?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/informationprotection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/invitation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/users?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/oauth2permissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/organization?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/resourcespecificpermissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/place?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/planner-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/print?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/privacy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/report?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/rolemanagement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/schemaextension?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/scopedrolemembership?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/serviceprincipal?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/shares?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/solutions-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/filestorage?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscribedsku?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamwork?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/tenantrelationship?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/auth/auth-concepts
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/workplace?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sitepage?view=graph-rest-1.0

Specifications

Other Resources

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-graph-me-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

microsoft-graph-me-directoryobject-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Graph Admin Admin.admin Me.directory Object API
  description: 'Microsoft Graph API for managing administrative resources in Microsoft Entra ID.

    This API enables administrators to manage Microsoft Edge browser settings, Internet Explorer mode configurations,

    site lists, shared browser sites, Microsoft 365 Apps installation options, people insights, service announcements,

    SharePoint settings, Copilot administration, directory administrative units, and admin consent policies.'
  version: 1.0.0
  contact:
    name: Microsoft Graph API Support
    url: https://developer.microsoft.com/graph
servers:
- url: https://graph.microsoft.com/v1.0
  description: Microsoft Graph API v1.0 endpoint
tags:
- name: me.directoryObject
paths:
  /me/createdObjects:
    description: Provides operations to manage the createdObjects property of the microsoft.graph.user entity.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph List createdObjects
      description: Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/user-list-createdobjects?view=graph-rest-1.0
      operationId: me.ListCreatedObjects
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.directoryObjectCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
  /me/createdObjects/{directoryObject-id}:
    description: Provides operations to manage the createdObjects property of the microsoft.graph.user entity.
    parameters:
    - name: directoryObject-id
      in: path
      description: The unique identifier of directoryObject
      required: true
      schema:
        type: string
      x-ms-docs-key-type: directoryObject
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get createdObjects from me
      description: Directory objects that the user created. Read-only. Nullable.
      operationId: me.GetCreatedObjects
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.directoryObject'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/createdObjects/{directoryObject-id}/graph.servicePrincipal:
    description: Casts the previous resource to servicePrincipal.
    parameters:
    - name: directoryObject-id
      in: path
      description: The unique identifier of directoryObject
      required: true
      schema:
        type: string
      x-ms-docs-key-type: directoryObject
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
      operationId: me.GetCreatedObjects.AsServicePrincipal
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Entity result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.servicePrincipal'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/createdObjects/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the number of the resource
      operationId: me.createdObjects.GetCount-7c38
      parameters:
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/createdObjects/graph.servicePrincipal:
    description: Casts the previous resource to servicePrincipal.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection
      operationId: me.ListCreatedObjects.AsServicePrincipal
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.servicePrincipalCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
  /me/createdObjects/graph.servicePrincipal/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the number of the resource
      operationId: me.CreatedObjects.GetCount.AsServicePrincipal-e8b0
      parameters:
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/directReports:
    description: Provides operations to manage the directReports property of the microsoft.graph.user entity.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph List directReports
      description: Get a user's direct reports. Returns the users and contacts for whom this user is assigned as manager. This API doesn't support getting the direct report chain beyond the specified user's direct reports.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/user-list-directreports?view=graph-rest-1.0
      operationId: me.ListDirectReports
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.directoryObjectCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
  /me/directReports/{directoryObject-id}:
    description: Provides operations to manage the directReports property of the microsoft.graph.user entity.
    parameters:
    - name: directoryObject-id
      in: path
      description: The unique identifier of directoryObject
      required: true
      schema:
        type: string
      x-ms-docs-key-type: directoryObject
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get directReports from me
      description: The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand.
      operationId: me.GetDirectReports
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.directoryObject'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/directReports/{directoryObject-id}/graph.orgContact:
    description: Casts the previous resource to orgContact.
    parameters:
    - name: directoryObject-id
      in: path
      description: The unique identifier of directoryObject
      required: true
      schema:
        type: string
      x-ms-docs-key-type: directoryObject
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
      operationId: me.GetDirectReports.AsOrgContact
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Entity result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.orgContact'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/directReports/{directoryObject-id}/graph.user:
    description: Casts the previous resource to user.
    parameters:
    - name: directoryObject-id
      in: path
      description: The unique identifier of directoryObject
      required: true
      schema:
        type: string
      x-ms-docs-key-type: directoryObject
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
      operationId: me.GetDirectReports.AsUser
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Entity result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.user'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/directReports/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the number of the resource
      operationId: me.directReports.GetCount-8eed
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/directReports/graph.orgContact:
    description: Casts the previous resource to orgContact.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection
      operationId: me.ListDirectReports.AsOrgContact
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.orgContactCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
  /me/directReports/graph.orgContact/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the number of the resource
      operationId: me.DirectReports.GetCount.AsOrgContact-844e
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/directReports/graph.user:
    description: Casts the previous resource to user.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
      operationId: me.ListDirectReports.AsUser
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.userCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
  /me/directReports/graph.user/$count:
    description: Provides operations to count the resources in the collection.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the number of the resource
      operationId: me.DirectReports.GetCount.AsUser-dd64
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /me/manager:
    description: Provides operations to manage the manager property of the microsoft.graph.user entity.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get manager from me
      description: The user or contact that is this user's manager. Read-only. Supports $expand.
      operationId: me.GetManager
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.directoryObject'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/manager/$ref:
    description: Provides operations to manage the collection of user entities.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get ref of manager from me
      description: The user or contact that is this user's manager. Read-only. Supports $expand.
      operationId: me.GetRefManager
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      responses:
        2XX:
          description: Retrieved navigation property link
          content:
            application/json:
              schema:
                type: string
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    put:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Update the ref of navigation property manager in me
      operationId: me.UpdateRefManager
      requestBody:
        $ref: '#/components/requestBodies/refPutBody'
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Delete ref of navigation property manager for me
      operationId: me.DeleteRefManager
      parameters:
      - name: If-Match
        in: header
        description: ETag
        schema:
          type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/memberOf:
    description: Provides operations to manage the memberOf property of the microsoft.graph.user entity.
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get memberOf from me
      description: The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand.
      operationId: me.ListMemberOf
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.directoryObjectCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
  /me/memberOf/{directoryObject-id}:
    description: Provides operations to manage the memberOf property of the microsoft.graph.user entity.
    parameters:
    - name: directoryObject-id
      in: path
      description: The unique identifier of directoryObject
      required: true
      schema:
        type: string
      x-ms-docs-key-type: directoryObject
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get memberOf from me
      description: The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand.
      operationId: me.GetMemberOf
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.directoryObject'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /me/memberOf/{directoryObject-id}/graph.administrativeUnit:
    description: Casts the previous resource to administrativeUnit.
    parameters:
    - name: directoryObject-id
      in: path
      description: The unique identifier of directoryObject
      required: true
      schema:
        type: string
      x-ms-docs-key-type: directoryObject
    get:
      tags:
      - me.directoryObject
      summary: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
      operationId: me.GetMemberOf.AsAdministrativeUnit
      parameters:
      - name: ConsistencyLevel
        in: header
        description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        schema:
          type: string
        examples:
          example-1:
            description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'.
            value: eventual
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
      

# --- truncated at 32 KB (1271 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/openapi/microsoft-graph-me-directoryobject-api-openapi.yml