Describe the bug
Our Code App stops working in downstream environments (QA, PRD) after running pac code push locally against DV and then redeploying from DV (unmanaged) via the Power Platform Deployment Pipeline. The first deployment via PowerPlatform Pipeline works correctly. The issue only occurs on subsequent redeploys after running pac code push locallly.
Steps to Reproduce
- Create a Code App in DV inside a solution.
- Deploy the solution via PowerPlatform Pipeline (DV → QA/PRD) - app works correctly in QA/PRD.
- Make code changes and run
pac code push locally against DV - app works correctly in DV.
- Trigger the PowerPlatform Pipeline again (DV → QA/PRD).
- App is disappears in the environment we just deployed QA or PRD.
Expected behavior
The app should work in QA/PRD after each PP Pipeline redeploy, the same as it did on the first deployment.
Actual behavior
After step 4, the app disappears in QA/PRD. Running pac code push directly against QA/PRD to fix it is blocked because those environments contain managed solutions.
Screenshots or Error Messages
Pipeline used for deployment :

Application disappears from the environment

Environment information
- Framework, build tool or relevant package used: React, Vite, TypeScript
- Any connection/components: Dataverse (custom connector), Office 365 Users, SharePoint
Additional context
- 3 environments: DV, QA, PRD
- PP Pipeline configured as DV → QA(Managed) → PRD(Managed)
- Solution is deployed as managed to QA and PRD
pac code push is used locally against DV only
- The Code App is included in the solution promoted via PP Pipeline
- When we redeploy one more time using the pipeline after the application disappeared, a new application is created but with a different UUID
Describe the bug
Our Code App stops working in downstream environments (QA, PRD) after running
pac code pushlocally against DV and then redeploying from DV (unmanaged) via the Power Platform Deployment Pipeline. The first deployment via PowerPlatform Pipeline works correctly. The issue only occurs on subsequent redeploys after running pac code push locallly.Steps to Reproduce
pac code pushlocally against DV - app works correctly in DV.Expected behavior
The app should work in QA/PRD after each PP Pipeline redeploy, the same as it did on the first deployment.
Actual behavior
After step 4, the app disappears in QA/PRD. Running
pac code pushdirectly against QA/PRD to fix it is blocked because those environments contain managed solutions.Screenshots or Error Messages
Pipeline used for deployment :


Application disappears from the environment
Environment information
Additional context
pac code pushis used locally against DV only