cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vikkidurai91
Helper I
Helper I

PowerBI Dataflow - invalid Credentials

Dear

 

We are trying to pull data from AWS MySQL to PowerBI Dataflow. 

 

With the details of Server, DB, username and password, we are able to connect to DB via Desktop Tool. When added the connection in Manage Gateways, the connection is Successful as well.

 

But, when trying to connect via dataflow, it keeps throwing an error Invalid Credentails. 

 

We checked with Firewall team, and there is no restrictions.

 

Could you please help. 

 

Thanks in advance.

7 REPLIES 7
ayup
Helper I
Helper I

I have encountered a similar problem in experiencing the "Invalid Credentials" error when trying to create a dataflow query that used our PBI Gateway to access a MySQL DB.  After some experimentation, I found that the solution was to go into the "Advanced settings" of the data source within the gateway configuration and set the "Connection Encryption setting for this data source" setting to "Encrypted".  By default, a checkbox was set that allowed the gateway to choose the connection encryption setting - this needed to be overridden.

 

Once the gateway setting was changed (and basic username/password credentials re-entered) I was able to successfully create/execute the dataflow query.

 

Hope this helps

 

Cheers,

Jeff

v-eachen-msft
Community Support
Community Support

Hi @vikkidurai91 ,

 

Could you please make sure that you have configured gateway for your database and you could check if the credential is correct in your gateway and be same withe the credentials in your dataflow?

If the issue still exists, you could create a support ticket here.

Support Ticket.gif

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Hello

 

Thanks for your response.

 

Yes we have configured the gateway and using it for a while. Connection is successful, when I added MySQL details in Gateway as well.

 

I was able to make connection via Desktop tool but not from Dataflow. It keeps saying Invalid Credentials.

 

Thanks

Vignesh

Hey @vikkidurai91 

 

My organization is having the same problem.  

 

We can create a Power BI report that uses a MySQL database connection, and we can publish that report on the Power BI service and and it will successfully refresh via the on-premise Data Gateway.

 

However, when we try to create a Dataflow, we keep encountering an error during the  "Connect to data source" step, where it complains about Invalid credentials.  Obviously, something isn't working quite right yet. 

 

I suppose we will have to reach out to Microsoft Support directly.   Were they able to resolve your issue?

Cruz3r
Regular Visitor

Hi,

 

We're experiencing similare issues for a PostgreSQL database hosted on AWS.

PBI desktop on our gateway server can connect without issues to the DB.

But once we try to create a dataflow we also get the invalid credentials error which is ridiculous as the datasource was created without an issue...

 

KR,

Thomas

II am having the same issue. Was this ever resolved?

Doesn't look like it was ever resolved. I am getting the same error, same scenario with on-premises Oracle database. The data source in gatewya is set up successfully, and I am using the same credentials to create a data flow and getting Invalid Credentials.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors