Forum Discussion

Maha1's avatar
Maha1
Helper II
1 year ago

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 path

 

Error message

 

6 Replies

  • christinepayton's avatar
    christinepayton
    Most Valuable Professional

    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. 

  • dharmendars007's avatar
    dharmendars007
    Memorable Member

    Hello Maha1 , 

     

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

     

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

     

    Thank You

    Dharmendar S

    LinkedIN 

    • PwerQueryKees's avatar
      PwerQueryKees
      Super User

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

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

  • Anonymous's avatar
    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?

    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