Forum Discussion

HeFur's avatar
HeFur
Regular Visitor
7 years ago
Solved

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:

 

 

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,

  • Anonymous's avatar
    Anonymous
    7 years ago

    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




    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.


    Regards,

    Lydia

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    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




    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.


    Regards,

    Lydia