Skip to content

Fix invalid catalog after pbiazure:// to XMLA redirect - #970

Merged
albertospelta merged 1 commit into
mainfrom
alberto/fix-pbiazure
Sep 1, 2026
Merged

Fix invalid catalog after pbiazure:// to XMLA redirect#970
albertospelta merged 1 commit into
mainfrom
alberto/fix-pbiazure

Conversation

@albertospelta

Copy link
Copy Markdown
Member

AdomdConnectionWrapper previously called ChangeDatabase() using the internal catalog name format (sobe_wowvirtualserver-). Since AdomdClient 19.96.1, the Analyze-in-Excel to public XMLA redirect is no longer restricted to an application ID allow-list. As a result, opening a cloud dataset connection now transparently redirects from pbiazure:// to powerbi:// and updates the catalog to the dataset's display name. The subsequent explicit call to ChangeDatabase() sent the outdated catalog name to the XMLA endpoint, causing it to reject the connection as a non-existent database. ChangeDatabase() was redundant in both wrappers, as the catalog is already specified by the Initial Catalog connection string property. This call has been removed, and the effective catalog is now read directly from Connection.Database when needed.

AdomdConnectionWrapper previously called ChangeDatabase() using the internal catalog name format (sobe_wowvirtualserver-<DBName>). Since AdomdClient 19.96.1, the Analyze-in-Excel to public XMLA redirect is no longer restricted to an application ID allow-list. As a result, opening a cloud dataset connection now transparently redirects from pbiazure:// to powerbi:// and updates the catalog to the dataset's display name. The subsequent explicit call to ChangeDatabase() sent the outdated catalog name to the XMLA endpoint, causing it to reject the connection as a non-existent database. ChangeDatabase() was redundant in both wrappers, as the catalog is already specified by the Initial Catalog connection string property. This call has been removed, and the effective catalog is now read directly from Connection.Database when needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant