Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

publish power bi reports

HI

Is it possible to publish power bi reports without using Power BI desktop? (for example using powershell...)

Thank you

Riccardo

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @RiccardoBefore 

 

Yes, you can. plz refer to the REST API to achieve this:

https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimport

https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimportingroup 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

4 REPLIES 4
v-diye-msft
Community Support
Community Support

Hi @RiccardoBefore 

 

Yes, you can. plz refer to the REST API to achieve this:

https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimport

https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimportingroup 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

@RiccardoBefore , I found one video showing that. If you have not explored that in the past. check this out -https://www.youtube.com/watch?v=0fs5v-TDkpk

Thank you @amitchandak 

I did the tests and everything worked correctly. I used New-PowerBIReport. To rerun New-PowerBIReport I first deleted the report using Remove-PowerBIReport . But Remove-PowerBIReport clears only the report and not the dataset, and when I review New-PowerBIReport I find two datasets.

How do I delete a dataset with Powershell?

 

Thank you for your help

 

Riccardo

@RiccardoBefore , This refers to this documentation, if this can help

https://github.com/microsoft/powerbi-powershell

 

At a first look, I did not delete a dataset, But might have to look more. 

 

Announcement page -https://powerbi.microsoft.com/en-us/blog/working-with-powershell-in-power-bi/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.