# Microsoft 365 Groups.directory Object API

**Canonical:** https://apis.io/apis/microsoft-365/microsoft-365-groups-directoryobject-api/  
**Provider:** Microsoft 365 — https://apis.io/providers/microsoft-365/  
**Base URL:** https://graph.microsoft.com/v1.0/  
**Documentation:** https://learn.microsoft.com/en-us/graph/overview

Microsoft 365 Groups.directory Object API is one of 103 APIs that [Microsoft 365](https://apis.io/providers/microsoft-365/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. The published artifact set on APIs.io includes an OpenAPI specification.

The groups.directoryObject API from Microsoft 365 — 113 operation(s) for groups.directoryobject.

## Operations (60 of 121)

| Method | Path | Summary |
|---|---|---|
| GET | `/groups/{group-id}/acceptedSenders` | List acceptedSenders |
| DELETE | `/groups/{group-id}/acceptedSenders/{directoryObject-id}/$ref` | Remove acceptedSender |
| GET | `/groups/{group-id}/acceptedSenders/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/acceptedSenders/$ref` | List acceptedSenders |
| POST | `/groups/{group-id}/acceptedSenders/$ref` | Create acceptedSender |
| DELETE | `/groups/{group-id}/acceptedSenders/$ref` | Remove acceptedSender |
| GET | `/groups/{group-id}/createdOnBehalfOf` | Get createdOnBehalfOf from groups |
| GET | `/groups/{group-id}/memberOf` | List group memberships |
| GET | `/groups/{group-id}/memberOf/{directoryObject-id}` | Get memberOf from groups |
| GET | `/groups/{group-id}/memberOf/{directoryObject-id}/microsoft.graph.administrativeUnit` | Get the item of type microsoft.graph.directoryObject as… |
| GET | `/groups/{group-id}/memberOf/{directoryObject-id}/microsoft.graph.group` | List group memberships |
| GET | `/groups/{group-id}/memberOf/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/memberOf/microsoft.graph.administrativeUnit` | Get the items of type microsoft.graph.administrativeUnit in the… |
| GET | `/groups/{group-id}/memberOf/microsoft.graph.administrativeUnit/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/memberOf/microsoft.graph.group` | List group memberships |
| GET | `/groups/{group-id}/memberOf/microsoft.graph.group/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/members` | List group members |
| DELETE | `/groups/{group-id}/members/{directoryObject-id}/$ref` | Remove member |
| GET | `/groups/{group-id}/members/{directoryObject-id}/microsoft.graph.application` | Get the item of type microsoft.graph.directoryObject as… |
| GET | `/groups/{group-id}/members/{directoryObject-id}/microsoft.graph.device` | Get the item of type microsoft.graph.directoryObject as microsoft.graph.device |
| GET | `/groups/{group-id}/members/{directoryObject-id}/microsoft.graph.group` | Get the item of type microsoft.graph.directoryObject as microsoft.graph.group |
| GET | `/groups/{group-id}/members/{directoryObject-id}/microsoft.graph.orgContact` | Get the item of type microsoft.graph.directoryObject as… |
| GET | `/groups/{group-id}/members/{directoryObject-id}/microsoft.graph.servicePrincipal` | Get the item of type microsoft.graph.directoryObject as… |
| GET | `/groups/{group-id}/members/{directoryObject-id}/microsoft.graph.user` | List group members |
| GET | `/groups/{group-id}/members/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/members/$ref` | List group members |
| POST | `/groups/{group-id}/members/$ref` | Add members |
| DELETE | `/groups/{group-id}/members/$ref` | Remove member |
| GET | `/groups/{group-id}/members/microsoft.graph.application` | Get the items of type microsoft.graph.application in the… |
| GET | `/groups/{group-id}/members/microsoft.graph.application/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/members/microsoft.graph.device` | Get the items of type microsoft.graph.device in the… |
| GET | `/groups/{group-id}/members/microsoft.graph.device/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/members/microsoft.graph.group` | Get the items of type microsoft.graph.group in the… |
| GET | `/groups/{group-id}/members/microsoft.graph.group/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/members/microsoft.graph.orgContact` | Get the items of type microsoft.graph.orgContact in the… |
| GET | `/groups/{group-id}/members/microsoft.graph.orgContact/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/members/microsoft.graph.servicePrincipal` | Get the items of type microsoft.graph.servicePrincipal in the… |
| GET | `/groups/{group-id}/members/microsoft.graph.servicePrincipal/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/members/microsoft.graph.user` | List group members |
| GET | `/groups/{group-id}/members/microsoft.graph.user/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/membersWithLicenseErrors` | Get membersWithLicenseErrors from groups |
| GET | `/groups/{group-id}/membersWithLicenseErrors/{directoryObject-id}` | Get membersWithLicenseErrors from groups |
| GET | `/groups/{group-id}/membersWithLicenseErrors/{directoryObject-id}/microsoft.graph.application` | Get the item of type microsoft.graph.directoryObject as… |
| GET | `/groups/{group-id}/membersWithLicenseErrors/{directoryObject-id}/microsoft.graph.device` | Get the item of type microsoft.graph.directoryObject as microsoft.graph.device |
| GET | `/groups/{group-id}/membersWithLicenseErrors/{directoryObject-id}/microsoft.graph.group` | Get the item of type microsoft.graph.directoryObject as microsoft.graph.group |
| GET | `/groups/{group-id}/membersWithLicenseErrors/{directoryObject-id}/microsoft.graph.orgContact` | Get the item of type microsoft.graph.directoryObject as… |
| GET | `/groups/{group-id}/membersWithLicenseErrors/{directoryObject-id}/microsoft.graph.servicePrincipal` | Get the item of type microsoft.graph.directoryObject as… |
| GET | `/groups/{group-id}/membersWithLicenseErrors/{directoryObject-id}/microsoft.graph.user` | Get the item of type microsoft.graph.directoryObject as microsoft.graph.user |
| GET | `/groups/{group-id}/membersWithLicenseErrors/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.application` | Get the items of type microsoft.graph.application in the… |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.application/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.device` | Get the items of type microsoft.graph.device in the… |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.device/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.group` | Get the items of type microsoft.graph.group in the… |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.group/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.orgContact` | Get the items of type microsoft.graph.orgContact in the… |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.orgContact/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.servicePrincipal` | Get the items of type microsoft.graph.servicePrincipal in the… |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.servicePrincipal/$count` | Get the number of the resource |
| GET | `/groups/{group-id}/membersWithLicenseErrors/microsoft.graph.user` | Get the items of type microsoft.graph.user in the… |

…and 61 more operations. They are listed in full on the page.

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/microsoft-365/openapi/microsoft-365-groups-directoryobject-api-openapi.yml

## Other Microsoft 365 APIs (12)

- [Microsoft Graph API](https://apis.io/apis/microsoft-365/graph-api/)
- [Microsoft Graph Beta API](https://apis.io/apis/microsoft-365/graph-beta-api/)
- [Microsoft 365 Calendar API](https://apis.io/apis/microsoft-365/microsoft-365-calendar-api/)
- [Microsoft 365 Files API](https://apis.io/apis/microsoft-365/microsoft-365-files-api/)
- [Microsoft 365 Groups API](https://apis.io/apis/microsoft-365/microsoft-365-groups-api/)
- [Microsoft 365 Mail API](https://apis.io/apis/microsoft-365/microsoft-365-mail-api/)
- [Microsoft 365 Me API](https://apis.io/apis/microsoft-365/microsoft-365-me-api/)
- [Microsoft 365 Teams API](https://apis.io/apis/microsoft-365/microsoft-365-teams-api/)
- [Microsoft 365 Users API](https://apis.io/apis/microsoft-365/microsoft-365-users-api/)
- [Microsoft MCP Server for Enterprise](https://apis.io/apis/microsoft-365/mcp-server-enterprise/)
- [Microsoft 365 App Catalogs.teams App API](https://apis.io/apis/microsoft-365/microsoft-365-appcatalogs-teamsapp-api/)
- [Microsoft 365 Chats.chat.Actions API](https://apis.io/apis/microsoft-365/microsoft-365-chats-chat-actions-api/)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/microsoft-365/microsoft-365-groups-directoryobject-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/microsoft-365/.
