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
manoj_0911
Post Patron
Post Patron

How to Add Multiple SQL Servers to `PBI_SQL_TRUSTED_SERVERS` and `SqlTrustedServers` in Power BI?

Hi,

 

I’m trying to configure Power BI Desktop and Power BI Service (Gateway) to trust multiple SQL servers. I’ve set the following environment variable for Power BI Desktop:

 

``` PBI_SQL_TRUSTED_SERVERS = aws rds sql server 1,****; aws rds sql server 2,****```

 

However, if i place only one server it works, and the semicolon to separate the server entries doesn’t seem to be recognized.

 

Similarly, in Power BI Service (Gateway), I tried updating the `SqlTrustedServers` value in the `GatewayCore.dll.config` file:

 

```aws rds sql server 1;aws rds sql server 2 ```

 

But again, only when i kept only one server.

 

Is there a correct way to configure multiple SQL servers in these settings, or is it limited to only one server at a time? its very critical for us , because we are in middle of an new customer deployment, Any guidance would be appreciated!

 

Thanks in advance!

1 ACCEPTED SOLUTION
manoj_0911
Post Patron
Post Patron

This is worked for me "Use a comma to separate server entries and No spaces between the entries in both the `PBI_SQL_TRUSTED_SERVERS` and `SqlTrustedServers` settings."

View solution in original post

1 REPLY 1
manoj_0911
Post Patron
Post Patron

This is worked for me "Use a comma to separate server entries and No spaces between the entries in both the `PBI_SQL_TRUSTED_SERVERS` and `SqlTrustedServers` settings."

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.