Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
zhanabash
New Member

Issues with Database Credentials in Power BI Service

Hi,

I am experiencing issues with Power BI. Everything starts when I try to publish a report from Power BI Desktop to Power BI Service within “My Workspace”. The publication itself works fine, but the problem arises with the credentials.

When attempting to schedule a refresh, I receive the following error regarding the credentials:

Failed to update data source credentials: An error happened while reading data from the provider: 'One or more errors occurred.

Unable to update connection credentials. Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid. Please verify the data source configuration and contact a data source administrator to troubleshoot this issue.


Connection details
 Troubleshoot test connection issues with your connection. Learn more. Status: Offline Here are some details about why the connection status is “offline”. Contact Microsoft support and include the information below in your ticket. Error code: DMTS_DatasourceHasNoCredentialError Connection error: Connection has no credentials Cluster URI: https://api.powerbi.com Time: Wed Sep 04 2024 11:45:08 GMT-0300 (Horário Padrão de Brasília)
img1.PNGimg2.PNGimg4.PNGimg5.PNGimg6.PNG

As you can see in the images, I have already cleared and re-entered the credentials in the desktop version. I am using the same credentials that I use for the database (I edited them the same way in the desktop version, and it works fine there; I can update and connect without issues, ah and only the basic authentication is avaiable on service). 

In the gateway section, it appears to be “correct” (it shows green). However, comparing with other cases from the forum, it seems that I might be required to have a specific gateway for the dataset. I still don’t understand why this would be related to the password. I request assistance… please let me know if you need more information to solve this case.

1 ACCEPTED SOLUTION

Here's something that can get you started

Power BI Gateway | Microsoft Power BI

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

Looks like your data source (MySQL) is considered "on-Premise"  (not in the Azure cloud).  You need an On-premise gateway that has the MySQL drivers installed and that can see the database. Then you need to create a connection on that gateway, authenticate with valid credentials, and finally you can map your semantic model to that gateway .

How i can do this? I do this by where? please help me

Here's something that can get you started

Power BI Gateway | Microsoft Power BI

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.