Forum Discussion
DMTS_DatasourceHasNoCredentialError Error in powerbiService.
- 1 year ago
Hi Anonymous
Below are steps that resolve this issue:-
Remove the Gateway:
- In Power BI Service, navigate to your workspace and then to Data Source Settings.
- If the gateway is selected and the option to remove it is greyed out, try to reconfigure the data source without selecting the gateway.
- On the data source credentials page, click edit credentials and select none. This will bypass the need for a gateway.
-
Fixing the Credentials Issue:
- Make sure you're using basic authentication or the appropriate method for PostgreSQL.
- Enter the PostgreSQL credentials (username, password) along with SSL connection settings (if needed).
- If the option to save credentials is disabled, it could be because Power BI is still trying to use the gateway. By switching to None (Cloud data source) in the credentials configuration, you should be able to save the credentials properly.
-
Check the Status:
- After saving the credentials, ensure the connection status changes to Online.
- If the status still shows as Offline, try refreshing the page, or check if there are any lingering configuration issues.
Thanks and Regards,
Cher Srikanth
If this post helps then please consider Accept it as the solution to help the other members find it more quickly. -
hi Anonymous ,
-
Switch to Cloud Data Source: Since your PostgreSQL is on Azure Cloud, you do not need a gateway. Remove the "Personal mode" gateway in the settings.
-
Set Up Data Source Credentials: Go to Data Source Credentials in Power BI Service. Edit credentials and select Basic Authentication or the required method. Provide your PostgreSQL username, password, and ensure SSL settings are correct.
-
Verify Status: After saving credentials, ensure the status changes to Online.
-
Test the Report: Run the paginated report in Power BI Service to confirm it renders successfully.
- Anonymous1 year agoNot applicable
Hi rohit1991, Thanks for replying.
The option of changing the gateway is greyed outIs there any different way to remove a gateway. The gateway was already selected by powerbi service.
Also i am unable to save after adding credentials in the Authentication section. Is that becuase of the gateway?