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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
mahendran
Regular Visitor

Need Powershell Script to publish Power bi report to Web

Hi All,

 

Please share if any one have powershell /phython script to publish Power bi report to Web (it will give below power bi URL)

 

https://app.powerbi.com/view?r=easdhaskfjalflakffafa

 

Thank you in advance.

 

 

Thanks,

Mahendran Raman

1 ACCEPTED SOLUTION

Hi mahendran,

 

You requirement can be achieved completely because powershell module are usually be used to send data to power bi and do operations in visual level, in addtion, to use power shell in azure, you should register a power bi app in azure and install powershell module, in addtion, the power bi module can do things like follow, for details, refer to https://community.powerbi.com/t5/Community-Blog/Integrating-PowerShell-with-Power-BI-Part-1/ba-p/307....
Connect-PowerBi
Switch-PowerBIContext
Add-PowerBIDataSet
Get-PowerBIDataSets
Get-PowerBITables
Update-PowerBITableSchema
Add-PowerBIRows
Remove-PowerBIRows
Get-PowerBIGroups
New-PowerBIDataSet
New-PowerBITable
New-PowerBIColumn

 

Hope it's helpful to you.

 

Jimmy Tao

View solution in original post

3 REPLIES 3
mahendran
Regular Visitor

I want to automate below task.

 

 

To find your publish to web URL:

  1. Open your report in Power BI Desktop.

  2. If you have not already done so, publish your report to the Power BI Service. 

  3. Open the published report in the Power BI service. Select File > Publish to web.

http://community.powerbi.com/t5/Gallery-Forum/How-to-find-your-publish-to-web-URL/m-p/46358#M2

Hi mahendran,

 

You requirement can be achieved completely because powershell module are usually be used to send data to power bi and do operations in visual level, in addtion, to use power shell in azure, you should register a power bi app in azure and install powershell module, in addtion, the power bi module can do things like follow, for details, refer to https://community.powerbi.com/t5/Community-Blog/Integrating-PowerShell-with-Power-BI-Part-1/ba-p/307....
Connect-PowerBi
Switch-PowerBIContext
Add-PowerBIDataSet
Get-PowerBIDataSets
Get-PowerBITables
Update-PowerBITableSchema
Add-PowerBIRows
Remove-PowerBIRows
Get-PowerBIGroups
New-PowerBIDataSet
New-PowerBITable
New-PowerBIColumn

 

Hope it's helpful to you.

 

Jimmy Tao

Hi Jimmy Tao,

 

Thank you for your help. I will try this solution.

 

Thanks,

Mahendran Raman

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors