Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
Is it possible to publish desktop reports to a specific workspace by using a script in Powershell?
If it is possible, could someone share that script with me?
Thank you!
Solved! Go to Solution.
@SevB wrote:
Hi,
Is it possible to publish desktop reports to a specific workspace by using a script in Powershell?
If it is possible, could someone share that script with me?
Thank you!
You can import pbix file to a specific workspace by calling the REST API Create Import in Powershell. As to Azure AD authentication, you can reference this github lib. For futher Powershell development question, I'd suggest you post in the dedicated Powershell forum.
@SevB wrote:
Hi,
Is it possible to publish desktop reports to a specific workspace by using a script in Powershell?
If it is possible, could someone share that script with me?
Thank you!
You can import pbix file to a specific workspace by calling the REST API Create Import in Powershell. As to Azure AD authentication, you can reference this github lib. For futher Powershell development question, I'd suggest you post in the dedicated Powershell forum.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |