Forum Discussion
Power BI dataflows (legacy) keep error : The credentials provided for the PowerBI source are invalid
Hi experts,
Pre-condition :
'Power BI dataflows (legacy)' setting with privacy level is 'public'
Cases :
Somehow in our dataflow can't show the table with error occured :
The credentials provided for the PowerBI source are invalid. (Source at PowerBI.)It happening with random table
When I 'configure connection' and click 'connect', nothing happened (error still exists)
But when I 'configure connection' and 'edit connection'
And then 'sign in'
The data table will show as below
But this scenario didn't last long because when I refreshed a few times, the table returned to its error state :
The credentials provided for the PowerBI source are invalid. (Source at PowerBI.)
These scenario above updated the 'Power BI dataflows (legacy)' setting to privacy level 'private'
So what is going on?
Kindly please give advice to resolve it
Thank you
Sincerely,
Oviedityanto
Hi Ceeeg ,
Are you using power bi legacy (no 1) connector? I've tried updated the connector using power bi dataflow / newer / not legacy (no 2) and the error dissapear
Here's my step to update connector from 'power bi dataflow (legacy)' to 'dataflow'
1. Open dataflow and remember the first table (in my case I choose 'wmsmakloon_transfer_log_natura')
2. Get data from 'dataflow' and select table 'wmsmakloon_transfer_log_natura' and load it. The table name will be 'wmsmakloon_transfer_log_natura (2)'
3. Go to 'advance editor' and copy these 5 line query from table 'wmsmakloon_transfer_log_natura (2)'
4. Now select 'wmsmakloon_transfer_log_natura' table, go to 'advance editor', paste and customise the code
This is my query before in table 'wmsmakloon_transfer_log_natura' :
let
Source = PowerBI.Dataflows(),
Workspace = Source{[workspaceId="19cfed95-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}[Data],
Dataflow = Workspace{[dataflowId="0100cd6a-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}[Data],
Entity = Dataflow{[entity="wmsmakloon_transfer_log_natura"]}[Data]
in
EntityAnd this is my query after I customise based on table 'wmsmakloon_transfer_log_natura (2)' :
let
Source = PowerPlatform.Dataflows([]),
Navigation = Source{[Id = "Workspaces"]}[Data],
#"Navigation 1" = Navigation{[workspaceId = "19cfed95-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}[Data],
Dataflow = #"Navigation 1"{[dataflowId = "0100cd6a-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}[Data],
Entity = Dataflow{[entity="wmsmakloon_transfer_log_natura"]}[Data]
in
Entity5. If you want to update another tables, copy these 5 line query from table 'wmsmakloon_transfer_log_natura' (which is customised table based on the new power bi dataflow connector). These query will be paste references for other tables
6. Paste it into another tables (picture below is example for table '
wmsmakloon_transfer_log_infion')
7. Delete unnecessary gateway 'Power BI dataflows (legacy)'
Hi Anonymous ,
Please check this case, is it really because of the 'Power BI dataflows (legacy)' connector?
Sincerely,
Oviedityanto
7 Replies
- cst_biHelper I
- cst_biHelper I
update :
We have removed the data gateway 'Power BI dataflows (legacy)' and create new one. The default privacy level is 'none'
Still the problem occured when edit the dataflow
The credentials provided for the PowerBI source are invalid. (Source at PowerBI.) - AnonymousNot applicable
Hi cst_bi ,
This error usually occurs when the credentials stored in the Power BI service are not valid or have expired. To fix this, you need to update the credentials for the PowerBI source in the Power BI service.
This should resolve the error and allow you to refresh your dataset. You can find more details on how to manage data source credentials here.
I have also found a similar post, please refer to it to see if it helps you.
Solved: The credentials provided for the PowerBI source ar... - Microsoft Fabric Community
How to Get Your Question Answered Quickly
If it does not help, please provide more details.
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- cst_biHelper I
Hi Anonymous ,
This error occurs in dataflow. The dataset is normal
It's random error, please see the images below
1. as-is dataflow
dataflow : mps_source
table : _ppic_pemetaan_card_mps
error : The credentials provided for the PowerBI source are invalid. (Source at PowerBI.)
2. export mps_source into json file and import it to the same workspace
dataflow : mps_source(1)
table : _ppic_pemetaan_card_mps
error : -
This new dataflow "mps_source(1)" is still have no error free
The error "The credentials provided for the PowerBI source are invalid. (Source at PowerBI.)" occured on another table in this dataflow
In another example cases :
1. I have 3 table 'knsppk', 'oespb0' and 'wmsmakloon_transfer_log' in the same dataflow. The data display no error when open these table
But when i create new table using table combine of 'knsppk', 'oespb0' and then merge into 'wmsmakloon_transfer_log', the error occured at step 'Expanded wmsmakloon_transfer_log' as picture below
this is my step which error exists :
let
Source = Table.Combine({knsppk0, oespb0}),
#"Inserted text before delimiter" = Table.AddColumn(Source, "jenis_surat", each Text.Select([no_transaksi], {"A".."Z"}), type text),
#"Merged queries" = Table.NestedJoin(#"Inserted text before delimiter", {"no_transaksi"}, wmsmakloon_transfer_log, {"c_no_transaksi"}, "wmsmakloon_transfer_log", JoinKind.LeftOuter),
#"Expanded wmsmakloon_transfer_log" = Table.ExpandTableColumn(#"Merged queries", "wmsmakloon_transfer_log", {"dt_user"}, {"dt_user"})
in
#"Expanded wmsmakloon_transfer_log"My gateway connection for this dataflow is using 'Power BI dataflows (legacy)' as the picture below
In the picture above, my workspace is similar to 'module A' which is get the table source only from another workspace (workspace : data staging)
Sincerely,
Oviedityanto
- CeeegAdvocate I
I'm having a very similar issue. I've got a dataflow loading tables from another dataflow, with a couple of computed tables built on top of the linked ones. Has been working fine for months until now. Basically all tables are getting the "The credentials provided for the PowerBI source are invalid. (Source at PowerBI.)" error. When I configure the connection, for most tables that seems to resolve the issue (although I need to do it individually for each table). However, a couple of the computed tables reference multiple other tables, and configuring the connection does nothing for them, even though the tables they refer to are already loaded into this dataflow and appear to be fine.