Skip to content

Fix AppVeyor CI against current Power BI Report Server - #451

Merged
Petebro-MSFT (Petebro-MSFT) merged 9 commits into
masterfrom
copilot/ci-pbirs-compat-20261027
Oct 27, 2026
Merged

Petebro-MSFT (Petebro-MSFT) merged 9 commits into
masterfrom
copilot/ci-pbirs-compat-20261027

Conversation

@Petebro-MSFT

Copy link
Copy Markdown
Contributor

AppVeyor fails on master-based PRs (#449, #450) for reasons unrelated to their changes. This PR fixes the shared causes so feature PRs can go green.

  • Policy REST routes: current PBIRS returns 404 for CatalogItems({id})/Policies. Get/Grant/Revoke-RsRestItemAccessPolicy now use the typed entity set (Reports, PowerBIReports, Folders, ...) via a new private Get-RsRestPolicyUri, falling back to CatalogItems for unknown types. This also fixes Get-RsRestItemAccessPolicy reusing the first item's URI for later pipeline items.
  • Policy writes: PUT only InheritParentPolicy and Policies, not response annotations.
  • Refresh-plan tests: wait for terminal refresh history before starting another run (fixes the delete 500).
  • AppVeyor: VS2022 image, TLS 1.2 before NuGet bootstrap, retries for PSScriptAnalyzer/Pester installs (gallery "Source Location is not valid" failures), and per-file test result upload so a timeout no longer discards results.

Unit tests added for the policy routes and refresh wait (31/31 pass locally).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant