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
Anonymous
Not applicable

Unable to add datasource to Power BI Gateway Cluster

I get the below error, when i try to add a datasource in a cluster created.

Sweta162_1-1629103354708.png

The status code is "400" and it says "Connection String is not supported"
@Gateway @PowerBIData 

 

7 REPLIES 7
arvindsingh802
Super User
Super User

Are you trying to add ODBC connection ?

If yes, add DSN= as prefix in your connection string

 

If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!
Anonymous
Not applicable

Thanks for the suggestion.
On doing so, I get a new error :

Sweta162_0-1629113186416.png

Can you help with this ?

Have you created ODBC connection on Gateway server machine ?

If Yes, Make sure you use exact same name as your ODBC connection

if No, create ODBC connection and then add the data source in gateway

 

If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!
Anonymous
Not applicable

Yes, I created a system DSN in the same machine as the Gateway , same name as the datasource . The DSN connection is successful there

Just checking again

 

Data source name in System DSNConnection string in Power BI Gateway
xyz abcDSN=xyz abc

 

If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

@Anonymous we face the same issue. Did you find any soloution to this?

We have the System DSN configured and working in ODBC Data Source Administrator (64-bit) on the gatewayserver, but when trying to add the datasource to the gateway in Power BI service we get:

 

Unable to create data source. Connection string is not supported.

Details: [...] On-prem Gateway: The connection string is not supported
[...]
Status code: 400 
 

System DSN from gateway server is referred to in the Connection String.

We added the datasource directly to the gateway, not through "Add to gateway" from a dataset. Then it worked 😵 . And we're able to use it to map credentials for the original dataset. 

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.

Top Solution Authors
Top Kudoed Authors