Skip to content

[releases/29.x] [Fabric] Separate workspace read and write scopes - #13477

Draft
Onat Buyukakkus (onbuyuka) wants to merge 3 commits into
releases/29.xfrom
bugs/657365-fabric-workspace-permission-fallback-29.x
Draft

Onat Buyukakkus (onbuyuka) wants to merge 3 commits into
releases/29.xfrom
bugs/657365-fabric-workspace-permission-fallback-29.x

Conversation

@onbuyuka

@onbuyuka Onat Buyukakkus (onbuyuka) commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

What & why

Backport the separate-scope Fabric permission fix to releases/29.x.

Use Workspace.Read.All for workspace and Open Mirroring database browsing so these read-only operations do not depend on write permission being available on the first-party Microsoft Entra app.

Request Workspace.ReadWrite.All only for Add to workspace. If token acquisition fails, show manual instructions to grant the service principal Contributor access directly in Fabric, with a Read setup instructions action. Preserve the underlying authentication error in the error details. Once write permission is granted, the action can work without another app change.

The custom-app .default authentication flow is unchanged.

Linked work

Fixes AB#657365

Backport of #13476.

How I validated this

  • I read the full diff and it contains only changes I intended.
  • I built the affected app(s) locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)

  • git diff --check origin/releases/29.x...HEAD: passed.
  • Verified both production AL files are identical to the main fix in [Fabric] Separate workspace read and write scopes #13476; the backport applied without conflicts.
  • No tests added: this is a small scope-selection and error-guidance change, without production hooks added solely for testing. Existing tests are unchanged.
  • AL build and AL tests were not run locally, following the existing user-validation workflow. This PR is draft pending build and Business Central validation.

Risk & compatibility

No schema, data-upgrade, or export-pipeline changes. Custom-app authentication remains unchanged. Add to workspace still requires write permission and an appropriate Fabric workspace role; direct setup in Fabric is the fallback until those requirements are met. Live Microsoft Entra consent and Business Central behavior still require validation.

Fixes AB#657365

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 79c2c685-7967-4383-9a7c-516547686144
@github-actions github-actions Bot added AL: Apps (W1) Add-on apps for W1 Ownership: Needs Review Ownership is Other, low confidence, or needs manual correction Team: Other GitHub request for other area than SCM, Finance or Integration labels Oct 30, 2026
@github-actions github-actions Bot added this to the Version 29.1 milestone Oct 30, 2026
Restore the existing tests and keep only the separate workspace scopes and manual-setup guidance.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 79c2c685-7967-4383-9a7c-516547686144
Keep the existing setup documentation action and technical error details.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 79c2c685-7967-4383-9a7c-516547686144

This branch was successfully deployed

1 active (outdated) deployment
triage — 1bea4886 Deployed Oct 30, 2026 by onbuyuka via Classify team ownership #9637
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 Ownership: Needs Review Ownership is Other, low confidence, or needs manual correction Team: Other GitHub request for other area than SCM, Finance or Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant