code change · fixIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#12694 Allow API tests to issue local HTTP requests

API tests can now issue local HTTP requests by declaring explicit test HTTP request policies, and OCR authentication header handling was corrected to avoid validation errors.

Pull request · merged into main (BC30) on 2026-10-14 by onbuyuka · 167 files (+375 -582), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Adds AllowAllOutboundRequests policy annotation to 153 API test codeunits
  • Fixes OCR service authentication by using TryAddWithoutValidation for x-rs-key header
  • Resolves test failures caused by default BlockOutboundRequests policy
  • Preserves legacy HTTP request manager wire behavior for OCR mock service
  • No public API or schema changes
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#653825
  • Labels: AL: Apps (W1), Team: Integrations
  • Systems: integration

No source states these links: they share an object, a model read them, or a person found the same subject.

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).