Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

How to get Workspace metadata in PowerBI

As shown below, this is the usual table we can see once we enter any workspace.  Is there anyway other than using API to 'Get data' in Powerbi?  If no, please let me know how I may call the API by ...
  • Bipin-Lala's avatar
    2 years ago

    Hi Anonymous,

     

    To get the Workspace Metadata and other Power BI Tenant Catalog data, you would have to make use of Power BI REST APIs in one way or another.

    Means you can call the APIs in multiple ways, like using Python as you mentioned, or even calling the API directly in Power BI using Web connector in Get Data. You can also make use of PowerShell cmdlets.

     

    The Get Group API would be the starting API to help you in getting the data. (use the Try It section in the documentation page to see what data it returns for your workspace) Please follow the links below that detail the steps needed to connect to Power BI APIs and get data.

    You should be able to find numerous blogs and videos that should help you in getting started with using Power BI APIs.

     

    PS: You would require appropriate permissions to access APIs or app registrations with appropriate permissions and access to Power BI read-only admin APIs.

    At our place, we are making use of app registrations along with PowerShell scripts to fetch Power BI Tenant activity and catalog data.

     

    Let me know if you need any further help.