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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Zoubeyr
Frequent Visitor

Connection between dataflow and Sharepoint : credentials rejected

Dear all,

I have a couple of dataflows connected to Sharepoint using my own credentials (email + password). I recently modified my password and forgot to make the same modification in dataflows, resulting naturally in refresh failures. The problem is that I can't modify my credentials anymore. 

Dataflows now manage to get access to the target folder but can't open excel files on it :

 

SharePoint.Files("https://xxxxxxxxx.com/sites/folder/", [ApiVersion = 15])  ====> success
step2{[Name = "xxxxxxxxx.xlsx", #"Folder Path" = "https://xxxxxxxxx.com/sites/folder/subfolder/"]}[Content] =====> failure


The obtained error is :
The credentials provided for the SharePoint source are invalid. 
 
But modifying the connection doesn't solve the issue.
 
Note that when I ask someone else to open the dataflow and modify the connection (using their own credentials) the dataflow succeeds in viewing data and even refreshes successfully. But as soon as I open it again the error happens. We don't seem to have a way to modify the connection permanently.

Thanks in advance for your help,
 
Zoubeyr
2 REPLIES 2
Zoubeyr
Frequent Visitor

Hello,

I tried to remove the connection and create a new one but it didn't work. Maybe used credentials are stored somewhere in the Cache but I don't know how to empty it.

 

Anonymous
Not applicable

Hi @Zoubeyr ,

Based on my learning, consider clearing the browser cache and reconnect to SharePoint.

Besides, you can try to create new connection between Data flow and Share point.

You can also view the following documents to learn more information.

Connect to data sources for dataflows - Power Query | Microsoft Learn

Set up your SharePoint Online List connection - Microsoft Fabric | Microsoft Learn

 

Best Regards,

Wisdom Wu

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

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors