Managing Least Privilege for Business Central MCP Server Permissions

Article Highlights
Off On

Managing Least Privilege for Business Central MCP Server Permissions

The Model Context Protocol (MCP) Server for Microsoft Dynamics 365 Business Central allows AI clients like Claude or ChatGPT to interact with your data while ensuring that all operations run using the signed-in user’s identity and permissions. Because all operations are executed under the context of the user identity, the primary method for securing the environment involves the implementation of strict least-privilege configurations. Before beginning the setup process, ensure the environment is running Business Central version 29 or later to support the newest Data Query Tools. The administrator must also possess a user account assigned the MCP – Admin or SUPER permission sets to modify server configurations effectively. Establishing these boundaries prevents the AI agent from accessing sensitive information or performing unauthorized actions within the ERP system.

Implementing Least Privilege for MCP Connections

1. Choose a Method

The first stage involves selecting the appropriate interaction model between curated API Tools and the more flexible Data Query Tools. API Tools require an administrator to manually select specific objects and define the exact operations allowed for those objects, providing the highest level of control for sensitive environments. Alternatively, Data Query Tools enable AI agents to write and execute read-only AL queries against any table the user is permitted to access, offering greater discovery capabilities. Evaluate specific business requirements to determine if the use case favors the granular restriction of specific API pages or the broader read-only flexibility provided by the data query features. Verifying this choice ensures that the AI host is not given more capabilities than the specific task demands.

2. Prepare the Accounts

Identify the specific user identities and Microsoft Entra app registrations that will facilitate the connection to the MCP Server. Any non-Microsoft client host must use an Entra app registration that has been granted the delegated Financials.ReadWrite.All permission with proper tenant administrator consent. It is essential to assign these identities to specific organizational groups or dedicated service purposes rather than utilizing shared administrator accounts. This approach ensures that the user permission sets remain the actual security boundary, as the MCP Server inherits the rights of the signed-in identity. Confirm that each identity is unique and documented to maintain a clear audit trail of which user or agent performed specific actions within the system.

3. Create Scoped Configurations

Establish separate MCP Server configurations tailored to specific teams or functional purposes, such as a dedicated configuration for the sales department and another for finance. By using the ConfigurationName header in the connection string, the AI client can be directed to the exact configuration intended for its role. This prevents a single connection from possessing broad access to all available tools across the entire organization and allows for the customization of features like Data Query Tools or API object lists per department. Verify that each configuration is named logically and that the connection strings used by the AI host point to the correct instance to ensure proper isolation of duties.

4. Configure Server Features

Access the MCP Server configuration page to set the global behavior for each connection instance. Ensure that the Unblock Edit Tools toggle remains off to keep the connection strictly read-only unless write access is explicitly justified and authorized by the data owner. When utilizing Dynamic Tool Mode, make a deliberate decision regarding the Discover Read-Only Objects setting; leaving this feature disabled limits the agent to only the API objects that have been manually added to the tool list. If Data Query Tools are activated, the agent will gain access to tools such as bc_data_find_tables and bc_data_query, which run exclusively as read-only operations. Check the status of these flags to confirm that no unintended discovery or modification capabilities are active.

5. Define Object Level Permissions

For configurations where the Unblock Edit Tools feature has been enabled, navigate to the API Tools list to define granular restrictions for every object. The administrator must set individual toggles for Allow Create, Allow Modify, Allow Delete, and Allow Actions for each specific API page or query. This configuration provides a second layer of defense, ensuring that even if a user possesses broad permissions within the standard Business Central interface, the MCP configuration restricts the AI agent to specific operations. Review the list of enabled API objects and their corresponding operation flags to ensure that the agent cannot perform actions like posting documents unless specifically required for the business process.

6. Record Least Privilege Sets

Utilize the standard Business Central permission recorder or the Advanced Permissions Recorder to capture the precise objects required for the agent to complete its assigned tasks. Have a test user perform the specific business process in a sandbox environment while the recorder is active to identify every table and system object accessed during the transaction. Once the process is complete, review the captured data and generate a dedicated permission set that excludes any tables or operations that are not strictly necessary. Using a recorder eliminates the risk of permission bloat that occurs when using broad default roles and ensures the identity has exactly what it needs and nothing more.

7. Validate and Test

Run the Validate action directly on the MCP Server configuration page to identify common setup errors or inconsistencies in the permissions. Test the connection in a sandbox environment using a non-administrator account that has been assigned only the newly created least-privilege permission sets to ensure the agent can still function. It is important to remember that when an agent schedules a task, the task executes with the intersection of the permissions of the scheduling user and the agent itself. Verify the results of these tests by checking the system logs to ensure that no permission errors occurred and that the agent was successfully restricted from accessing data outside its defined scope.

8. Document the Configuration

Export each MCP Server configuration as a JSON file to maintain a point-in-time record of the active settings and features. These files should be stored in a secure location alongside the definitions of the approved permission sets and a comprehensive list of authorized user identities. This documentation serves as essential evidence for internal audits and security reviews, demonstrating that the access granted to the AI integration was intentionally configured and limited. Consistent documentation practices ensure that if the configuration is changed or lost, the intended security posture can be reconstructed or verified against original compliance requirements.

9. Perform Access Reviews

Establish a periodic schedule to review the identities that have access to the MCP Server and the specific permissions their accounts hold. Conduct these reviews whenever new server features are activated, new team configurations are added, or major Business Central updates are applied to the environment. During the review cycle, verify that the assigned permission sets still align with current business needs and that no unauthorized users have been granted high-level rights like MCP – Admin or AGENT – ADMIN. Regular monitoring and review of these settings from 2026 through 2028 and beyond will help maintain the integrity of the security model as the organization and the AI capabilities evolve.

Step Recap

  1. Select either curated API Tools for granular control or Data Query Tools for read-only discovery based on requirements.
  2. Configure Entra app registrations with delegated permissions and assign specific user identities to the connection.
  3. Use named configurations and the ConfigurationName header to isolate tools and permissions by department.
  4. Set the global server flags to restrict edit tools and object discovery by default to maintain a secure baseline.
  5. Apply specific Allow or Disallow toggles for individual API objects to control create, modify, and delete actions.
  6. Build minimal permission sets by recording the actual business process in a controlled sandbox environment.
  7. Confirm the configuration integrity using the Validate tool and testing with a restricted, non-administrative user.
  8. Maintain JSON exports of all configurations to provide an audit trail and point-in-time documentation of settings.
  9. Conduct recurring access reviews to ensure that permissions remain aligned with the principle of least privilege.

Conclusion

Managing least privilege for the Business Central MCP Server is a continuous discipline that centers on the precision of identity management rather than just initial setup. Because every action performed by an AI agent inherits the permissions of the signed-in user, the security of the entire integration depends on the accuracy of the underlying permission sets and the strictness of the server configuration. Administrators should always prioritize read-only settings as the default state and use recording tools to eliminate unnecessary access rights. Maintaining an audit-ready trail through configuration exports and scheduled reviews ensures that the AI integration remains a secure asset. By focusing on the intersection of user permissions and server-side feature flags, organizations can leverage advanced AI capabilities while protecting sensitive business data from unauthorized access or modification. Final security outcomes rely on consistent monitoring and the refusal to use broad administrative roles for automated tasks. Managing these permissions effectively requires a proactive stance where access is granted only when a clear business necessity exists. As the platform continues to evolve, these foundational security practices will remain the most effective way to manage the risks associated with AI-driven data interactions. This approach transforms security from a static barrier into a dynamic process that supports innovation without compromising compliance. Proper oversight of these settings ensures that the Business Central environment remains robust and prepared for future technological changes while maintaining the highest standards of data integrity. Practical management of these permissions involves both technical configuration and organizational policy. By following these steps, the risks of over-provisioning are mitigated, and the benefits of the Model Context Protocol can be fully realized within a controlled framework. Consistent application of these principles protects both the data and the users who interact with it every day. Utilizing these procedures creates a reliable roadmap for any organization looking to integrate AI with their core business processes. Success in this area is measured by the ability to provide agents with the information they need while ensuring that they can never exceed their intended operational boundaries. In the current landscape, the meticulous control of identity and permission sets remains the most critical factor in a successful deployment. This guide provides the necessary steps to achieve that level of control and maintain it over time. Following these instructions will result in a deployment that is both functional and resilient against security threats. The commitment to least privilege is the cornerstone of a mature and secure AI strategy. Maintaining this focus will ensure long-term stability and security for all business operations. In conclusion, the responsibility for a secure AI environment rests on the careful balance of accessibility and restriction. Administrators must remain vigilant and informed about the tools at their disposal to maintain this balance effectively. Utilizing the features described in this guide will allow for a secure and efficient implementation of the MCP Server. Careful planning and execution of these steps will lead to a successful and secure integration of AI into the Business Central ecosystem. This provides a solid foundation for all future AI-related initiatives within the organization. Final adherence to these steps ensures that the system is both compliant and secure. The ongoing management of these settings is vital for the continued success of the integration. This concludes the necessary actions for managing least privilege within the system.

Explore more

10 Essential GitHub Repositories to Master SQL for Data Science

Data engineering roadmaps emphasize the importance of mastering data warehousing concepts like partitioning and clustering to manage massive cloud datasets effectively. While many beginners believe that knowing how to filter rows and join tables constitutes full proficiency, the reality of the modern data landscape demands a much deeper understanding of how the database engine actually processes instructions. In a professional

How Is Insight Works Scaling Global Logistics Networks?

Small and mid-sized businesses in Canada and the United Kingdom are gaining access to enhanced shipping logistics solutions through the inclusion of Sollaris 365 Solutions and Transparity. As global trade dynamics continue to shift rapidly through 2026, the reliance on high-performance enterprise resource planning extensions has become a non-negotiable requirement for regional distributors. Insight Works, a dominant force in the

Lao PDR Advances New Policies for Workplace Equality and Safety

A high-level workshop in Vientiane recently finalized a draft enterprise policy aimed at eliminating gender-based discrimination and violence across the Lao workforce. This pivotal event, held in mid-October 2026, represents a significant leap forward in the nation’s efforts to modernize labor relations and align domestic practices with international standards. As the Lao People’s Democratic Republic moves closer to its developmental

Ethereum Struggles as ETF Outflows and Inflation Pressure Market

The digital asset landscape is currently witnessing a stark transition where technical breakthroughs are struggling to counteract the gravity of macroeconomic reality. Ethereum’s current market position is hindered by a 14-day Relative Strength Index hovering near 29, confirming that bearish sentiment remains firmly in control of price action. This technical weakness manifests as a persistent struggle to maintain valuations above

AI Replaces Consulting Armies in ERP Migration Shift

The transition from manual spreadsheets to documented AI rationale creates a superior audit trail for independent verification of financial records. For decades, the process of migrating to a new Enterprise Resource Planning platform was a logistical nightmare that required massive teams of external consultants to manage data extraction and validation. This traditional approach relied on thousands of billable hours from

Fill out the form below