Forum Discussion
Pipelines - moving the opposite direction
Hi,
Please can you tell me how to deploy a file from test to development? (i.e. the other way to normal)
(the reason for the question is that if I don't do this, and upload a file to development then when I deplay to test it creates a seperate file even though it has the same name. Therefore when I deplay to live then the sharing links won't work as expected)
(Edit: I see from googling that if the development workspace is completely empty then I can reverse-deploy the whole of Test to Deployment. But I can not do this because there is so many different files under development in the Development workspace.)
Thank you!
PW
Hi PowerWhy - you can deploying a file from Test to Development in Power BI, especially when the usual flow is the other way around, requires careful planning to avoid issues like duplicate files or broken links.
1.Backup Your File
Ensure you have a local copy of the file you're working with (e.g., a .pbix file or dataset).
This serves as a failsafe in case something goes wrong.
2.Identify the File in Test WorkspaceVerify that the file in the Test workspace is the one you want to deploy to Development.
Ensure the file is up-to-date and functioning correctly.
3.Download the File from Test WorkspaceOpen the Test workspace in Power BI Service.
4.Locate the file you want to reverse-deploy.
Download the file as a .pbix file:
5.Click the More options (...) next to the file.
Select Download this file.
(Note: Make sure you have the necessary permissions to download the file.)
Update Versioning (Optional)If your organization uses version control, update the version number or add a note indicating this file is being moved back to Development.
Upload to Development WorkspaceOpen the Development workspace in Power BI Service.
Upload the downloaded .pbix file:
Click Upload or drag the file into the workspace.
Ensure you overwrite the existing file if it has the same name to maintain continuity.
Verify and TestAfter uploading, confirm the file works as expected in the Development workspace.
Check any reports, datasets, or dashboards linked to the file to ensure functionality.
Adjust Links and Sharing (if needed)If the file is used in shared links or embedded reports, ensure the new version retains the same GUID (Global Unique Identifier). This typically happens if you overwrite the file in the workspace.
Communicate ChangesInform your team or stakeholders about the reverse deployment to avoid confusion.
Hi PowerWhy - If the file in the Development workspace has been accidentally deleted, you cannot directly overwrite it since the original GUID (Global Unique Identifier) associated with that file no longer exists.
Deployment Pipelines typically allow deployment from Development to Test, but you can reverse the deployment direction if the pipeline supports it.
Ensure the file in Test is marked as the version to be deployed.
Deploy Only the File
This will deploy the file back to Development without affecting other content in the workspace.
Check the Deployment Pipeline settings to ensure you’re deploying the correct item
Ref links:
Solved: How to get/restore deleted PBI file from Power BI ... - Microsoft Fabric Community
Solved: Re: PowerBI Deployment Pipelines as source Control - Microsoft Fabric Community
9 Replies
- rajendraongole1
Super User
Hi PowerWhy - you can deploying a file from Test to Development in Power BI, especially when the usual flow is the other way around, requires careful planning to avoid issues like duplicate files or broken links.
1.Backup Your File
Ensure you have a local copy of the file you're working with (e.g., a .pbix file or dataset).
This serves as a failsafe in case something goes wrong.
2.Identify the File in Test WorkspaceVerify that the file in the Test workspace is the one you want to deploy to Development.
Ensure the file is up-to-date and functioning correctly.
3.Download the File from Test WorkspaceOpen the Test workspace in Power BI Service.
4.Locate the file you want to reverse-deploy.
Download the file as a .pbix file:
5.Click the More options (...) next to the file.
Select Download this file.
(Note: Make sure you have the necessary permissions to download the file.)
Update Versioning (Optional)If your organization uses version control, update the version number or add a note indicating this file is being moved back to Development.
Upload to Development WorkspaceOpen the Development workspace in Power BI Service.
Upload the downloaded .pbix file:
Click Upload or drag the file into the workspace.
Ensure you overwrite the existing file if it has the same name to maintain continuity.
Verify and TestAfter uploading, confirm the file works as expected in the Development workspace.
Check any reports, datasets, or dashboards linked to the file to ensure functionality.
Adjust Links and Sharing (if needed)If the file is used in shared links or embedded reports, ensure the new version retains the same GUID (Global Unique Identifier). This typically happens if you overwrite the file in the workspace.
Communicate ChangesInform your team or stakeholders about the reverse deployment to avoid confusion.
- PowerWhy
Helper IV
"Click Upload or drag the file into the workspace.
Ensure you overwrite the existing file if it has the same name to maintain continuity."Sorry I wasn't clear - I accidentally deleted the file in development so I can't "overwrite" it. Is there any other way (without deleting all content in the development workspace)?
- rajendraongole1
Super User
Hi PowerWhy - If the file in the Development workspace has been accidentally deleted, you cannot directly overwrite it since the original GUID (Global Unique Identifier) associated with that file no longer exists.
Deployment Pipelines typically allow deployment from Development to Test, but you can reverse the deployment direction if the pipeline supports it.
Ensure the file in Test is marked as the version to be deployed.
Deploy Only the File
This will deploy the file back to Development without affecting other content in the workspace.
Check the Deployment Pipeline settings to ensure you’re deploying the correct item
Ref links:
Solved: How to get/restore deleted PBI file from Power BI ... - Microsoft Fabric Community
Solved: Re: PowerBI Deployment Pipelines as source Control - Microsoft Fabric Community
- PowerWhy
Helper IV
When you say "Deploy Only the file" do you mean select both the dataset and the report (the 2 files that make up the single .pbix file) and click the Deploy button highlighted below?
- blopez11
Super User
Depending on how you do your development, but another option is to disconnect the dev workspace from the development stage of the pipeline, publish the report in question to the dev workspace, reconnect the dev workspace to the development stage of the pipeline. The lineage between the pipeline dev and test stages should re-establish.
- PowerWhy
Helper IV
Thank you but the development workspace has too much in from too many different people to be able to do that in practice.
- AnonymousNot applicable
Hi PowerWhy,
Thank for reaching out in Microsoft Community Forum.I trust rajendraongole1 response is accurate and will address your issue.
If you have any further questions or updates regarding your issue, feel free to ask, and we will look into that.
If the Super User's answer meets your requirements, please consider marking it as the "Accepted as Solution"
Regards,
Pavan. - AnonymousNot applicable
Hi PowerWhy.,
I wanted to follow up since we haven't heard back from you regarding our last response. We hope your issue has been resolved.
If the community member's answer your query, please mark it as "Accept as Solution" and select "Yes" if it was helpful.
If you need any further assistance, feel free to reach out.
Thank you,
Pavan. - AnonymousNot applicable
Hi PowerWhy,
I wanted to follow up since we haven't heard back from you regarding our last response. We hope your issue has been resolved.
If the community member's answer your query, please mark it as "Accept as Solution" and select "Yes" if it was helpful.
If you need any further assistance, feel free to reach out.
Thank you,
Pavan.