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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
cst_bi
Helper I
Helper I

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'

cst_bi_5-1692587432540.png

 

Cases :

Somehow in our dataflow can't show the table with error occured : 

cst_bi_0-1692586950451.png

 

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)

cst_bi_1-1692587017318.png

But when I 'configure connection' and 'edit connection'

cst_bi_2-1692587140040.png

And then 'sign in'

cst_bi_3-1692587169195.png cst_bi_4-1692587266600.png

The data table will show as below

cst_bi_6-1692587899567.png

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'

cst_bi_7-1692588066527.png

 

So what is going on? 

Kindly please give advice to resolve it

Thank you

Sincerely,
Oviedityanto

 

1 ACCEPTED SOLUTION

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

cst_bi_0-1692837604321.png

 

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')

cst_bi_4-1692838747985.png

 

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)'

cst_bi_2-1692838418856.png

cst_bi_3-1692838677001.png

 

3. Go to 'advance editor' and copy these 5 line query from table 'wmsmakloon_transfer_log_natura (2)'

cst_bi_9-1692840221029.png

 

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
Entity

And 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
Entity

 

5. 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

cst_bi_10-1692840289437.png

 

6. Paste it into another tables (picture below is example for table '

wmsmakloon_transfer_log_infion')

cst_bi_11-1692840463702.png

  

7. Delete unnecessary gateway 'Power BI dataflows (legacy)'

cst_bi_8-1692840048453.png

 

Hi @Anonymous ,

 

Please check this case, is it really because of the 'Power BI dataflows (legacy)' connector?

 

Sincerely,
Oviedityanto

View solution in original post

7 REPLIES 7
Anonymous
Not 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 _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,

 

This error occurs in dataflow. The dataset is normal

 

It's random error, please see the images below

1. as-is dataflow

cst_bi_0-1692689932190.png

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

cst_bi_1-1692690040630.png

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

cst_bi_7-1692768440331.png

 

cst_bi_8-1692768463047.png

 

cst_bi_4-1692766474080.png

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

cst_bi_5-1692766540814.png

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

cst_bi_6-1692768198390.png

 

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

 

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.

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

cst_bi_0-1692837604321.png

 

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')

cst_bi_4-1692838747985.png

 

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)'

cst_bi_2-1692838418856.png

cst_bi_3-1692838677001.png

 

3. Go to 'advance editor' and copy these 5 line query from table 'wmsmakloon_transfer_log_natura (2)'

cst_bi_9-1692840221029.png

 

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
Entity

And 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
Entity

 

5. 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

cst_bi_10-1692840289437.png

 

6. Paste it into another tables (picture below is example for table '

wmsmakloon_transfer_log_infion')

cst_bi_11-1692840463702.png

  

7. Delete unnecessary gateway 'Power BI dataflows (legacy)'

cst_bi_8-1692840048453.png

 

Hi @Anonymous ,

 

Please check this case, is it really because of the 'Power BI dataflows (legacy)' connector?

 

Sincerely,
Oviedityanto

Hey @cst_bi ,

 

I've just been testing this out after reading your earlier response where you mentioned the legacy vs not-legacy connector.

 

Changing to the not-legacy connector appears to have resolved the issue.

 

To test it out, I exported the json, opened it in a text editor, and replace all instances of PowerBIDataflowsConnector with PowerPlatformDataflowsConnector. I then loaded that in as a new dataflow, and it seemed to make all the adjustments to the queries as appropriate. It asked me for credentials, I signed in, and it seemed happy. I opened up the manage connections window, and deleted the legacy connection. The privacy level on the new connection was set to private, and I couldn't seem to change that from manage connections, but then I went to the dataflow settings and was able to change it to organisational when I edited credentials there.

 

This is obviously not ideal, because loading it in as a new dataflow means it will have a different dataflow id, so anything referencing that dataflow will need to be updated. Luckily for me at least, the affected dataflow is the final one before it gets loaded for use, so I only have to update it in one or two reports. Seems like it would be very tedious if the problem had happened in a dataflow that is referenced by another dataflow and I had to update the dataflow id for each query in there.

 

Hopefully this doesn't all happen again when the Fabric Dataflows connector becomes the 'normal' one and the Power Platform version becomes 'legacy'.

cst_bi
Helper I
Helper 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.)

 

cst_bi
Helper I
Helper I

@GilbertQ , @ibarrau , @sulleyinoz , @aj1973 , @foodd , @collinq 

🙏

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors