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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors