[MCP] Loosen API page restriction beyond APIV2#7726
Merged
Conversation
Replace the blanket APIPublisher='microsoft' block with a targeted blocklist of publisher+group combinations using FilterGroup(-1) for OR logic. This opens up extension APIs (EDocument, Subscription Billing, Quality Management, PowerBI Reports, API Reports Finance, IRS Forms, VAT Group) while keeping infrastructure, internal, and legacy V1 APIs blocked. Also adds AboutText descriptions to all newly available extension API pages following the APIV2 pattern. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
Replaces the publisher+group blocklist with simpler two-rule filtering: - Block pages in Microsoft.API.V1 namespace - Block pages with APIVersion = 'beta' All other API pages (including microsoft-published extension APIs, automation APIs, etc.) now pass through. FilterGroup(-1) is no longer needed since there's no cross-field conditional. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Removes AboutText from extension API pages. AboutText will be added separately via a dedicated pass over APIV2 pages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
AL Documentation Audit
Documentation gaps were detected in the following apps:
- MCP: 0% documentation coverage
To generate documentation, run /al-docs init or /al-docs update using GitHub Copilot CLI or Claude Code.
This review is for awareness to help keep documentation in sync with code changes. It is okay to dismiss this request.
Groenbech96
approved these changes
Apr 23, 2026
darjoo
approved these changes
Apr 24, 2026
onbuyuka
added a commit
that referenced
this pull request
May 21, 2026
Fixes [AB#631961](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/631961) - Replace blanket `APIPublisher='microsoft'` block with two simple rules: block `Microsoft.API.V1` namespace and `APIVersion = 'beta'` pages - Opens up extension APIs (EDocument, Subscription Billing, Quality Management, PowerBI Reports, Intercompany, Cloud Migration, Automation APIs, etc.) for MCP tool configuration - `ValidateAPIPublisher` bypass preserved for internal code paths - **V1 namespace**: APIV1 base (49 pages) + Sustainability (7 pages) - **Beta version**: API Reports Finance (9), ExpenseAgent (39), ALCodeCoverage (5) - BCApps: EDocument, EDocument Connectors, Subscription Billing, Quality Management, PowerBI Reports, Performance Toolkit, AI Test Toolkit - NAV: IRS Forms, VAT Group, Intercompany, Cloud Migration, Agent toolkit, Dataverse, Automate, Runtime, Admin, Automation (APIV2 + BaseApp), PowerBI Labels - **MCPConfigImplementation**: `ValidateAPITool`, `LookupAPITools`, `GetAPIPublishers`, `AddToolsByAPIGroup` updated to filter by V1 namespace + beta version - Error label renamed `InvalidAPIVersionErr` → `APIToolNotSupportedErr` `AboutText` additions on extension API pages will be done separately. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes AB#631961
Summary
APIPublisher='microsoft'block with two simple rules: blockMicrosoft.API.V1namespace andAPIVersion = 'beta'pagesValidateAPIPublisherbypass preserved for internal code pathsBlocked
Allowed (new)
Changes
ValidateAPITool,LookupAPITools,GetAPIPublishers,AddToolsByAPIGroupupdated to filter by V1 namespace + beta versionInvalidAPIVersionErr→APIToolNotSupportedErrFollow-up
AboutTextadditions on extension API pages will be done separately.🤖 Generated with Claude Code