MetricSign
Start free
Medium severitydata source

Power BI Refresh Error:
Connection string not supported

What does this error mean?

The connection string used in the dataset contains options or syntax that Power BI Service or the gateway does not support. Power BI Desktop is more permissive; Service has stricter connection string validation. Because this is a configuration error, Power BI may not attempt a refresh at all — if no refresh runs are created, downstream monitoring tools will detect this as a missed or delayed schedule rather than a specific error code.

Common causes

  • 1Connection string parameters that work in Power BI Desktop are not allowed in Service (e.g., TrustServerCertificate=True)
  • 2Named instance syntax (SERVER\INSTANCE) vs IP+port causes parsing issues in some gateway versions
  • 3Special characters in passwords or server names that need URL encoding
  • 4Using an unsupported driver-specific keyword in the connection string

How to fix it

  1. 1Simplify the connection string to the minimum required fields: Server, Database, and Authentication.
  2. 2Use the gateway data source configuration in Power BI Service instead of embedding all options in the connection string.
  3. 3If using named instances, try switching to explicit IP:port format.
  4. 4Check the Power BI documentation for supported connection string keywords for your connector type.
  5. 5Re-create the data source from scratch in Power BI Desktop with the standard connector wizard.

Frequently asked questions

Does this error affect multiple datasets at once?

If multiple datasets connect to the same data source, yes — all of them will fail until the source connectivity is restored.

Can this error be caused by a server migration or rename?

Yes — if the server name, database name, or connection string changed (e.g., during a cloud migration), Power BI still holds the old connection details. Update the connection in Power BI Desktop and republish.

Does this error appear in Power BI Desktop?

Sometimes — if you open the .pbix file and attempt a refresh, Desktop will surface the same connection error. This is useful for debugging without affecting the Service dataset.

Will the error resolve automatically once the source is back online?

Only if it was a temporary outage. The next scheduled refresh will succeed automatically. If the connection string changed or credentials expired, manual intervention is needed.

Source · learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-data-sources

Other data source errors