Hi
I am trying to download a website using pac cli using the following command
pac powerpages download --path c:\Users\XXXX\source\repos\pac-portals --webSiteId guid.
but getting the following error message
Microsoft PowerPlatform CLI
Version: 1.29.11+g9e2b163
Online documentation: https://aka.ms/PowerPlatformCLI
Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions
Error: Website record XXXXXXXXX doesn't exist.
The website exist. What am I doing wrong?
Same problem until I found your post. It is Power Pages enhanced data model. Microsoft hasn't even updated their CLI documentation for this yet. Quick question: once I migrate and change the url in the other environment, will subsequent update through this undo the new url specification?
Hi Aaron_C,
Please execute below URL in the visual studio code:
pac paportal download --path c:\Users\XXXX\source\repos\pac-portals --webSiteId guid.
Hope that helps.
If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.
Thanks,
Akshay shah
I'm not the original poster, but this worked for me, thank you!
Hi @galaxy1900
If this site uses the Enhanced data model, try out these CLI commands.
Please tick Accept as solution if the answer is useful.
Thanks,
WarrenBelz
146,769
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional