Forum Discussion
Connect data flow to Excel file stored in OneDrive
- Anonymous6 years ago
Hi webportal ,
Usually, this encompasses to extra characters in the URL that are part of the link that OneDrive generates for the file, but not accepted by PBI (something like :x:/r/ after site address and ?d=w3a41a... after the file name).
The URL in your post, however, looks valid. In my test, I had this error when I entered an incorrectly formatted URL and signed it. When I fixed it the error did not go away, but I was able to sign in and proceed with Next. Maybe this will work for you too?
An alternative way, which I found, was via Web API connector. You can try this too.
If this does not help, this is the Source step generated by PBI, you can try altering it for your case and then provide credentials when requested by PBI:
Source = Excel.Workbook(Web.Contents("https://xxx-my.sharepoint.com/personal/xxx/Documents/Book2.xlsx"), null, true),Kind regards,
JB
Hi xcasanoves,
I think this is rather an issue between MS authentication service and the browser, then something directly relating to PBI.
I have something similar from time to time, especially when switching between different networks. As I am using Chrome, no message appears, but I am not getting a sign-in pop-up window (and therefore can not put/confirm my credentials for the data source). In most cases, full PC restart clears it straightaway.
Hope this helps,
JB
I think my point was this: Getting data from OneDrive into Power BI is pretty much ubiquitous. Click Get Data, choose Files, then choose OneDrive.
But getting data from a file on OneDrive into a Data Flow in Power BI is something else entirely. "OneDrive" is not one of the options. You have to choose either Excel or Flat File, THEN put in a URL. And copying a URL link from within SharePoint does NOT work.
Why can't there just be something similar to the "Get Data" experience.
It's all withing the Microsoft empire.
- xcasanoves6 years agoFrequent Visitor
Thanks everybody for your quickly answers.
I solved my issue by following way:
- Using navigator Mozilla
- Enable pop-ups
- Create data flow
- By API WEB (by excel doesn't work)
- With URL format like commented by ToddChitt:
- https://<my company>.sharepoint.com/<Site name>/<Document name>
It's very sad, a Microsoft software works better with a foreign navigator... It's incredible.
Thanks everybody again for your answers.
- Using navigator Mozilla