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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Employee
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
Employee
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors