microsoft / microsoft/powerplatform-actions

Solution is imported as "update" instead of "upgrade" and there is no option to do an "upgrade".

Open
#368 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
301
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Using import solution, there is no option to import it as an "upgrade" (i.e. where items not present in the solution are deleted from the environment). -- Instead it seems to be forcing an "update" (i.e. only new and changed are added; but items not present do not get removed).

Please add the option to do an "update" of a solution. So that removed objects are properly removed from the target environment.

Here's an image of what I'm talking about (see below). -- And to be clear: I don't want to stage it for an upgrade and then upgrade it as a second action -- that would double the size and complexity of my script. -- I just want to import it as a (non-staged) upgrade and be done all in one step. -- Like just with an extra parameter to the import solution action.

Thanks!
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the import solution action and its supported parameters, then review how it currently handles update versus upgrade behavior. Done means a non-staged import option can remove solution items absent from the target environment in one action; clarify the requested terminology before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.