microsoft / microsoft/powerplatform-vscode

Power Pages Configuration Export Issue

Open
#1,005 2 comments 0 reactions 2 assignees View on GitHub

@MrRishabhJain is already working on this.

Since Aug 4, 2023.

paportal
Dominant language
TypeScript
Stars
277
Forks
60
Avg merge
1d 1h
Merged PRs (30d)
14

Description

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:

  • task: microsoft-IsvExpTools.PowerPlatform-BuildTools.download-paportal.PowerPlatformDownloadPaportal@2
    displayName: 'Power Platform Download PAPortal '
    inputs:
    authenticationType: PowerPlatformSPN
    PowerPlatformSPN: '$(sourceEnvironment)'
    DownloadPath: Portals
    WebsiteId: '***ID Deleted'
    Overwrite: true
    ExcludeEntities: sitesetting.yml
  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.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.