get_group_members
Retrieve all members of an Active Directory group with user details. Expand nested groups recursively to view all transitive members across on-prem AD and Azure AD environments.
Instructions
List all members of a group with user details. Supports recursive expansion of nested groups for on-prem AD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | Group name (CN/sAMAccountName) for on-prem AD, or display name/object ID for Azure AD | |
| recursive | No | Recursively expand nested groups to return all transitive members (on-prem AD only) | |
| max_results | No | Maximum number of members to return | |
| source | No | Data source: "ad" for on-prem LDAP, "azure" for Azure AD/Entra ID (available: ad, azure) | ad |