Forum Discussion

mahendran's avatar
mahendran
Regular Visitor
8 years ago
Solved

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

  • 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/307712.
    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

3 Replies

    • v-yuta-msft's avatar
      v-yuta-msft
      Icon for Community Support rankCommunity Support

      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/307712.
      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

      • mahendran's avatar
        mahendran
        Regular Visitor

        Hi Jimmy Tao,

         

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

         

        Thanks,

        Mahendran Raman