Skip to main content
Glama
DynamicEndpoints

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

configure_admin_consent

Configure admin consent workflow for applications to manage access permissions according to Microsoft 365 security policies.

Instructions

Configure admin consent workflow for applications (MS.AAD.5.3v1)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the tool logic by patching the admin consent request policy via Microsoft Graph API to enable the workflow.
    private async configureAdminConsent() { try { // Configure admin consent workflow using Microsoft Graph API await this.graphClient .api('/policies/adminConsentRequestPolicy') .patch({ isEnabled: true, notifyReviewers: true, remindersEnabled: true, requestDurationInDays: 7, }); return { content: [ { type: 'text', text: 'Admin consent workflow configured successfully', }, ], }; } catch (error: unknown) { throw new McpError( ErrorCode.InternalError, `Failed to configure admin consent: ${error instanceof Error ? error.message : 'Unknown error'}` ); } }
  • Registers the tool in the list of tools provided to the MCP server.
    { name: 'configure_admin_consent', description: 'Configure admin consent workflow for applications (MS.AAD.5.3v1)', inputSchema: { type: 'object', properties: {}, }, },
  • Defines the input schema for the tool, which expects no parameters (empty object).
    inputSchema: { type: 'object', properties: {}, },
  • Dispatcher in the CallToolRequest handler that routes to the configureAdminConsent method.
    case 'configure_admin_consent': return await this.configureAdminConsent();

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