Join 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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |