entraid-mcp-server

v0.3.1
entraid-mcp-server Checked 1 day ago Published 1 month ago

FastMCP 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.

ParameterTypeDescription
query *stringSearch query (name or email)
limitintegerMaximum number of results to return (default: 10)

get_user_by_id Get User By Id

Get a specific user by their ID.

ParameterTypeDescription
user_id *stringThe 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.

ParameterTypeDescription
user_id *stringThe unique identifier (ID) of the user.
daysintegerThe 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.

ParameterTypeDescription
user_id *stringThe unique identifier of the user.

get_group_mfa_status Get Group Mfa Status

Get MFA status for all members of a group.

ParameterTypeDescription
group_id *stringThe 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.

ParameterTypeDescription
policy_id *stringThe unique identifier (ID) of the conditional access policy.

get_all_groups Get All Groups

Get all groups (up to the specified limit, with paging).

ParameterTypeDescription
limitinteger

get_group_by_id Get Group By Id

Get a specific group by its ID.

ParameterTypeDescription
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).

ParameterTypeDescription
name *string
limitinteger

get_group_members Get Group Members

Get members of a group by group ID (up to the specified limit, with paging).

ParameterTypeDescription
group_id *string
limitinteger

get_user_groups Get User Groups

Get all groups (including transitive memberships) for a user by user ID.

ParameterTypeDescription
user_id *string

get_user_roles Get User Roles

Get all directory roles assigned to a user by user ID.

ParameterTypeDescription
user_id *string

get_all_managed_devices Get All Managed Devices

Get all managed devices (optionally filter by OS).

ParameterTypeDescription
filter_os

get_managed_devices_by_user Get Managed Devices By User

Get all managed devices for a specific userId.

ParameterTypeDescription
user_id *string

get_managed_device_by_id Get Managed Device By Id

Get full details of a single Intune managed device (beta endpoint).

ParameterTypeDescription
device_id *string

get_detected_apps_for_device Get Detected Apps For Device

Get applications detected on a specific Intune managed device (beta endpoint).

ParameterTypeDescription
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).

ParameterTypeDescription
device_id *string

get_device_configuration_states Get Device Configuration States

Get configuration-profile states for a specific Intune managed device (beta endpoint).

ParameterTypeDescription
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).

ParameterTypeDescription
user_id *string
daysinteger

list_user_password_methods List User Password Methods

List a user's password authentication methods.

ParameterTypeDescription
user_id *string

get_user_password_method Get User Password Method

Get a specific password authentication method for a user.

ParameterTypeDescription
method_id *string
user_id *string

reset_user_password_direct Reset User Password Direct

Reset a user's password with a specific password value.

ParameterTypeDescription
user_id *stringThe unique identifier of the user
generate_passwordbooleanWhether to generate a random secure password (default: False)
passwordThe new password to set for the user (if None and generate_password is True, a random password will be generated)
password_lengthintegerLength of the generated password if generate_password is True (default: 12)
require_change_on_next_sign_inbooleanWhether 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.

ParameterTypeDescription
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.

ParameterTypeDescription
search_term *string
permission_type

create_group Create Group

Create a new group in Microsoft Graph.

ParameterTypeDescription
group_data *objectDictionary 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.

ParameterTypeDescription
group_data *objectDictionary 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 *stringID of the group to update

delete_group Delete Group

Delete a group from Microsoft Graph.

ParameterTypeDescription
group_id *stringID of the group to delete

add_group_member Add Group Member

Add a member to a group.

ParameterTypeDescription
group_id *stringID of the group
member_id *stringID of the member (user, group, device, etc.) to add

remove_group_member Remove Group Member

Remove a member from a group.

ParameterTypeDescription
group_id *stringID of the group
member_id *stringID of the member to remove

add_group_owner Add Group Owner

Add an owner to a group.

ParameterTypeDescription
group_id *stringID of the group
owner_id *stringID of the user to add as owner

remove_group_owner Remove Group Owner

Remove an owner from a group.

ParameterTypeDescription
group_id *stringID of the group
owner_id *stringID of the owner to remove

list_applications List Applications

List all applications (app registrations) in the tenant, with paging.

ParameterTypeDescription
limitinteger

get_application_by_id Get Application By Id

Get a specific application by its object ID.

ParameterTypeDescription
app_id *string

create_application Create Application

Create a new application (app registration).

ParameterTypeDescription
app_data *object

update_application Update Application

Update an existing application (app registration).

ParameterTypeDescription
app_data *object
app_id *string

delete_application Delete Application

Delete an application (app registration) by its object ID.

ParameterTypeDescription
app_id *string

list_service_principals List Service Principals

List all service principals in the tenant, with paging.

ParameterTypeDescription
limitinteger

get_service_principal_by_id Get Service Principal By Id

Get a specific service principal by its object ID.

ParameterTypeDescription
sp_id *string

create_service_principal Create Service Principal

Create a new service principal.

ParameterTypeDescription
sp_data *object

update_service_principal Update Service Principal

Update an existing service principal.

ParameterTypeDescription
sp_data *object
sp_id *string

delete_service_principal Delete Service Principal

Delete a service principal by its object ID.

ParameterTypeDescription
sp_id *string