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

#9454 Fix site scoped contextinfo

SharePoint request-digest calls now correctly target site-scoped URLs instead of tenant root for operations like CreateList, CreateListItem, CreateFolder, and UpdateListItemMetaDataField.

Pull request · merged into main (BC30) on 2026-08-17 by jorisvanduyse (community contribution) · 4 files (+62 -5), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Request-digest acquisition now uses site-base URL accessor instead of hostname-only for proper site scoping
  • GetHost() method remains unchanged to preserve behavior for hostname-only consumers
  • Added regression tests to verify contextinfo requests retain the configured /sites/ path
  • Fixes site-scoped SharePoint URL targeting issue that was incorrectly routing to tenant root
  • No breaking changes to public APIs or schema
  • Behaviour changes for users or extensions.

AL objects touched

Context

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).