Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
We have recently moved our ERP solution to a cloud provider and are trying to link to their MySQL database to our Power BI reporting.
We have successfully done this using Power BI Desktop using the MySQL connector (which we had to download seperately) but it required them to whitelist our IP Address. We have then published this report to Power BI Services and get errors like
"Failed to update data source credentials: An error happened while reading data from the provider: 'One or more errors occurred.
We've been searching for a solution that will allow us to publish our PBI Desktop reports that use this 3rd party database but are not sure how to get this through. We looked at whitelisting IP addresses but the list of IP addresses for Power BI seems extensive and constantly changing, so that seems impractical. For our needs we have an On-Premises data gateway to access our SQL Server but we cannot get a link between them installing an On-Premises data gateway and our Power BI accounts as they sit on different domains/tenants, we believe the only solution to this would be to establish a trust relationship which our domain admins have no intention of doing.
Are there any solutions we may have overlooked?
Solved! Go to Solution.
Hi @StephenCockram ,
Problem Analysis:
Please mark this as solution if it helps you. Appreciate Kudos.
Thanks for reaching out to Microsoft Fabric Community Forum.
Regarding your query about the connection to third party MySQL Database, We just wanted to confirm that the solution provided by @FarhanJeelani is accurate and should help to resolve the issue you're facing.
Additionally ,here are few more points to consider.
Using MySQL Connector in Power BI Service
For MySQL databases not hosted on-premises, consider installing a self-hosted data gateway in your network or cloud environment. This enables Power BI Service to connect to your MySQL database even if it's in a different domain or cloud provider.
Utilizing Dataflows
Another approach is to use Power BI Dataflows to transform data before publishing it to Power BI Service. Connect to the MySQL database using Power BI Desktop, transform the data, and then save it to a Power BI dataflow.
This method avoids the need for direct MySQL connections in Power BI Service by using a more flexible data storage option.
Alternative Authentication Options:
If your MySQL service supports OAuth or other authentication methods, configure Power BI to use those methods, potentially bypassing the IP whitelist issue.
If you find this post helpful, please mark it as an "Accept as Solution" and give a KUDOS.
Thank You.
Hi @StephenCockram ,
Problem Analysis:
Please mark this as solution if it helps you. Appreciate Kudos.
We had attempted solution 1 but it hadn't worked. Upon your advise we revisted it and found that we needed to use the "On-Premises" connection type where we were trying to use the "Cloud" connection type.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
30 | |
26 | |
21 | |
20 |
User | Count |
---|---|
63 | |
48 | |
25 | |
24 | |
19 |