Skip to main content
Glama
DynamicEndpoints

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

complete_auth_methods_migration

Finalize the migration of authentication methods to ensure compliance with 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 handler function that executes the tool. It patches the '/policies/authenticationMethodsPolicy' endpoint via Microsoft Graph API to set migrationState to 'completed', returning a success message or throwing an error.
    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, defining the tool name, description, and input schema (empty object).
    { name: 'complete_auth_methods_migration', description: 'Set Authentication Methods Manage Migration to Complete (MS.AAD.3.4v1)', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema for the tool, which is an empty object indicating no input parameters are required.
    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();

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