Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I’m facing a persistent issue with Power BI Desktop → Power BI Service → On-Premises Data Gateway when using StrongDM (SDM) as a secure access layer to SQL Server.
Power BI Desktop (Import mode)
Power BI Service
On-Premises Data Gateway (Enterprise mode)
SQL Server (on-prem)
StrongDM client used for database access
Authentication via service account on Gateway VM
For developers, StrongDM exposes SQL Server using a local alias with role + port, for example:
However, for Power BI Service + Gateway, the dataset must use the real hostname only, without the StrongDM suffix:
StrongDM client runs on the Gateway VM and brokers access transparently.
Develop the semantic model locally using the StrongDM alias
Publish the same model to Power BI Service
Bind it to the On-Premises Data Gateway using only the real SQL hostname
Avoid embedding the StrongDM suffix in the published dataset
Built a semantic model in Import mode
Created Power Query parameters:
serverWithSDM = Dev-Mheg01.dev.local.all_rwd_sql,10700
serverWithoutSDM = Dev-Mheg01.dev.local
Server (active selector)
DB
All queries use:
Verified no hardcoded SDM suffix exists in any query
Deleted the existing semantic model from Power BI Service
Closed and reopened the PBIX
Switched parameter to serverWithoutSDM
Clicked Close & Apply
Published again
When I switch the parameter to serverWithoutSDM in Power BI Desktop and click Close & Apply, I get:
(This is expected locally because my machine can only connect via StrongDM alias.)
Even after:
Deleting the dataset from Service
Republishing with serverWithoutSDM
Ensuring no SDM suffix exists in M code
👉 In Power BI Service → Gateway → Cloud connections,
the dataset still shows the old server value with the StrongDM suffix, e.g.:
As a result:
Gateway binding fails
Dataset refresh fails
Error: Gateway is not configured
In Power BI Desktop → Model / Power Query, I still see parameters listed under Expressions, e.g.:
serverWithSDM
serverWithoutSDM
db
Even though the active parameter is set to serverWithoutSDM, Power BI Service appears to retain the original data source identity that was created when the model was first evaluated using the SDM suffix.
Is Power BI Service persisting the initial data source identity permanently, even after dataset deletion and republish?
Is there any supported way to force Power BI Service to:
Recreate the data source identity
Bind the dataset to the Gateway using a different server name?
Is it architecturally impossible to use a single PBIX when:
Desktop can only connect via one hostname
Gateway can only connect via another?
Is the only supported approach to maintain:
One PBIX for development (StrongDM alias)
One PBIX for publishing (real hostname, prepared on a gateway/jump VM)?
I want Power BI Service to see and bind only:
and never retain:
Clear guidance on data source identity behavior, gateway binding, and supported deployment patterns would be extremely helpful.
Hi @Bhargava_B
I wanted to check if you’ve had a chance to review the information provided. If you have any further questions, please let us know. Has your issue been resolved? If not, please share more details so we can assist you further.
Thank You.
Hi @Bhargava_B
Your summary is accurate. This issue is not related to parameters, dataset identity, or StrongDM. The underlying problem is due to TLS certificate trust enforcement by the Power BI On‑Premises Data Gateway.
Unlike Power BI Desktop, SSMS, or paginated reports, the gateway does not respect TrustServerCertificate=True or encryption overrides in M queries. When refreshing, the Power BI Service expects the SQL Server certificate chain to be fully trusted by the Windows OS on the gateway VM. If the root or intermediate CA is missing or not trusted, the gateway fails the TLS handshake and shows a “certificate chain was issued by an authority that is not trusted” error.
There is no supported workaround on the Power BI side. To resolve this, install the proper root and intermediate certificates on the gateway VM, or use a SQL Server certificate from a trusted CA. Once the certificate chain is trusted, the gateway and dataset refreshes will work as expected.
If you have any more questions, please let us know and we’ll be happy to help.
Regards,
Microsoft Fabric Community Support Team
Hi @Bhargava_B ,
My experience with this type of setup is the following:
After doing this you should be good but be aware I advise that for future publish of the semantic model you use the ALM toolkit because you can choose to keep the parameters of the service has they are and no need to go back to redo the previous steps, if you do publish trough Power BI desktop you need always to change the parameters and check the gateway connection.
If you need any further guidance please let me know
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHello @MFelix ,
Thanks for the detailed response.
The challenge in my case is that Power BI Desktop cannot successfully evaluate the model using the server value required by the Gateway (no StrongDM suffix).
Desktop connectivity only works via the StrongDM local alias, while the Gateway requires the real hostname.
Because Desktop evaluation fails, the dataset identity is never created with the non-SDM server value, so Service-side parameter changes and gateway mapping do not take effect.
I am not sure but this appears to be a limitation when Desktop and Gateway require different connection identities.
Regards,
Bhargava
Hi @Bhargava_B ,
Just to clarify one thing how are you seting up the parameters?
You refer:
serverWithSDM = Dev-Mheg01.dev.local.all_rwd_sql,10700
serverWithoutSDM = Dev-Mheg01.dev.local
Server (active selector)
DB
What what do you mean in Server active selector? How are you passing the different parameters to your queries? Can you just share the Parameter setup and the first steps of the connections so I can check what I'm missing.
My normal setup with this type of need is a single parameter for server in this case I would have:
Server: Dev-Mheg01.dev.local.all_rwd_sql,10700 (on Power BI desktop)
After publishing the semantic model I change that parameter to the following
Server: Dev-Mheg01.dev.local (on Power BI Service)
Then check if the gateway would connects to this server.
Usually this setup is preety straighforward but again I may be missing something on your question.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi , Happy New year and Thanks for your response.
After deeper investigation, the root cause turned out not to be parameters, gateway mapping, or StrongDM configuration.
The issue was SQL Server TLS certificate trust on the Power BI Gateway machine.
Although our paginated (RDL) reports work fine using:
Power BI Service + On-Premises Gateway is not supporting the same. I think , Power BI does not support TrustServerCertificate or Encrypt overrides in M queries.
As a result, if the SQL Server certificate chain (root / intermediate CA) is not trusted by Windows on the Gateway VM, refresh fails with:
I feel fix will be on infrastructure-level certificate trust, not a Power BI parameter or gateway configuration issue.How ever curious to know if there are any other fixes around ?
Thanks again for the help.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!