Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
A111462
New Member

After Upgrading to PBIRS 202501, DirectQuery to MSSQL 2019 Fails with "Cannot Connect to the Analysi

After upgrading Power BI Report Server (PBIRS) from version 202201 to 202501, my reports using DirectQuery to connect to an MSSQL 2019 database fail to load data. The error message states: Cannot connect to the Analysis Services server. Verify that the connection string is correct. How can I resolve this issue?

 

#Have already re-saved and republished the reports using the corresponding Power BI Desktop (202501), but the issue persists.

#The data source connection test in PBIRS Web Portal succeeds, confirming that the connection information is correct, but the reports still cannot retrieve data.

#Checking the logs, found an error: Failed to get CSDL.

Has anyone encountered a similar issue, or are there any configuration changes required?"

1 ACCEPTED SOLUTION
Vanchy_Liao
Resolver I
Resolver I

Hi @A111462,

 

MS add a security function in the 202405 version which will cause the Direct Query to SQL Server getting error, even though you test your connection successfully.

you have to add an environment variable to Power BI Report Server Machine.

 

for further information: Solved: Re: Issues regarding power bi report server - Microsoft Fabric Community

View solution in original post

1 REPLY 1
Vanchy_Liao
Resolver I
Resolver I

Hi @A111462,

 

MS add a security function in the 202405 version which will cause the Direct Query to SQL Server getting error, even though you test your connection successfully.

you have to add an environment variable to Power BI Report Server Machine.

 

for further information: Solved: Re: Issues regarding power bi report server - Microsoft Fabric Community

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.