-
In Visual Studio Code, I authenticated and I successfully got a list of sites and their Website ID's. Would you be able to help? pac paportal download --path "[path]" --webSiteId [Website ID] Information: Started downloading website [Website ID] Error: Website record [Website ID] doesn't exist. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Solution: When you use the Power Platform CLI to upload or download configuration data for a website that uses the enhanced data model, you must use the modelVersion parameter. A value of 2 indicates that the enhanced data model should be used. pac powerpages download --path --webSiteId --modelVersion 2 |
Beta Was this translation helpful? Give feedback.
Solution:
https://learn.microsoft.com/en-us/power-pages/admin/enhanced-data-model#data-model-power-platform-cli-parameters
When you use the Power Platform CLI to upload or download configuration data for a website that uses the enhanced data model, you must use the modelVersion parameter. A value of 2 indicates that the enhanced data model should be used.
pac powerpages download --path --webSiteId --modelVersion 2