Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi, I'm trying to connect our own data source using on-premises data gateway(enterprise mode). I wrote custom connector. chose that connector during gateway setup. Below are custom connector essential details.
1. it's an odbc datasource connector.
2. authentication type is UsernamePassword.
3. shared function accepts one required parameter. It's DSN.
4. TestConnection function is handled. (pass DSN parameter to the shared datasourcekind function).
For info DSN is configured in ODBC dataSource Administrator under sytemDSN tab where i gave service host,port,service datasource.
Now i'm trying to configure data source setting in gateway, it gives 3 text boxes 1 for DSN,2 for Username and 3rd for Password and clicked on add button. Getting below error.
| Microsoft.Data.Mashup.MashupSecurityException.DataSources: | [{"kind":"Lab","path":"{\"dsn\":\"{\\\"dsn\\\":\\\"lablocal\\\"}\"}"}] |
| Microsoft.Data.Mashup.MashupSecurityException.Reason: | CredentialMissing |
i'm reading credentials from Extension.CurrentCredential(). dsn is required parameter("lablocal") so,it'll be passed.
Tried by hard coding the credentials too. But getting same error. Same connector is working in powerBI desktop.
Could you please help/suggest what could be the reason? How can i move forward to solve this? Can we use DSN in gateway data source adding process?
Hi, @krambabu
Unable to reproduce your problem. If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 9 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 42 | |
| 31 | |
| 26 | |
| 19 | |
| 19 |