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,
I am hitting an error when I try to scan through all the workspace in my organization stored in a text file and retrieve all the power bi reports using the power shell command. Even I don't export to a text file, it runs for a while and then throws the same error.
I read in another thread it could be due to the tenant being busy. I tried executing this command during different times and it always results in an error. Is there any way to fix it?
Basically, I need to extract all the workspaces and artifacts under it in an excel or CSV format. So I extract a workspace id first and then copied to a text file and scan through it to get the report details.
Hi @Anonymous ,
https://community.powerbi.com/t5/Developer/How-do-I-find-the-workspace-for-a-report/td-p/1223830
Hope these help
Best Regards,
Eyelyn Qin
@Anonymous , Make sure the power bi file is closed. Also, close any other power shell that might have accessed this file. and try and share any error
Thanks for your reply. I restarted the pc and tried but still the same error. As I mentioned earlier, even if i don't export to file I get the same error.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.