Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi All
Is it possible to get details of workspaces, datasets and reports using Power BI Rest API as source? When trying one of rest API URL, it asks for sign in information. Can you please guide here?
Thanks a lot!
Hi @abpgupta ,
According to your description, to get detailed information about workspaces, datasets, etc., it is more convenient to use powershell.
Steps:
Install the corresponding module.
Install-Module -Name MicrosoftPowerBIMgmt
Log in to the account corresponding to the powerbi service, only if the identity verification is successful can you get the information about workspaces, datasets, etc. in the organization successfully
Connect-PowerBIServiceAccount
Enter the relevant code to get the information
Get-PowerBIWorkspace -All
Get-PowerBIDataset
For more details, you can related document link.
Power BI Cmdlets reference | Microsoft Docs
If the problem is still not resolved, please point it out. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks @v-henryk-mstf for information! I am looking to use Power BI only to get data and visualize information. The option Get Data - Web to use Rest API URLs and collect information is not working for me so not sure if it is not possible or it is my access issue. If it's possible, could you provide one sample on having such connection?