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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
HeFur
Regular Visitor

Reading JSON file directly from OneDrive Business

Hello,

 

I need a way to make Power BI read a JSON file that is stored in my One Drive Business.

I've tried creating a shared link and use the web data source with it to read, but I keep getting this message:

 

Imagem1.png

 

Am I missing something or it is not possible to do it?

 

(Another solution would involve using MSFlow to save that file in a local file server and make PowerBi read that file. However, I'll like a "cleaner" solution).

 

Best regards,

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@HeFur,

It is not possible to connect to JSON file using web connector as you describe. You can use SharePoint Folder connector instead.

Please enter the following URL in SharePoint Folder connector, this way, you can connect to OneDrive for Business folder in Power BI Desktop.

https://mydomain-my.sharepoint.com/personal/user_mydomain_com

Capture1.PNG


After loading data into Query Editor, then filter the extension to .json, click on Binary in Content column to expand data of the json file.
Capture.PNG

Regards,

Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@HeFur,

It is not possible to connect to JSON file using web connector as you describe. You can use SharePoint Folder connector instead.

Please enter the following URL in SharePoint Folder connector, this way, you can connect to OneDrive for Business folder in Power BI Desktop.

https://mydomain-my.sharepoint.com/personal/user_mydomain_com

Capture1.PNG


After loading data into Query Editor, then filter the extension to .json, click on Binary in Content column to expand data of the json file.
Capture.PNG

Regards,

Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It worked!!! Tks

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors