Skip to main content
Glama
DynamicEndpoints

BOD-25-01-CSA-Microsoft-Policy-MCP

configure_global_admin_approval

Configure approval requirements for Global Administrator role activation to enforce security controls and prevent unauthorized privileged access in Microsoft 365 environments.

Instructions

Configure approval requirement for Global Administrator activation (MS.AAD.7.6v1)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that implements the tool logic. It patches the roleManagementPolicies endpoint in Microsoft Graph API to enable approval requirements for Global Administrator activation.
    private async configureGlobalAdminApproval() { try { // Configure approval settings using Microsoft Graph API await this.graphClient .api('/policies/roleManagementPolicies') .patch({ requireApprovalForGlobalAdmin: true, approvalWorkflowEnabled: true, }); return { content: [ { type: 'text', text: 'Global Administrator approval requirement configured successfully', }, ], }; } catch (error: unknown) { throw new McpError( ErrorCode.InternalError, `Failed to configure Global Admin approval: ${error instanceof Error ? error.message : 'Unknown error'}` ); } }
  • The input schema for the tool, which requires no parameters (empty object).
    inputSchema: { type: 'object', properties: {}, },
  • Tool registration in the list of tools provided by the MCP server, including name, description, and schema.
    { name: 'configure_global_admin_approval', description: 'Configure approval requirement for Global Administrator activation (MS.AAD.7.6v1)', inputSchema: { type: 'object', properties: {}, }, },
  • Dispatcher case in the CallToolRequest handler that routes calls to the configureGlobalAdminApproval method.
    case 'configure_global_admin_approval': return await this.configureGlobalAdminApproval();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DynamicEndpoints/Automated-BOD-25-01-CISA-Microsoft-Policies-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server