powerplatform-vscode icon indicating copy to clipboard operation
powerplatform-vscode copied to clipboard

Power Pages Actions Upload errors when using enhanced modelVersion = "2"

Open gashupl opened this issue 7 months ago • 11 comments

My new Power Pages portal uses enhanced model version = 2. I've successfully download local copy of its files with the following PAC CLI command: pac powerpages download --path '..\portal' --webSiteId $websiteId --overwrite true --modelVersion 2

However when I would like to upload it back using VS Code Power Pages "Upload" command from menu "pac pages upload" command is executed in the background without specifying modelVersion and it results with the following error:

Error: Power Pages entities for standard data model (v1) aren't available on this org, please install required packages on this org. If you are trying to upload to enhanced data model (v2), pass model version aFeedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions

Could you please update Power Pages Actions to support enhanced model of Power Pages portals?

gashupl avatar May 29 '25 06:05 gashupl