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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
DavideBono97
Frequent Visitor

Publish report with Api

HI
I have two tenants, one for Development and one for Production
We develop the reports from PowerBI Desktop and publish the pbix by publishing directly from PowerBI Desktop

To publish the content on both tenants I have to switch accounts every time and data connection

 

I wanted to avoid doing this by trying to use some PowerBI API to publish the pbix automatically on both tenants
Since the data connection is saved inside the pbix, through the import API I can only upload to my workspace on one tenant and not on the other
Through the Import groups/xxx/imports?datasetDisplayName=xxx api I get the following error : {"error":{"code":"PowerBIModelNotFoundException","pbi.error":{"code":"PowerBIModelNotFoundException"," parameters":{},"details":[],"exceptionCulprit":1}}}

How can I tell it to ignore the connection? I am only interested in importing the report and then changing the connection later

Thanks in advance

3 REPLIES 3
nunoc1
New Member

Hi @DavideBono97,

 

I'm having the same issue, did you get any solution on this?

 

Best regards

Hi

No, I haven't found any solution unfortunately

Anonymous
Not applicable

Hi @DavideBono97 ,

So far, to my knowledge, there is no parameters to achieve it.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.