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 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
- webportal6 years agoImpactful IndividualHi,
A blank query similar with the Web API connector did it, thanks!- ToddChitt6 years agoSuper User
I too am getting this same error and hoped this post would help. It did not.
I removed the :z:/s from between the "sharepoint.com/" and the site name so the URL looks like this:
https://<my ompany>.sharepoint.com/<Site name>/<Document GUID>
I could not tell exactly the options in the original post, but it looks like "None" for the Gateway seleciton, and "Organizational account" for the Authentication. Below that is says that I am already signed in. And this is the same Organizational Account I use the access the document.
Yet I still get "Invalid credentials" error.
Frustrated. This should be a no-brainer for Microsoft! At LEAST get me good error text code. "Invalid credentials" if the URL is bad?
"Sir, our automotice scan tool Error Code says that your engine is misfiring on one of the cylinders, so we're going to need to replace all four tires."
Sorry for the rant.
Any suggestions?
- xcasanoves6 years agoFrequent Visitor
I have a similar problem.
When I try to create a data flow by excel file in OnDrive, always appears the following message "Configure the pop-up blocker to allow this site to create pop-up windows" (the pop-ups are active).
I tried with Microsoft Explorer and Microsoft Edge. I reviewed the configuration with my administrator with no result.
Somebody knows what must I do?
Thanks in advance,