Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Encryption in a custom connector

My IT dept requires in-transit encryption. I have a data source that, when using the generic SQL Server connector, will not connect with encryption. I built a custom connector with SupportsEncryption = true based on the Direct Query for SQL Server sample. I can connect to the data source now with the Encrypt Connections box checked and the connection works. 


Does the simple switch of SupportsEncryption = true actually enable encryption or is there more that needs to be included?

Frequent Visitor

I guess more of what I'm looking for is how to require encryption from a custom sql connector

Community Support
Community Support

Hi @jjudy ,


You could refer this blog about Power BI and SQL Always Encrypted. .


Best Regards,


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

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors