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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
M_Dhedhy
Regular Visitor

Is it still not possible?

v-yulgu-msft
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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