Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I have created a Power Report which connects to a MySQL datasource by using a SQL Query to fetch specific columns within my database. This report and its dataset live on a premium workspace within my company's intranet, previously I went and manually refresh the dataset to the report since it is suppose to have a daily refresh, to automate this action I recure to the Power Automate cloud workflows, which have built-in interactions with Power BI and set a recurrence workflow to: refresh the dataset from the workspace at an specific time per CST, run a query against it to generate a csv table and store it on a public sharepoint folder. Once I manually test the workflow it succeeds and allows me to apply it accordingly, however when it runs on the scheduled timeframe I can see that is retrieving an error message on credentials:
Even upon manual refresh, when I go to the published report on the workspace and update the visuals it obtains the last dataset obtained prior to the failed refresh.
There is a similar thread already around the refresh failure on scheduled recurrences: Error on scheduled refresh; Dynamic 365 was used to gather all datasets per the idea's-owner inputs, so the suggested solution for the thread will not solve my issue since the datasource values at the advanced editor are defined as next:
let
Source = MySQL.Database("mysql-string.domain.com", "DB_MySQL", [ReturnSingleDatabase=true, Query="SELECT (...)")
in
Source
I have check the connection credentials to the MySQL database and everything is working if no scheduled refresh is implemented, thus I'm able to manually refresh the dataset and reload the visuals.
What could be possibly the problem for the schedule to not authenticate the credentials?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @andre_lara ,
Thank you for sharing, for other users with similar experiences you can check the comments below. This thread will now be closed.
Best regards.
Community Support Team_ Caitlyn