Skip to main content
Glama
DynamicEndpoints

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

restrict_app_registration

Configure Microsoft 365 to allow only administrators to register applications, implementing security controls for CSA BOD 25-01 compliance.

Instructions

Allow only administrators to register applications (MS.AAD.5.1v1)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registers the 'restrict_app_registration' tool with MCP server including name, description, and input schema.
    { name: 'restrict_app_registration', description: 'Allow only administrators to register applications (MS.AAD.5.1v1)', inputSchema: { type: 'object', properties: {}, }, },
  • Defines the input schema for the tool as an empty object (no input parameters required).
    inputSchema: { type: 'object', properties: {}, },
  • The main execution handler that updates Microsoft Graph API policy to restrict app registrations to administrators only.
    private async restrictAppRegistration() { try { // Configure app registration settings using Microsoft Graph API await this.graphClient .api('/policies/applicationRegistrationManagement') .patch({ restrictAppRegistration: true, restrictNonAdminUsers: true, }); return { content: [ { type: 'text', text: 'Application registration restricted to administrators successfully', }, ], }; } catch (error: unknown) { throw new McpError( ErrorCode.InternalError, `Failed to restrict app registration: ${error instanceof Error ? error.message : 'Unknown error'}` ); } }
  • Dispatches the tool call to the restrictAppRegistration handler method.
    case 'restrict_app_registration': return await this.restrictAppRegistration();
  • Helper logic in get_policy_status tool to check and report the status of app registration restrictions.
    appRegistration: { restrictedToAdmins: appRegistration.restrictAppRegistration && appRegistration.restrictNonAdminUsers, compliant: true, },

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