Microsoft Entra ID (formerly Azure AD) Groups group API

The Groups group API from Microsoft Entra ID (formerly Azure AD) — 4 operation(s) for groups group.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 9

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 /groups List groups in the organization · List groups #
Ask an LLM
“How do I list all the groups in my Entra ID tenant?”
“Can I search or filter groups by display name when listing them?”
Tell an agent
List all groups in the organization.
Find groups whose display name matches {search}.
POST /groups Create a group · Create group #
Ask an LLM
“How do I create a new security group in Entra ID?”
“What do I need to set to create a Microsoft 365 group with a mail nickname?”
Tell an agent
Create a security group called {displayName} with mail nickname {mailNickname}.
Create a new group {displayName} described as {description}.
GET /groups/{group-id} Get a group by id · Get group #
Ask an LLM
“How do I get the properties of a group when I know its object id?”
“Which group properties are returned by default, and how do I ask for others?”
Tell an agent
Get group {group}.
Show the display name, mail and visibility of group id {group}.
PATCH /groups/{group-id} Update a group by id · Upsert group #
Ask an LLM
“How do I rename a group or change its description using its object id?”
“Can I change a group's visibility after it's been created?”
Tell an agent
Rename group {group} to {displayName}.
Set the visibility of group id {group} to {visibility}.
DELETE /groups/{group-id} Delete a group by id · Delete group #
Ask an LLM
“Can a deleted group be restored, and for how long?”
“How do I delete a group using its object id?”
Tell an agent destructive · confirm first
Delete group {group}.
Remove the group with object id {group} from the tenant.
GET /groups(uniqueName='{uniqueName}') Get a group by its unique name · Get group #
Ask an LLM
“Can I look up a group by its uniqueName instead of its object id?”
“What does the group with a given unique name look like?”
Tell an agent
Get the group with unique name {uniqueName}.
Look up group by unique name {uniqueName} and show its properties.
PATCH /groups(uniqueName='{uniqueName}') Upsert a group by its unique name · Upsert group #
Ask an LLM
“How do I create a group only if one with this unique name doesn't already exist?”
“Can I upsert a group keyed on uniqueName so reruns don't create duplicates?”
Tell an agent
Upsert the group with unique name {uniqueName} and display name {displayName}.
Create or update group {uniqueName} with description {description}.
DELETE /groups(uniqueName='{uniqueName}') Delete a group by its unique name · Delete group #
Ask an LLM
“Is it possible to delete a group addressing it by uniqueName rather than id?”
“What happens to a distribution group when I delete it by unique name?”
Tell an agent destructive · confirm first
Delete the group with unique name {uniqueName}.
Remove group {uniqueName}, identified by its unique name.
GET /groups/$count Count groups · Get the number of the resource #
Ask an LLM
“How many groups are there in my organization?”
“Do I need the ConsistencyLevel header to get a group count?”
Tell an agent
Count all groups in the tenant.
Give me the total number of groups.

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-directory-object-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-user-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-app-role-assignment-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-group-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-device-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-scoped-role-membership-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-post-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-conversation-thread-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-conversation-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-attachment-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-recipient-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-extension-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-resource-specific-permission-grant-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-assigned-license-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-content-type-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-item-activity-stat-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-group-lifecycle-policy-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-group-setting-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-on-premises-sync-behavior-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-profile-photo-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-o-auth2-permission-grant-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-agreement-acceptance-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-authentication-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-temporary-access-pass-authentication-method-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-long-running-operation-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-fido2-authentication-method-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-phone-authentication-method-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-trending-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-shared-insight-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-used-insight-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-item-insights-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-license-details-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-mailbox-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-locale-info-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-outlook-category-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-outlook-user-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-todo-task-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-checklist-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-todo-task-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-attachment-base-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-attachment-session-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-user-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-windows-setting-instance-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-work-plan-occurrence-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-windows-setting-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-work-hours-and-locations-setting-schema.json
📊
JSONSchema
https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-work-plan-recurrence-schema.json

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/azure-ad:azure-ad-groups-group-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

azure-ad-groups-group-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Groups.group API
  version: v1.0
servers:
- url: https://graph.microsoft.com/v1.0/
  description: Core
security:
- azureaadv2: []
tags:


# --- truncated at 32 KB (739 KB total) ---
# Full source: https://artifacts.apis.io/azure-ad/openapi/azure-ad-groups-group-api-openapi.yml