Forum Discussion

gp10's avatar
gp10
Advocate III
1 year ago
Solved

Workspace Folders PBI Rest API

Hi everyone.


Does anyone know how to get a list of all Folders for all Workspaces with the Power BI Rest API?

Thanks

  • Hi gp10,

     

    Thank you for reaching out to Microsoft Fabric Community.

     

    Currently Power BI REST API do not support retrieving the folders within workspaces, because folders are not a native concept in power bi’s API model. Workspaces contain all the reports, datasets, dashboards and other artifacts in a flat structure and it does not expose any folder metadata.

    This is by design and currently it does not provide a list of folders for workspaces.

    For reference here is the below document:

    https://learn.microsoft.com/en-us/rest/api/power-bi/

     

     

    If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

     

    Thanks and regards,

    Anjan Kumar Chippa

3 Replies

  • v-achippa's avatar
    v-achippa
    Community Support

    Hi gp10,

     

    Thank you for reaching out to Microsoft Fabric Community.

     

    Currently Power BI REST API do not support retrieving the folders within workspaces, because folders are not a native concept in power bi’s API model. Workspaces contain all the reports, datasets, dashboards and other artifacts in a flat structure and it does not expose any folder metadata.

    This is by design and currently it does not provide a list of folders for workspaces.

    For reference here is the below document:

    https://learn.microsoft.com/en-us/rest/api/power-bi/

     

     

    If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

     

    Thanks and regards,

    Anjan Kumar Chippa

    • v-achippa's avatar
      v-achippa
      Community Support

      Hi gp10,

       

      As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked? or let us know if you need any further assistance.
      If my response resolved your issue, please mark it as "Accept as solution" and give kudos if you found it helpful.

       

      Thanks and regards,

      Anjan Kumar Chippa

    • DhivyaKrishnamo's avatar
      DhivyaKrishnamo
      New Member

      Hi,

      Is this resolved now? Is it possible to get the list of all Folders for all Workspaces with the Power BI Rest API