pp website get
Gets information about the specified Power Pages website.
Usage
m365 pp website get [options]
Options
-u, --url [url]
The URL of the website to retrieve. Specify either
url
,name
orid
.-n, --name [name]
The name of the website to retrieve. Specify either
url
,name
orid
.-i, --id [id]
The WebSite Id (GUID) of the website to retrieve. Specify either
url
,name
orid
.-e, --environmentName <environmentName>
The name of the environment from which to retrieve the Power Pages website.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Examples
Retrieve Demo Power Pages website by name in the given environment using name
.
m365 pp website get --name Demo --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
Retrieve Demo Power Pages website by name in the given environment using id
.
m365 pp website get --id 4916bb2c-91e1-4716-91d5-b6171928fac9 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
Retrieve Demo Power Pages website by name in the given environment using url
.
m365 pp website get --url https://site-0uaq9.powerappsportals.com --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
Response
- JSON
- Text
- CSV
- Markdown
{
"@odata.metadata": "https://api.powerplatform.com/powerpages/environments/Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0/websites/$metadata#Websites",
"id": "4916bb2c-91e1-4716-91d5-b6171928fac9",
"name": "Site 1",
"createdOn": "2024-10-27T12:00:03",
"templateName": "DefaultPortalTemplate",
"websiteUrl": "https://site-0uaq9.powerappsportals.com",
"tenantId": "727dc1e9-3cd1-4d1f-8102-ab5c936e52f0",
"dataverseInstanceUrl": "https://org0cd4b2b9.crm4.dynamics.com/",
"environmentName": "Contoso (default)",
"environmentId": "Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0",
"dataverseOrganizationId": "2d58aeac-74d4-4939-98d1-e05a70a655ba",
"selectedBaseLanguage": 1033,
"customHostNames": [],
"websiteRecordId": "5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce",
"subdomain": "site-0uaq9",
"packageInstallStatus": "Installed",
"type": "Trial",
"trialExpiringInDays": 86,
"suspendedWebsiteDeletingInDays": 93,
"packageVersion": "9.6.9.39",
"isEarlyUpgradeEnabled": false,
"isCustomErrorEnabled": true,
"applicationUserAadAppId": "3f57aca7-5051-41b2-989d-26da8af7a53e",
"ownerId": "33469a62-c3af-4cfe-b893-854eceab96da",
"status": "OperationComplete",
"siteVisibility": "private",
"dataModel": "Enhanced"
}
id : 4916bb2c-91e1-4716-91d5-b6171928fac9
name : Site 1
siteVisibility: private
status : OperationComplete
subdomain : site-0uaq9
tenantId : 727dc1e9-3cd1-4d1f-8102-ab5c936e52f0
type : Trial
websiteUrl : https://site-0uaq9.powerappsportals.com
@odata.metadata,id,name,createdOn,templateName,websiteUrl,tenantId,dataverseInstanceUrl,environmentName,environmentId,dataverseOrganizationId,selectedBaseLanguage,websiteRecordId,subdomain,packageInstallStatus,type,trialExpiringInDays,suspendedWebsiteDeletingInDays,packageVersion,isEarlyUpgradeEnabled,isCustomErrorEnabled,applicationUserAadAppId,ownerId,status,siteVisibility,dataModel
https://api.powerplatform.com/powerpages/environments/Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0/websites/$metadata#Websites,4916bb2c-91e1-4716-91d5-b6171928fac9,Site 1,2024-10-27T12:00:03,DefaultPortalTemplate,https://site-0uaq9.powerappsportals.com,727dc1e9-3cd1-4d1f-8102-ab5c936e52f0,https://org0cd4b2b9.crm4.dynamics.com/,Contoso (default),Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0,2d58aeac-74d4-4939-98d1-e05a70a655ba,1033,5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce,site-0uaq9,Installed,Trial,86,93,9.6.9.39,0,1,3f57aca7-5051-41b2-989d-26da8af7a53e,33469a62-c3af-4cfe-b893-854eceab96da,OperationComplete,private,Enhanced
# pp website get --debug "false" --verbose "false" --name "Site 1" --environmentName "Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0"
Date: 27/10/2024
## Site 1 (4916bb2c-91e1-4716-91d5-b6171928fac9)
Property | Value
---------|-------
@odata.metadata | https://api.powerplatform.com/powerpages/environments/Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0/websites/$metadata#Websites
id | 4916bb2c-91e1-4716-91d5-b6171928fac9
name | Site 1
createdOn | 2024-10-27T12:00:03
templateName | DefaultPortalTemplate
websiteUrl | https://site-0uaq9.powerappsportals.com
tenantId | 727dc1e9-3cd1-4d1f-8102-ab5c936e52f0
dataverseInstanceUrl | https://org0cd4b2b9.crm4.dynamics.com/
environmentName | Contoso (default)
environmentId | Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0
dataverseOrganizationId | 2d58aeac-74d4-4939-98d1-e05a70a655ba
selectedBaseLanguage | 1033
websiteRecordId | 5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
subdomain | site-0uaq9
packageInstallStatus | Installed
type | Trial
trialExpiringInDays | 86
suspendedWebsiteDeletingInDays | 93
packageVersion | 9.6.9.39
isEarlyUpgradeEnabled | false
isCustomErrorEnabled | true
applicationUserAadAppId | 3f57aca7-5051-41b2-989d-26da8af7a53e
ownerId | 33469a62-c3af-4cfe-b893-854eceab96da
status | OperationComplete
siteVisibility | private
dataModel | Enhanced