Forum Discussion
Deployment Pipelines publishing to Dev is not replacing report as expected
Hello Nimrod_Shalit,
I'm having the same issue. I have the pbix file published to Dev. These WS are already set up Dev-Test-Prod and already have a version of the dataset and report in the WS.
Once I publish to Dev, this works just fine. It updates and publishes fine.
I then Deploy to Test by selecting the Report and Dataset in the Pipeline. It replaces in Test fine. I do have in Test the Rules set up to change the environment to Test data. So I then refresh the dataset to make sure it updates and the Report opens - No Errors. Dataset - No Errors. Check that it points to Test data- Works.
I then go to Pipeline again to Deploy to Production, select the report and dataset. I go into the WS and I see duplicate dataset and duplicate report, just created. Why is this happening? I have this happening on other WS's also. How do I fix this issue. I cannot delete the old and leave the new one because it messes up the App links. I need it to 'Replace' the existing in Production. Don't get it.
Any help with this would be appreciated.
Nimrod_Shalit - I am an Admin on Power BI and doing deployments on Workspaces.
- Nimrod_Shalit4 years ago
Power BI Team
Anonymous,
It might be that for some reason the reports and datasets between test and Prod were not created from each other, so the items are not connected and hence they are creating duplicates.
In order to solve the problem, you can do the following:
1. unassign one of the stages, either test or Prod.
2. re-assign it back to the same stage. once this happens, it creates connections between all items based on their names. Make sure that there are no duplicates before you do this operation.
3. Try and deploy again, and you should be able to just update the relevant reports/datasets.
One caveat is that when unassigning a workspace, you lose the rules that are configured, and you will need to manually configure them again. So preferably unassign the workspace without rules, or the one with least rules. Since you have rules in Test as described, consider unassigning Prod.
other than rules, there's no implications on unassigning and assigning back.
HTH,- hungpham39893 years agoRegular Visitor
Upvote this comment as it fixed my exact same issue 🙂