Skip to content

Code App disappears in QA/PRD (Managed) after local pac code push to DV followed by PowerPlatform Pipeline redeploy #325

@HeritierLucMinani

Description

@HeritierLucMinani

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

  1. Create a Code App in DV inside a solution.
  2. Deploy the solution via PowerPlatform Pipeline (DV → QA/PRD) - app works correctly in QA/PRD.
  3. Make code changes and run pac code push locally against DV - app works correctly in DV.
  4. Trigger the PowerPlatform Pipeline again (DV → QA/PRD).
  5. 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 :
Image
Application disappears from the environment
Image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions