powerplatform-build-tools
powerplatform-build-tools copied to clipboard
Power Pages Configuration Export Issue
I am having the following pipeline in use:
- Azure DevOps with git repo
- Power Platform Build Tools, task version 2
- 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
- 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.
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.