entraid-mcp-server
v0.3.1FastMCP server for Microsoft Graph / Entra ID, using Azure DefaultAzureCredential by default.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_users Search Users
Search for users by name or email.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (name or email) |
limit | integer | Maximum number of results to return (default: 10) |
get_user_by_id Get User By Id
Get a specific user by their ID.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier (ID) of the user. |
get_user_sign_ins Get User Sign Ins
Get sign-in logs for a specific user within the last N days. Requires AuditLog.Read.All permission.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier (ID) of the user. |
days | integer | The number of past days to retrieve logs for (default: 7). |
get_user_mfa_status Get User Mfa Status
Get MFA status and methods for a specific user.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user. |
get_group_mfa_status Get Group Mfa Status
Get MFA status for all members of a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the group. |
get_privileged_users Get Privileged Users
Get all users who are members of privileged directory roles.
get_conditional_access_policies Get Conditional Access Policies
Get all conditional access policies.
get_conditional_access_policy_by_id Get Conditional Access Policy By Id
Get a single conditional access policy by its ID with comprehensive details.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier (ID) of the conditional access policy. |
get_all_groups Get All Groups
Get all groups (up to the specified limit, with paging).
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_group_by_id Get Group By Id
Get a specific group by its ID.
| Parameter | Type | Description |
|---|---|---|
group_id * | string |
search_groups_by_name Search Groups By Name
Search for groups whose display name starts with the given text (case-insensitive, with paging).
| Parameter | Type | Description |
|---|---|---|
name * | string | |
limit | integer |
get_group_members Get Group Members
Get members of a group by group ID (up to the specified limit, with paging).
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
limit | integer |
get_user_groups Get User Groups
Get all groups (including transitive memberships) for a user by user ID.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
get_user_roles Get User Roles
Get all directory roles assigned to a user by user ID.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
get_all_managed_devices Get All Managed Devices
Get all managed devices (optionally filter by OS).
| Parameter | Type | Description |
|---|---|---|
filter_os |
get_managed_devices_by_user Get Managed Devices By User
Get all managed devices for a specific userId.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
get_managed_device_by_id Get Managed Device By Id
Get full details of a single Intune managed device (beta endpoint).
| Parameter | Type | Description |
|---|---|---|
device_id * | string |
get_detected_apps_for_device Get Detected Apps For Device
Get applications detected on a specific Intune managed device (beta endpoint).
| Parameter | Type | Description |
|---|---|---|
device_id * | string |
get_device_compliance_policy_states Get Device Compliance Policy States
Get compliance-policy states for a specific Intune managed device (beta endpoint).
| Parameter | Type | Description |
|---|---|---|
device_id * | string |
get_device_configuration_states Get Device Configuration States
Get configuration-profile states for a specific Intune managed device (beta endpoint).
| Parameter | Type | Description |
|---|---|---|
device_id * | string |
get_device_compliance_policies Get Device Compliance Policies
List all Intune device compliance policies (beta endpoint).
get_device_configurations Get Device Configurations
List all Intune device configuration profiles (beta endpoint).
get_device_categories Get Device Categories
List all Intune device categories (beta endpoint).
get_user_audit_logs Get User Audit Logs
Get all relevant directory audit logs for a user by user_id within the last N days (default 30).
| Parameter | Type | Description |
|---|---|---|
user_id * | string | |
days | integer |
list_user_password_methods List User Password Methods
List a user's password authentication methods.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
get_user_password_method Get User Password Method
Get a specific password authentication method for a user.
| Parameter | Type | Description |
|---|---|---|
method_id * | string | |
user_id * | string |
reset_user_password_direct Reset User Password Direct
Reset a user's password with a specific password value.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user |
generate_password | boolean | Whether to generate a random secure password (default: False) |
password | The new password to set for the user (if None and generate_password is True, a random password will be generated) | |
password_length | integer | Length of the generated password if generate_password is True (default: 12) |
require_change_on_next_sign_in | boolean | Whether to require the user to change password on next sign-in (default: True) |
suggest_permissions_for_task Suggest Permissions For Task
Suggest Microsoft Graph permissions for a specific task based on common mappings.
| Parameter | Type | Description |
|---|---|---|
task_category * | string | |
task_name * | string |
list_permission_categories_and_tasks List Permission Categories And Tasks
List all available categories and tasks for permission suggestions.
get_all_graph_permissions Get All Graph Permissions
Get all Microsoft Graph permissions directly from the Microsoft Graph API.
search_permissions Search Permissions
Search for Microsoft Graph permissions by keyword.
| Parameter | Type | Description |
|---|---|---|
search_term * | string | |
permission_type |
create_group Create Group
Create a new group in Microsoft Graph.
| Parameter | Type | Description |
|---|---|---|
group_data * | object | Dictionary containing group properties: - displayName: Display name of the group (required) - mailNickname: Mail alias for the group (required) - description: Description of the group (optional) - gro… |
update_group Update Group
Update an existing group in Microsoft Graph.
| Parameter | Type | Description |
|---|---|---|
group_data * | object | Dictionary containing group properties to update: - displayName: Display name of the group (optional) - mailNickname: Mail alias for the group (optional) - description: Description of the group (optio… |
group_id * | string | ID of the group to update |
delete_group Delete Group
Delete a group from Microsoft Graph.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | ID of the group to delete |
add_group_member Add Group Member
Add a member to a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | ID of the group |
member_id * | string | ID of the member (user, group, device, etc.) to add |
remove_group_member Remove Group Member
Remove a member from a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | ID of the group |
member_id * | string | ID of the member to remove |
add_group_owner Add Group Owner
Add an owner to a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | ID of the group |
owner_id * | string | ID of the user to add as owner |
remove_group_owner Remove Group Owner
Remove an owner from a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | ID of the group |
owner_id * | string | ID of the owner to remove |
list_applications List Applications
List all applications (app registrations) in the tenant, with paging.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_application_by_id Get Application By Id
Get a specific application by its object ID.
| Parameter | Type | Description |
|---|---|---|
app_id * | string |
create_application Create Application
Create a new application (app registration).
| Parameter | Type | Description |
|---|---|---|
app_data * | object |
update_application Update Application
Update an existing application (app registration).
| Parameter | Type | Description |
|---|---|---|
app_data * | object | |
app_id * | string |
delete_application Delete Application
Delete an application (app registration) by its object ID.
| Parameter | Type | Description |
|---|---|---|
app_id * | string |
list_service_principals List Service Principals
List all service principals in the tenant, with paging.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_service_principal_by_id Get Service Principal By Id
Get a specific service principal by its object ID.
| Parameter | Type | Description |
|---|---|---|
sp_id * | string |
create_service_principal Create Service Principal
Create a new service principal.
| Parameter | Type | Description |
|---|---|---|
sp_data * | object |
update_service_principal Update Service Principal
Update an existing service principal.
| Parameter | Type | Description |
|---|---|---|
sp_data * | object | |
sp_id * | string |
delete_service_principal Delete Service Principal
Delete a service principal by its object ID.
| Parameter | Type | Description |
|---|---|---|
sp_id * | string |