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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Publish/Import Paginated reports(rdl) to Power BI Service using Power Shell/API

Hello,

Are there any Power shell script/API available to Publish/Import Paginated reports(rdl) to Power BI Service?

Below Post import in Group is not working.

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/imports?datasetDisplayName={datasetDisplayName}

 

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

 

Thanks.

1 ACCEPTED SOLUTION
rpatkar
Power BI Team
Power BI Team

While not powershell scripts, we have a migration tool to help move reports from one-prem to cloud service - https://github.com/microsoft/RdlMigration

 

Regarding using powershell / API, have you checked out https://dev.to/kenakamu/upload-rdl-file-s-to-power-bi-via-api-28h

View solution in original post

5 REPLIES 5
rpatkar
Power BI Team
Power BI Team

While not powershell scripts, we have a migration tool to help move reports from one-prem to cloud service - https://github.com/microsoft/RdlMigration

 

Regarding using powershell / API, have you checked out https://dev.to/kenakamu/upload-rdl-file-s-to-power-bi-via-api-28h

I tried to follow that PS script, but it was not working for me. I found this much simpler option.

 

New-PowerBIReport -Path [FULL PATH TO FILE] -Name [FULL NAME INCLUDING .rdl] -Workspace [WORKSPACE] -ConflictAction [Abort or Overwrite]

This works perfectly for me.

This PowerShell script works great. Thanks for posting. Looks like I'll be able to use this script as a base to include our SSRS reports in our Azure DevOps pipelines and automated deployment to our Power BI workspaces/environments.

v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can find the answer here.

HOW TO CREATE AND PUBLISH PAGINATED REPORTS IN POWER BI SERVICE 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks Lionel but it does not talk about deploying RDL reports using PowerShell or API.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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