Microsoft Outlook Contacts.directory Object API

The contacts.directoryObject API from Microsoft Outlook — 28 operation(s) for contacts.directoryobject.

GitHub OpenAPI

Operations 28

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 /contacts/{orgContact-id}/directReports List the direct reports of an organizational contact · List directReports #
Ask an LLM
“Who reports directly to a given organizational contact?”
“Can I see the direct reports of an org contact as a list of directory objects?”
Tell an agent
List the direct reports of organizational contact {orgContact}.
Show every direct report under org contact {orgContact}.
GET /contacts/{orgContact-id}/directReports/{directoryObject-id} Get one direct report of an organizational contact · Get directReports from contacts #
Ask an LLM
“How do I fetch a single direct report of an org contact by its object id?”
“What does one direct report entry look like for an organizational contact?”
Tell an agent
Get direct report {report} of organizational contact {orgContact}.
Show the single direct report entry {report} under org contact {orgContact}.
GET /contacts/{orgContact-id}/directReports/{directoryObject-id}/graph.orgContact Get a direct report as an organizational contact · Get the item of type microsoft.graph.directoryObject as… #
Ask an LLM
“Can I read a direct report of an org contact as an org contact?”
“What properties does a direct report of an org contact have when returned as an org contact?”
Tell an agent
Get direct report {report} of org contact {orgContact} as an organizational contact.
Return the direct report {report} under org contact {orgContact} typed as an org contact.
GET /contacts/{orgContact-id}/directReports/{directoryObject-id}/graph.user Get a direct report's user profile · Get the item of type microsoft.graph.directoryObject as microsoft.graph.user #
Ask an LLM
“Which user reports directly to a given contact?”
“Can I fetch the direct reports of an organization contact as a User object?”
Tell an agent
Get direct report {directoryObject} of contact {orgContact}.
Show the direct reports of org contact {orgContact}.
GET /contacts/{orgContact-id}/directReports/$count Count the direct reports of an organizational contact · Get the number of the resource #
Ask an LLM
“How many direct reports does an organizational contact have?”
“Can I count only the direct reports of an org contact without listing them?”
Tell an agent
Count the direct reports of organizational contact {orgContact}.
Tell me how many people report directly to org contact {orgContact}.
GET /contacts/{orgContact-id}/directReports/graph.orgContact List direct reports as organizational contacts · Get the items of type microsoft.graph.orgContact in the… #
Ask an LLM
“Can I list an org contact's direct reports as organizational contacts?”
“Which of a manager's direct reports are org contacts?”
Tell an agent
List the direct reports of org contact {orgContact} as organizational contacts.
Show every direct report under org contact {orgContact} as an org contact.
GET /contacts/{orgContact-id}/directReports/graph.orgContact/$count Count direct reports as organizational contacts · Get the number of the resource #
Ask an LLM
“How many of an org contact's direct reports are organizational contacts?”
“Can I count only the org contact entries among a manager's direct reports?”
Tell an agent
Count the direct reports of org contact {orgContact} that are organizational contacts.
Tell me how many org contact entries are direct reports of {orgContact}.
GET /contacts/{orgContact-id}/directReports/graph.user List direct reports as users · Get the items of type microsoft.graph.user in the… #
Ask an LLM
“Can I list an org contact's direct reports as users?”
“Which of a manager's direct reports are users?”
Tell an agent
List the direct reports of org contact {orgContact} as users.
Show every direct report under org contact {orgContact} as a user.
GET /contacts/{orgContact-id}/directReports/graph.user/$count Count direct reports as users · Get the number of the resource #
Ask an LLM
“How many of an org contact's direct reports are users?”
“Can I count only the user entries among a manager's direct reports?”
Tell an agent
Count the direct reports of org contact {orgContact} that are users.
Tell me how many user entries are direct reports of {orgContact}.
GET /contacts/{orgContact-id}/manager Get the manager of an organizational contact · Get manager #
Ask an LLM
“Who is the manager of a given organizational contact?”
“Can I look up the manager of an org contact by its object id?”
Tell an agent
Get the manager of organizational contact {orgContact}.
Show who manages org contact {orgContact}.
GET /contacts/{orgContact-id}/memberOf List the groups an organizational contact belongs to · List memberOf #
Ask an LLM
“Which groups is an organizational contact a member of?”
“Can I see all group memberships of an org contact?”
Tell an agent
List the groups that organizational contact {orgContact} belongs to.
Show every group membership of org contact {orgContact}.
GET /contacts/{orgContact-id}/memberOf/{directoryObject-id} Get one group membership of an organizational contact · Get memberOf from contacts #
Ask an LLM
“How do I fetch a single group membership of an org contact by its object id?”
“What does one group membership entry look like for an organizational contact?”
Tell an agent
Get group membership {membership} of organizational contact {orgContact}.
Show the single group membership entry {membership} of org contact {orgContact}.
GET /contacts/{orgContact-id}/memberOf/{directoryObject-id}/graph.administrativeUnit Get a group membership as an administrative unit · Get the item of type microsoft.graph.directoryObject as… #
Ask an LLM
“Can I read a group membership of an org contact as an administrative unit?”
“What properties does a group membership of an org contact have when returned as an administrative unit?”
Tell an agent
Get group membership {membership} of org contact {orgContact} as an administrative unit.
Return the group membership {membership} of org contact {orgContact} typed as an administrative unit.
GET /contacts/{orgContact-id}/memberOf/{directoryObject-id}/graph.group Get one group a contact belongs to · Get the item of type microsoft.graph.directoryObject as microsoft.graph.group #
Ask an LLM
“Can I fetch a specific group that an org contact is a direct member of, by its directory object id?”
“What are the details of one group in an org contact's memberships, typed as a group?”
Tell an agent
Get group {directoryObject} from the direct memberships of org contact {orgContact}.
Show the group properties {select} for membership {directoryObject} of org contact {orgContact}.
GET /contacts/{orgContact-id}/memberOf/$count Count the groups an organizational contact belongs to · Get the number of the resource #
Ask an LLM
“How many groups is an organizational contact a member of?”
“Can I count only the group memberships of an org contact without listing them?”
Tell an agent
Count the groups that organizational contact {orgContact} belongs to.
Tell me how many group memberships org contact {orgContact} has.
GET /contacts/{orgContact-id}/memberOf/graph.administrativeUnit List group memberships as administrative units · Get the items of type microsoft.graph.administrativeUnit in the… #
Ask an LLM
“Can I list an org contact's group memberships as administrative units?”
“Which of an org contact's group memberships are administrative units?”
Tell an agent
List the group memberships of org contact {orgContact} as administrative units.
Show every administrative unit membership of org contact {orgContact}.
GET /contacts/{orgContact-id}/memberOf/graph.administrativeUnit/$count Count group memberships as administrative units · Get the number of the resource #
Ask an LLM
“How many of an org contact's group memberships are administrative units?”
“Can I count only the administrative unit entries among an org contact's group memberships?”
Tell an agent
Count the group memberships of org contact {orgContact} that are administrative units.
Tell me how many administrative unit entries are group memberships of {orgContact}.
GET /contacts/{orgContact-id}/memberOf/graph.group List group memberships as groups · Get the items of type microsoft.graph.group in the… #
Ask an LLM
“Can I list an org contact's group memberships as groups?”
“Which of an org contact's group memberships are groups?”
Tell an agent
List the group memberships of org contact {orgContact} as groups.
Show every group membership of org contact {orgContact} as a group.
GET /contacts/{orgContact-id}/memberOf/graph.group/$count Count a contact's groups · Get the number of the resource #
Ask an LLM
“How many groups is a given contact a member of?”
“Can I count a contact's membership in groups without expanding them?”
Tell an agent
Count the groups org contact {orgContact} belongs to.
Give me the group membership count for contact {orgContact}.
GET /contacts/{orgContact-id}/transitiveMemberOf List all nested group memberships of an org contact · List transitiveMemberOf #
Ask an LLM
“Which groups is an organizational contact a member of, including nested memberships?”
“Can I get every group an org contact belongs to, no matter how deeply nested?”
Tell an agent
List the transitive group memberships of organizational contact {orgContact}.
Show all groups org contact {orgContact} is a nested member of.
GET /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id} Check whether a contact is a member of a group · Get transitiveMemberOf from contacts #
Ask an LLM
“Is a given contact a member of a specific group?”
“Can I check nested group membership for an organization contact?”
Tell an agent
Check whether contact {contact} is a member of directory object {object}.
Confirm that contact {contact} belongs to group {object}.
GET /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id}/graph.administrativeUnit Get an administrative unit a contact belongs to · Get the item of type microsoft.graph.directoryObject as… #
Ask an LLM
“Which administrative unit contains a given contact?”
“Can I read an administrative unit returned for a contact's membership?”
Tell an agent
Get administrative unit {object} that contact {contact} belongs to.
Show the administrative unit {object} for contact {contact}.
GET /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id}/graph.group Get a group a contact belongs to · Get the item of type microsoft.graph.directoryObject as microsoft.graph.group #
Ask an LLM
“Which group is a contact a member of?”
“Can I read the group object returned for a contact's membership?”
Tell an agent
Get group {object} that contact {contact} belongs to.
Show the group {object} for contact {contact}.
GET /contacts/{orgContact-id}/transitiveMemberOf/$count Count all transitive memberships of a contact · Get the number of the resource #
Ask an LLM
“How many directory objects does an org contact belong to through nested memberships?”
“Can I get the total transitive membership count of a contact, whatever the object type?”
Tell an agent
Count every transitive membership of org contact {orgContact}, of any object type.
Tell me the total nested membership count for contact {orgContact} matching filter {filter}.
GET /contacts/{orgContact-id}/transitiveMemberOf/graph.administrativeUnit List administrative units a contact belongs to · Get the items of type microsoft.graph.administrativeUnit in the… #
Ask an LLM
“Which administrative units contain a given contact?”
“Can I list all administrative units a contact belongs to?”
Tell an agent
List the administrative units that contact {contact} belongs to.
Show every administrative unit containing contact {contact}.
GET /contacts/{orgContact-id}/transitiveMemberOf/graph.administrativeUnit/$count Count administrative units a contact belongs to · Get the number of the resource #
Ask an LLM
“How many administrative units contain a contact?”
“Can I count a contact's administrative unit memberships?”
Tell an agent
Count the administrative units contact {contact} belongs to.
Tell me how many administrative units contain contact {contact}.
GET /contacts/{orgContact-id}/transitiveMemberOf/graph.group List groups a contact belongs to · Get the items of type microsoft.graph.group in the… #
Ask an LLM
“Which groups is a contact a member of?”
“Can I list all groups a contact belongs to, including nested ones?”
Tell an agent
List the groups contact {contact} belongs to.
Show every group containing contact {contact}.
GET /contacts/{orgContact-id}/transitiveMemberOf/graph.group/$count Count a contact's transitive group memberships · Get the number of the resource #
Ask an LLM
“How many groups does an org contact belong to once nested groups are included?”
“Can I count only the groups, not other object types, in a contact's transitive memberships?”
Tell an agent
Count only the groups in the transitive memberships of org contact {orgContact}.
Give me the nested group total for contact {orgContact} matching search {search}.

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0
📖
Authentication
https://learn.microsoft.com/en-us/graph/auth/
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-mail-concept-overview
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/calendar?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-calendar-concept-overview
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/resources/calendar-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contact?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-contacts-concept-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/todo-overview?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/todo-concept-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/people-insights-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/outlook-change-notifications-overview
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/change-notifications-delivery-webhooks
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/resources/change-notifications-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/manage-focused-inbox?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/messagerule?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-organize-messages
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/outlookcategory?view=graph-rest-1.0

Specifications

Code Examples

Schemas & Data

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-outlook:microsoft-outlook-contacts-directoryobject-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

microsoft-outlook-contacts-directoryobject-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OData Service for namespace microsoft.graph…
  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 (1130 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-outlook/openapi/microsoft-outlook-contacts-directoryobject-api-openapi.yml