microsoft / powerplatform-vscode

The Power Platform VSCode extension makes it easy to manage Power Platform environments and allows the developer to create, build and deploy Power Platform solutions, packages and portals.
MIT License
206 stars 37 forks source link

Power Pages Configuration Export Issue #1005

Open mfux2748 opened 1 year ago

mfux2748 commented 1 year ago

I am having the following pipeline in use:

  1. Azure DevOps with git repo
  2. Power Platform Build Tools, task version 2
  3. Export a defined portal configuration using Power Platform Download PAPortal, Task Version 2 with the following configuration

steps:

  1. Commit to repo

When I change the name of a component (i.e. web page) in the Portal Management App (i.e. "Contact Us" to "Contact Us1" then after the next run of the pipeline both "Contact Us" and "Contact Us1" data are available, both having the same record GUID.

PacCLI_PortalChange

PacCLI_RepoStorage

It seems that although Overwrite: true is set in the pipeline task downloading the data from Dataverse the folders are not deleted before storing the new data.

When I do the same in VS Code using pacCLI everything works fine.

Cliveo commented 1 year ago

I'm facing this issue running pac portal download with multistep form steps, When I renamed the step the original and the new step both exist as folders locally, when then uploading to the next environment using devops pipeline updates to the newly named step do not get applied. Should this not be using GUID to match for download?

PAC CLI Version - 1.27.6

download command using --overwrite upload command using --forceUploadAll

Cliveo commented 1 year ago

Just experienced this with content snippets as well, is this something that will be resolved?