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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kkalyanrr
Helper V
Helper V

Configuring auto refresh for a file shared through One Drive

Hello Team
I've a dashboard runs on data from One Drive, I could able to refresh the data using personal gateway .
But when I try to schedule refresh using Online gateway(installed on server) its throwing the following error.
Any help.
Q5.JPG

1 ACCEPTED SOLUTION

Hi , @kkalyanrr 

Obviously the credential that you provide is local credential and the url  is not  the one  that  on the onedrive.( the url should be "https:xxxxxx.sharepoint.com.xxx" instead of "c\\user.......")

 

In addition ,it is suggest to connected to the one drive file from desktop using web instead of  share point folder .

Please follow these steps:
1.open the csv file in onedrive by using desktop excel app, then  copy the  path info of  your excel .

24.png

2.connected to the one drive file from desktop using  web  ( need Remove the ?web=1 string at the end of the link)

26.png

3.sign in your account

28.png

4.the result will show as below

 

27.png

 

For more details ,please refer  to this document.

desktop-use-onedrive-business-links

 

You also can refer to this post.

https://community.powerbi.com/t5/Power-Query/Get-csv-file-from-OneDrive-and-auto-update/m-p/431605

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi, @kkalyanrr 

I can't see the error message on the right half from your first screenshot. 

BIteam:invalid connection credentials?????
Underlying error message:The crendentials ???????

Can you provide a good screenshot (masking some of your sensitive information)?

 

Is this your error Details?

Details: "We could not register this data source for all gateway instances within this cluster. Please find more details below about specific errors for each gateway instance."

 

And it seems that   you connect csv files stored on OneDrive to Power BI Desktop via Web connector, then publish the pbix file to Power BI Service, right?

 

Please refer to desktop-use-onedrive-business-links   to  get the correct web url and make sure you select OAuth2 as the Authentication method when configuring your refresh settings. 

 

17.png

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

@v-easonf-msft  
Hi,
I've connected to the one drive folder from desktop using share point folder instead of web as shown in the pic..Q11.PNGQ10.PNG

Hi , @kkalyanrr 

Obviously the credential that you provide is local credential and the url  is not  the one  that  on the onedrive.( the url should be "https:xxxxxx.sharepoint.com.xxx" instead of "c\\user.......")

 

In addition ,it is suggest to connected to the one drive file from desktop using web instead of  share point folder .

Please follow these steps:
1.open the csv file in onedrive by using desktop excel app, then  copy the  path info of  your excel .

24.png

2.connected to the one drive file from desktop using  web  ( need Remove the ?web=1 string at the end of the link)

26.png

3.sign in your account

28.png

4.the result will show as below

 

27.png

 

For more details ,please refer  to this document.

desktop-use-onedrive-business-links

 

You also can refer to this post.

https://community.powerbi.com/t5/Power-Query/Get-csv-file-from-OneDrive-and-auto-update/m-p/431605

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors