Skip to main content
Glama
DynamicEndpoints

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

complete_auth_methods_migration

Complete authentication methods migration to meet CSA BOD 25-01 requirements for Microsoft 365 cloud services.

Instructions

Set Authentication Methods Manage Migration to Complete (MS.AAD.3.4v1)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main execution logic for the 'complete_auth_methods_migration' tool. It updates the authentication methods policy via Microsoft Graph API to mark the migration as 'completed'.
    private async completeAuthMethodsMigration() {
      try {
        // Set migration status using Microsoft Graph API
        await this.graphClient
          .api('/policies/authenticationMethodsPolicy')
          .patch({
            migrationState: 'completed',
          });
    
        return {
          content: [
            {
              type: 'text',
              text: 'Authentication Methods migration marked as complete successfully',
            },
          ],
        };
      } catch (error: unknown) {
        throw new McpError(
          ErrorCode.InternalError,
          `Failed to complete auth methods migration: ${error instanceof Error ? error.message : 'Unknown error'}`
        );
      }
    }
  • Tool registration in the listTools response, including name, description, and input schema (no parameters required).
    {
      name: 'complete_auth_methods_migration',
      description: 'Set Authentication Methods Manage Migration to Complete (MS.AAD.3.4v1)',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • Dispatch case in the CallToolRequest handler that routes execution to the completeAuthMethodsMigration method.
    case 'complete_auth_methods_migration':
      return await this.completeAuthMethodsMigration();
  • Input schema definition for the tool (empty object, no input parameters).
    inputSchema: {
      type: 'object',
      properties: {},
    },

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