cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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!

4 REPLIES 4
Microsoft
Microsoft

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?

Memorable Member
Memorable Member

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
secondImage

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

secondImage

Power BI Women

Join our monthly meetings and learning sessions.

secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors