Forum Discussion
Connecting to data source hosted on Dropbox
Hello PowerBI-Ites,
Has anyone had any luck connecting to Dropbox as a data source. Couldn't find many articles on this topic. Here's one article that had a solution we couldn't get to work: http://community.powerbi.com/t5/Desktop/Data-source-hosted-on-Dropbox/td-p/47882.
Just wondering if anyone could shed some light on this topic. Thank you!
58 Replies
- Greg_DecklerCommunity Champion
When you said that it didn't work, what kind of error/issue were you seeing?
- ankitpatiraCommunity Champion
JohnSwid You need to register for Dropbox developer account and generate access token. Then use URL provided as below to connect. FILE PATH is folder/filename.extension. When you register app for access token choose full permission and it should work.
https://api-content.dropbox.com/1/files/[FILE PATH]?access_token=[ACCESS TOKEN]
https://api-content.dropbox.com/1/files/abc/myfile.txt?access_token=12345 where abc is folder, myfile is file and 12345 is access token.
- AnonymousNot applicable
Hi JohnSwid,
Which file or data source do you store in Dropbox? I am trying to connect to a Excel file stored in DropBox following ankitpatira’s suggestions and everything works well.
Moreover, some ideas about that connecting to data source stored in Dropbox have been submitted in the following links, please vote them. Some changes may be made for the connection to Dropbox and it could be easier for us to connect to Dropbox from Desktop in the future.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/6663925-dropbox
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9045649-please-add-more-data-services
In addition, you can also consider to store files in OneDrive instead of Dropbox and connect to them from Power BI Desktop.
Thanks,
Lydia Zhang- mike_honeyMemorable Member
While researching this topic, I noticed that all the examples given appear to be for the Dropbox v1 API, which has been deprecated and will be turned off in a few months (June 2017):
https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/
The v2 API looks much more complex - there doesnt appear to be any direct equivalent for the method suggested above (single HTTPS call with an API Key). The authentication requirements now seem more complex:
https://www.dropbox.com/developers/reference/auth-types#user
It's stumped me for now - has anyone got this working?
- elliotdixonResponsive Resident
I agree with mike_honey - cant seem to get it working.
Any tips on connecting into the dropbox files would be great.