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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Maha1
Helper II
Helper II

Connect OneDrive FOLDER to Power Query issue

I cannot connect OneDrive Folder to Power Query. I tried to use Web connecter, it spreaded as HTML page. When I used SharePoint Folder connector I got the below error message:

 

URL Link for OneDrive Folder pathURL Link for OneDrive Folder path

 

Error messageError message

 

6 REPLIES 6
PwerQueryKees
Super User
Super User

See my earlier answer about the url. Great to see both @christinepayton and @Anonymous  agree with me ... 😬

Anonymous
Not applicable

Hi @Maha1 ,

 

Agree with christinepayton, the URL you're using doesn't seem to be a standard URL. Where did you get this URL?

vcgaomsft_0-1724737176346.png

SharePoint and OneDrive for Business files import - Power Query | Microsoft Learn

 

If it's an encrypted short link, you may need to revert to the original link, as the connector doesn't support the converted short link.

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

christinepayton
Super User
Super User

You are using the wrong URL - take off the _layouts/15 bit. Also that first part of the path doesn't look right - it's usually tenantname-my.sharepoint.com, not clouddrive.tenantname.com, not sure if you just have a really odd setup or what the deal is there. 

PwerQueryKees
Super User
Super User

Yeah. Tricky. You may need to experiment. Try removing everything after your username from the url.

But, SharePoint, OneDrive and OneDrive for Business all heave their separate method...

dharmendars007
Super User
Super User

Hello @Maha1 , 

 

You have to use the Folder Path and connect to the onedrive folder which you are looking to connect.

 

dharmendars007_0-1724667666865.png

dharmendars007_1-1724667722445.png

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

@dharmendars007 you assume op want to connect to the synced copy. If op wants to Connect to OneDrive directly, your solution won't work...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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