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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
OneWithQuestion
Post Prodigy
Post Prodigy

Direct Query with Application Intent= ReadOnly?

Is there a way to configure an SQL Direct Query to connect to an availability group's read only route?

 

Something like: Provider=sqlncli11;data source=aglisten;integrated security=sspi;initial catalog=myDataBase;application intent=readonly

 

Thanks!

5 REPLIES 5
Anonymous
Not applicable

Is it still not possible?

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @OneWithQuestion,

 

Based on my research, connecting to a SQL Server using Availability Group Name with the option ApplicationIntent=ReadOnly is not supported by Power Bi right now. You could submit your ideas here.

 

Please refer to the supported properties in SQL.Database.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Has this issue been resolved yet or it still open?

Nolock
Resident Rockstar
Resident Rockstar

Hello @snk@OneWithQuestion,

 

it is possible when you click on "Enable SQL Server Failover support" in the SQL Server connector - more about it on https://sqlarcher.com/2019/04/09/read-only-replicas-for-power-bi-and-azure-analysis-services/ or https://guyinacube.com/2017/09/06/power-bi-sql-server-alwayson-availability-groups/

 

^^^ This does not work with DirectQuery 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.