/entra-id-admin:entra-group-update <group-id-or-name> [--name <new-name>] [--description <text>] [--dynamic-rule <rule>] [--visibility Public|Private] [--add-owner <upn>] [--remove-owner <upn>]from entra-id-admin
Updates Entra ID group properties including display name, description, visibility, dynamic membership rule, and owner management via Microsoft Graph API.
Ships in entra-id-admin. Installing the plugin adds it to Claude Code.
Update properties of an existing group. Supports renaming, description changes, dynamic rule modifications, visibility, and owner management.
Accept group display name or object ID:
GET /groups?$filter=displayName eq '<name>'&$select=id,displayName,groupTypes,membershipRule,visibilityInclude only fields specified in arguments:
{
"displayName": "<--name if provided>",
"description": "<--description if provided>",
"membershipRule": "<--dynamic-rule if provided>",
"membershipRuleProcessingState": "On",
"visibility": "<--visibility if provided>"
}
PATCH https://graph.microsoft.com/v1.0/groups/{groupId}
Note: Cannot change groupTypes, mailEnabled, securityEnabled, or isAssignableToRole after creation.
Add owner:
POST /groups/{groupId}/owners/$ref
{ "@odata.id": "https://graph.microsoft.com/v1.0/users/{ownerId}" }
Remove owner (ensure at least 1 owner remains):
DELETE /groups/{groupId}/owners/{ownerId}/$ref
Validate owner count before removing — warn if this would leave 0 owners.
Group updated
─────────────────────────────────────────────────────────────────
Group: Project Phoenix Team (<group-id>)
─────────────────────────────────────────────────────────────────
Changed:
Description: (none) → "Cross-functional product team"
Visibility: Public → Private
─────────────────────────────────────────────────────────────────
# Delete a group (no direct update command for most properties)
az ad group delete --group "SG-DevTeam-Prod"
# Add / remove owners
az ad group owner add --group "SG-DevTeam-Prod" --owner-object-id <owner-id>
For updating display name, description, or visibility, use az rest:
az rest --method PATCH \
--url "https://graph.microsoft.com/v1.0/groups/<group-id>" \
--body '{"displayName":"New Name","description":"Updated description"}'
| Code | Fix |
|---|---|
404 | Group not found |
400 Property is read-only | Cannot change immutable group properties |
403 | Add Group.ReadWrite.All scope |
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
29 commands in this plugin
/entra-access-package-createCreate an entitlement management access package with resources, approval policy, and optional recurring access review/entra-access-review-createCreate a recurring access review for group membership, directory roles, or access package assignments/entra-admin-setupConfigure authentication and verify permissions for Entra ID administration/entra-admin-unit-addAdd a member (user/group) to an admin unit, or assign a scoped admin role within an admin unit/entra-admin-unit-createCreate an administrative unit for scoped delegation in Entra ID/entra-auth-methods-getList registered authentication methods for a user — MFA methods, FIDO2 keys, TAPs, and registration statusnpx claudepluginhub thelobbi/claude-m --plugin entra-id-adminOther plugins' commands for the same job