A successful AL build does not necessarily mean that every part of the code is ready to merge.
A change may compile without errors but introduce an inefficient database operation, an unexpected dependency or an upgrade concern. These issues require more than a compiler check. They require an understanding of how Business Central applications are designed, extended and maintained.
Microsoft is bringing BCQuality into AL-Go for GitHub’s AI-powered pull-request review workflow. This integration combines Business Central-specific development knowledge with GitHub Copilot to help development teams assess AL code changes, identify potential implementation issues and improve code review practices before merging changes.
The combination brings Business Central-specific development knowledge into automated AL code reviews. With GitHub Copilot providing the AI capabilities, AL-Go can review eligible pull requests, apply BCQuality guidance and publish findings directly in GitHub.
For Business Central partners and development teams, this means another opportunity to examine code changes before they become part of an application.
But what exactly does BCQuality contribute? How does it work with AL-Go? And does it replace the code analysis and testing processes developers already use?
Let’s look at the technology, its practical applications and what teams should consider before enabling it.
How AI-Powered AL Code Reviews Benefit MSPs Managing Business Central Environments
Managed Service Providers often support multiple customer environments, each with different Business Central configurations, extensions, integrations and custom development requirements.
Maintaining consistency across these environments requires structured development practices, effective change management and reliable quality checks.
The AL-Go and BCQuality integration introduces another layer of technical review that MSP development teams can consider within their existing GitHub workflows.
For MSPs managing Business Central applications, this can be particularly relevant in the following scenarios:
- Multi-customer extension maintenance: Apply Business Central-specific review guidance when maintaining customer-specific extensions.
- Consistent development practices: Use shared knowledge and custom development standards across development teams.
- Integration maintenance: Examine AL changes associated with external system integrations and application dependencies.
- Upgrade readiness: Identify potential compatibility and upgrade concerns earlier in the development process.
- Development workflow standardisation: Introduce an additional review step within existing GitHub pull-request processes.
While AI-assisted reviews do not replace technical validation or customer-specific testing, they can complement the quality processes MSPs use to maintain Business Central solutions.
Why Business Central AL Code Reviews Need More Than Compilation
Business Central AL development involves several connected application components, including tables, pages, codeunits, reports, queries, interfaces, APIs and event subscribers.
A change to one component can influence how other parts of an extension or the standard application behave.
Consider a developer modifying a routine that processes customer ledger entries. The code may compile correctly, but the implementation could retrieve more records than necessary or perform repeated database operations. The resulting performance concern may not appear during a basic compilation check.
Similar situations can arise when developers:
- Introduce event subscribers that create unexpected dependencies.
- Modify existing interfaces or application contracts.
- Change permission sets and access to business data.
- Update table structures that require upgrade considerations.
- Modify error-handling logic in financial or operational processes.
- Develop web services that expose application data.
Traditional quality checks remain necessary, but they do not all examine the same things.
| Existing quality check | What it primarily examines | What it may not fully address |
| AL compiler | Language syntax, object definitions and compilation errors | Whether the implementation follows every relevant Business Central development practice |
| Code analyzers | Recognised coding patterns and configured rules | Broader architectural or business-context concerns |
| Automated tests | Expected behaviour under defined test scenarios | Every possible edge case, dependency or upgrade concern |
| Human code review | Design decisions, business requirements and implementation context | Consistency across large review volumes and all specialist knowledge areas |
| AI-assisted review with BCQuality | Potential issues assessed using Business Central-specific guidance | Guaranteed detection of every defect or validation of every business scenario |
These approaches serve different purposes. An AI review should complement existing checks, not replace them.
The objective is to examine not only whether AL code compiles, but also whether its implementation deserves further technical attention.
What Is BCQuality in Business Central Development?
BCQuality is Microsoft’s open repository of Business Central development knowledge and reusable AI skills.
It gives compatible AI tools access to guidance designed around Business Central rather than relying exclusively on general programming knowledge.
The repository includes knowledge articles, examples and skills that explain how to assess particular development areas. Its AL code review skill brings relevant review areas together to examine source changes and produce a findings report.
One important distinction: BCQuality is not a Business Central extension or an AI agent by itself. It supplies the knowledge and reusable skills. The host or integration provides the AI model, execution environment, permissions and workflow.
BCQuality organises its knowledge into three layers:
| Knowledge layer | What it contains | How development teams can use it |
| Microsoft | Microsoft-maintained Business Central development guidance | Apply platform-specific development knowledge and recommended practices |
| Community | Knowledge contributed by the wider Business Central ecosystem | Access additional practical guidance and development insights |
| Custom | Organisation-specific knowledge and overrides | Incorporate internal coding standards, architectural guidelines and project requirements |
This layered structure is particularly useful for Business Central partners and MSPs managing multiple customer environments.
For example, a development team may follow Microsoft’s recommended AL development practices while incorporating community knowledge and its own internal conventions for object naming, error handling, extension architecture and integration development.
The Custom layer allows organisations to tailor available guidance to their development standards and project-specific requirements, alongside Microsoft-maintained and community-contributed knowledge.
BCQuality also distinguishes between knowledge and skills:
- Knowledge articles explain a development concern and the recommended approach.
- Skills instruct an AI tool on how to apply relevant knowledge to a particular task.
This separation allows the knowledge repository to evolve independently of the workflow that uses it.
How AL-Go, BCQuality and GitHub Copilot Work Together
The integration makes more sense when each component’s responsibility is understood separately.
| Component | Primary responsibility | Contribution to the review |
| AL-Go for GitHub | DevOps workflow orchestration for Business Central applications | Manages the GitHub workflow, prepares BCQuality and publishes review findings |
| BCQuality | Business Central development knowledge and reusable skills | Supplies platform-specific review guidance |
| GitHub Copilot | AI capabilities used by the review process | Examines AL changes using the supplied knowledge and generates findings |
AL-Go does not contain all the review knowledge itself. Instead, its SetupBCQuality action installs and prepares the configured BCQuality marketplace content. The prepared plugin is then passed to the ReviewAgent action.
This separation matters because the workflow and the knowledge can evolve independently. AL-Go manages how the review runs, while BCQuality determines which Business Central development guidance is available to the AI review process.
How the BCQuality Code Review Workflow Works
The review takes place within the GitHub pull-request process. Developers do not need to move to a separate code-review application to receive the findings.
Here is the process at a glance:
| Stage | What happens | Why it matters |
| 1. Pull request | A developer opens or updates an eligible AL pull request | Provides the code changes for review |
| 2. Workflow trigger | AL-Go checks the configured review conditions | Starts the review for eligible pull requests |
| 3. BCQuality preparation | SetupBCQuality installs and prepares the configured knowledge and skills | Makes Business Central-specific guidance available |
| 4. AI review | ReviewAgent uses GitHub Copilot to examine the AL changes | Assesses code against relevant review guidance |
| 5. Findings publication | AL-Go publishes generated findings as pull-request comments | Gives developers feedback in the context of their changes |
According to Microsoft’s implementation guide, reviews run for eligible non-draft pull requests targeting configured branches. Relevant pull-request events include opening, reopening, synchronising changes and marking a pull request ready for review.
What does this mean in practice?
Suppose a developer updates a codeunit that processes sales documents. After the pull request is opened, the review workflow can examine the submitted changes against relevant AL guidance.
If the implementation contains a pattern that warrants attention, the review can return a finding with its location, explanation and supporting knowledge reference. The developer can then investigate the concern and decide whether a code change is necessary.
The review does not automatically establish that every finding is a defect. Developers remain responsible for checking the surrounding implementation and validating the recommendation.
Key Technical Areas Covered by BCQuality’s AL Code Review Skills
BCQuality’s AL code review skill is composed of specialised review skills covering different development domains. This gives the review a wider technical scope than a check limited to syntax or formatting.
The following table summarises key areas covered by the current AL review skill.
| Review area | What the review examines | Example of a concern |
| Performance | AL execution and database access patterns | Unnecessary record retrieval or inefficient processing |
| Security | Access control and security-related implementation | Permission or access concerns |
| Privacy | Handling and exposure of sensitive information | Inappropriate handling of personal or business data |
| Upgrade compatibility | Changes that may affect application upgrades | Data or object changes requiring upgrade consideration |
| AL style | Code structure and development conventions | Inconsistent or problematic coding patterns |
| User interface | Page and UI implementation | Usability or interface-related concerns |
| Error handling | How failures are managed and reported | Inadequate handling of exceptional conditions |
| Events | Event publishers and subscribers | Fragile assumptions or unexpected dependencies |
| Interfaces | Interface design and implementation | Changes that affect dependent implementations |
| Breaking changes | Changes to existing application contracts | Compatibility issues for dependent extensions |
| Web services | API and service exposure | Concerns with service implementation |
| Testing | Test design and coverage | Missing or inadequate validation of changed behaviour |
| Data modelling | Table and field design | Data structure or relationship concerns |
| Queries and reporting | Query objects and reporting logic | Inefficient or problematic data retrieval |
| AppSource | Considerations relevant to AppSource applications | Issues related to application requirements |
| Telemetry | Application telemetry practices | Missing or inappropriate telemetry considerations |
The review skill also includes selected Finance and Supply Chain Management knowledge, covering areas such as posting, costing, inventory, reservations, tracking and warehouse processes.
The scope of the review depends on the available BCQuality knowledge, the selected review skills and the AL code changes being examined. The findings should be treated as potential areas for investigation rather than a guarantee that every functional or technical issue will be detected.
How Are BCQuality Findings Different from Traditional Code Analysis?
The difference is not that one approach is useful and the other is outdated. Each examines code from a different perspective.
Traditional AL code analysis primarily applies compiler checks and configured analyzer rules. BCQuality-based AI reviews use Business Central-specific knowledge and specialised review skills to identify potential implementation concerns. Both approaches serve different purposes and should be used together.
| Comparison point | Traditional AL code analysis | BCQuality-based AI review |
| Main approach | Applies compiler checks and configured analyzer rules | Uses AI with Business Central-specific knowledge and review skills |
| Primary focus | Language correctness and recognised coding patterns | Potential implementation concerns across selected development domains |
| Output | Compilation errors, warnings and rule violations | Contextual findings with explanations and knowledge references |
| Rule coverage | Depends on available analyzers and configuration | Depends on enabled BCQuality knowledge and review skills |
| Customisation | Analyzer configuration and project rules | Custom knowledge, enabled layers and skill configuration |
| Human validation | Required for design and business-context decisions | Required to confirm whether AI-generated findings apply |
For example, an analyzer may identify a recognised coding-rule violation. A BCQuality-based review can examine a changed AL implementation against relevant platform guidance and explain why a particular pattern may deserve attention.
These capabilities are complementary. Teams should continue running their existing AL analyzers and automated tests alongside AI-assisted reviews.
How to Enable AI-Powered Code Reviews in AL-Go
Microsoft provides an opt-in configuration for enabling AI-powered AL pull-request reviews in AL-Go repositories.
The feature is disabled by default. Enabling it requires repository settings, an update to AL-Go system files and the appropriate GitHub organisation permissions.
Step 1: Check the prerequisites
Before enabling the reviewer, confirm that:
- Your repository uses an up-to-date AL-Go setup.
- Your GitHub organisation allows Copilot CLI requests billed to the organisation.
- Organisation and repository Actions policies allow the workflow’s GITHUB_TOKEN to request pull-requests: write and issues: write.
- Your organisation understands that reviews consume organisation AI credits.
Microsoft’s guide states that no personal access token or additional repository secret is required when using the public BCQuality marketplace. A token is required if the repository uses a private BCQuality marketplace.
Step 2: Update the repository settings
Open .github/AL-Go-Settings.json and add the following repository-level configuration:
{
“CodeReviewAgent”: {
“enabled”: true,
“branches”: [
“main”
],
“excludedAuthors”: [
“dependabot[bot]”
]
}
}
Here is what each setting controls:
| Setting | Purpose |
| enabled | Turns the AI code review workflow on or off |
| branches | Defines the target branches for pull-request reviews |
| excludedAuthors | Lists GitHub authors whose pull requests should not be reviewed |
The example enables reviews for eligible pull requests targeting main and excludes the specified bot account. Adjust the values according to your repository’s branching and review policies.
Step 3: Run Update AL-Go System Files
After saving the configuration, run the Update AL-Go System Files workflow using the latest AL-Go version.
This updates the repository’s workflow files and enables the review process according to the configured settings.
Step 4: Test the review process
Open or update an eligible pull request and check the GitHub Actions workflow.
Confirm that:
- The review workflow starts for the intended target branch.
- BCQuality is prepared successfully.
- The AI review completes.
- Findings are published as pull-request comments.
- The workflow has the required permissions and organisation-level Copilot access.
For additional configuration options, including BCQuality knowledge filtering, model selection and excluded authors, refer to Microsoft’s official AL-Go code review setup guide.
What Should Business Central Teams Consider Before Enabling It?
Introducing AI into a development workflow requires more than switching on a setting. Teams should decide how review findings will be evaluated and how the feature fits into their existing quality process.
1. Treat AI findings as review recommendations
A finding should be investigated, not accepted automatically. The developer needs to check the surrounding code, application version, dependencies and intended business behaviour.
2. Keep existing quality checks active
AL compilation, code analyzers, automated tests and human reviews remain essential. AI-assisted reviews add another perspective; they do not replace established validation.
3. Review the available knowledge
BCQuality supports Microsoft, community and custom knowledge layers. Teams should understand which layers and skills are enabled and whether the available guidance matches their development requirements.
4. Account for AI usage
Reviews consume organisation AI credits. Development teams should understand the expected usage and confirm that their organisation’s Copilot policies permit the workflow.
5. Protect the pull-request workflow
The integration uses separate workflows and a trusted runner to validate pull-request information and control where permissions are available. Teams should follow Microsoft’s documented configuration rather than building their own workflow around unverified assumptions.
What This Means for Microsoft Dynamics 365 Business Central Partners
Business Central partners often maintain multiple extensions across different customers, application versions and integration environments.
A development team may work on financial processes for one customer, inventory extensions for another and external API integrations for a third. Each project brings its own technical dependencies and maintenance requirements.
In this environment, consistent code review is an important part of application maintenance.
The AL-Go and BCQuality integration gives teams a way to bring Business Central-specific knowledge into the pull-request process. It can help developers investigate potential issues earlier, understand why a particular implementation deserves attention and refer to the guidance behind a recommendation.
| Business Central development activity | How the integration can contribute |
| Custom extension development | Provides additional review guidance for AL changes |
| Customer-specific modifications | Helps examine implementation patterns against relevant Business Central knowledge |
| Extension maintenance | Brings upgrade and compatibility considerations into the review |
| Code review across teams | Makes a shared set of review knowledge available through the configured workflow |
| Development standards | Allows organisations to incorporate custom guidance through BCQuality’s Custom layer |
For customers, the relevance is practical: extensions need to remain understandable, maintainable and suitable for the business processes they support.
AI-assisted review does not guarantee defect-free applications. It gives development teams another resource to support technical evaluation before code is merged.
How Sarakadiya Supports Business Central Development
about the applications they build and maintain.
Business Central partners and Managed Service Providers need development approaches that support application reliability, integration requirements and long-term maintainability across customer environments.
Sarakadiya Inc. works with organisations, Microsoft partners and MSPs on Microsoft Dynamics 365 Business Central solutions, including AL custom development, system integrations, ERP optimisation and application enhancements.
As AI-assisted development and code review capabilities evolve, understanding how these technologies fit into existing Business Central development workflows becomes increasingly important.
Whether maintaining customer-specific extensions, developing integrations or modernising Business Central environments, teams need solutions that align with their technical and operational requirements.
Explore Sarakadiya’s Business Central services or contact our team to discuss your requirements.
Final Thoughts
The integration of BCQuality into AL-Go’s AI-powered review workflow brings Business Central-specific development knowledge closer to the pull-request process.
AL-Go manages the workflow, BCQuality supplies the platform knowledge, and GitHub Copilot provides the AI capabilities used to examine AL changes.
Together, they give Business Central developers another way to investigate potential code issues before merging changes.
The value is not in replacing existing development practices. It is in adding relevant technical guidance to a process that already depends on compilation, testing, analysis and human judgement.
For Business Central partners and development teams, this is a useful development to follow as AI-assisted code review becomes another part of the AL development toolkit.


