logo
search
Others

How to Fix DMTS_DatasourceHasNoCredentialError for SAP HANA in Power BI Service

Olivia MillerOlivia Miller Oct 9, 2026 869 views

Question details

The user needs to resolve an authentication error that prevents an SAP HANA Datasphere ODBC connection from working in Power BI Service.

How to Fix DMTS_DatasourceHasNoCredentialError for SAP HANA in Power BI Service
Product
Power BI Service, SAP HANA Datasphere
Device & OS
not provided
Scenario
Publishing a report using an SAP HANA Datasphere ODBC connection from Power BI Desktop to Power BI Service.
Observed behavior
The connection works successfully in Power BI Desktop but fails in Power BI Service, returning a DMTS_DatasourceHasNoCredentialError stating that the connection has no credentials.
Before you start

Ensure you have workspace administrator or member permissions in Power BI Service, and verify that your SAP HANA Datasphere ODBC credentials are correct and accessible.

Solution 1Recommended

Configure Data Source Credentials in Power BI Service

Manually update the dataset settings in the cloud to provide the missing authentication details required by Power BI Service.

Power BI Desktop uses your local machine's ODBC DSN and local credentials. When published to Power BI Service, the cloud environment does not automatically inherit these credentials. You must explicitly configure the dataset's credentials to resolve the DMTS_DatasourceHasNoCredentialError.

1
Access Workspace Settings

Log in to Power BI Service, navigate to your Workspace, and locate the dataset that is failing to refresh.

2
Open Dataset Settings

Click the More options (...) icon next to the dataset name and select Settings.

3
Edit Data Source Credentials

Expand the 'Data source credentials' section. You will see a warning next to your ODBC connection. Click 'Edit credentials'.

4
Enter SAP HANA Credentials

Select the appropriate Authentication method (usually Basic) and enter your SAP HANA Datasphere username and password. Set the privacy level and click 'Sign in'.

Configure Data Source Credentials in Power BI Service
Test the Connection: After saving the credentials, trigger a manual refresh on the dataset to verify that the connection to SAP HANA Datasphere is now working.
Free Microsoft Office alternative

Manage Your Data Reports and Troubleshooting Logs with WPS Office

While resolving complex Power BI and SAP HANA data connectivity issues, you need a reliable office suite to document errors, analyze raw data exports, and present your findings. WPS Office is a powerful, lightweight, and free alternative that meets all your daily productivity needs.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the Software: Run the setup file and follow the quick installation prompts to set up WPS Office on your computer.
  3. 3. Open Your Office Files: Launch WPS Office to instantly view, edit, and save your existing Microsoft Office documents, spreadsheets, and presentations.
Fully compatible with Microsoft Excel (.xlsx), Word (.docx), and PowerPoint (.pptx) formats.Perfect for documenting SAP HANA troubleshooting steps and analyzing exported CSV data.Lightweight installation that won't slow down your system while running heavy BI tools.Familiar tabbed user interface, ensuring a seamless transition with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my SAP HANA ODBC connection work in Power BI Desktop but fail in Service?

Power BI Desktop utilizes your local machine's ODBC Data Source Name (DSN) and locally cached credentials. Power BI Service operates in the cloud and cannot access your local DSN or credentials automatically; they must be explicitly re-configured in the dataset settings in the cloud.

What does DMTS_DatasourceHasNoCredentialError mean?

This is a Microsoft Power BI error code indicating that the cloud service is attempting to connect to or refresh a dataset, but no valid authentication credentials have been stored or provided for the underlying data source.

Do I need an On-premises Data Gateway to connect SAP HANA Datasphere to Power BI Service?

If you are using a custom local ODBC driver that Power BI Service does not natively support in the cloud, you may need to install a Power BI On-premises Data Gateway (Standard mode) to bridge the secure connection and pass credentials between the cloud and your data source.