What can you do with it?
The/microsoft-active-directory
command enables you to manage users, groups, and organizational resources in your Microsoft Active Directory through the Microsoft Graph API. Perfect for user administration, group management, directory role management, and organizational structure management.
How to use it?
Basic Command Structure
Parameters
Required:user_id
- User ID for specific user operationsgroup_id
- Group ID for specific group operations
filter
- Filter query for searching users or groupsdisplayName
- Display name for user or group operationsuserPrincipalName
- User principal name for user operations
Tools
Get All Users
Retrieve a list of all users in your directory Parameters:- None required
Get All Groups
Retrieve a list of all groups in your directory Parameters:- None required
Search User by Email
Find a specific user by their email address Parameters:userPrincipalName
(required) - Email address to search for
Search Group by Name
Find a specific group by its display name Parameters:displayName
(required) - Group name to search for
Get Group Members
Retrieve members of a specific group Parameters:group_id
(required) - ID of the group to get members for