Paportal

Commands to work with Portals support for Microsoft Power Platform CLI.

Parameters

Property Name Description Example
download Download portal website content from the current Dataverse environment. It has the following parameters:
  • path: Path where the website content will be downloaded (alias: -p).
  • webSiteId: Portal website ID to download (alias: -id).
  • overwrite: (Optional) true to overwrite existing content, false to fail if the folder already has website content (alias: -o).
pac paportal download --path "C:\portals" --webSiteId f88b70cc-580b-4f1a-87c3-41debefeb902
list Lists all portal websites from the current Dataverse environment. pac paportal list
upload Upload portal website content to the current Dataverse environment. It has the following parameter:
  • path: Path where the website content is stored (alias: -p).
  • deploymentProfile: Upload portal data with environment details defined through profile variables in deployment-profiles/[profile-name].depoyment.yaml file.
pac paportal upload --path "C:\portals\starter-portal"

See also

What is Microsoft Power Platform CLI?