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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
osabhaois
Frequent Visitor

Status code 400

Hi 

 

I am setting up auto refresh in powerbi service on a shared one drive folder. I am trying to pull the excel data from within the shared folder.

 

I am trying to access a folder in my one drive with getdata and I am getting this error message

-> Failed to update data source credentials: The process cannot access the file

 

The folder is shared with me from another onedrive account.

I am recieveing the following status code: 400

 

Is there something unique about setting up auto refresh on Onedrive folders that have been shared with you?

 

 

 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there

Can you make sure under the dataset settings, that you have updated the Credentials to the OneDrive location?

Your error is indicating that the data source credentials are not correct.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

4 REPLIES 4
GilbertQ
Super User
Super User

Hi there

Can you make sure under the dataset settings, that you have updated the Credentials to the OneDrive location?

Your error is indicating that the data source credentials are not correct.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

So when I try to edit credentials in "data source credentials" I am offered the authentication method WindowsWithoutImpersonation option only.

When I select the privacy level and try to sign in I get the error.

So I believe I am not being offered the option to updated the Credentials to the OneDrive location.

Am I taking the correct steps?

 

I have noticed that in the original onedrive folder that if I create a folder within the original folder, move the data into that new folder and then reshare with my personal onedrive, then the error does not occur which is interesting.

ok found the solution.

The shared folders were subfolder.

I simply needed to share the root folder and that solved my access issues.

 

Thanks for letting us know you found a solution!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors