Skip to content

New command: m365 pp website remove  #6257

@appieschot

Description

@appieschot

Usage

m365 pp website remove [options]

Description

Removes the specified Power Pages website from the list of active sites

Options

Option Description
--url [url] The URL of the website to remove. Specify either url, name or id.
-i, --id [id] The WebSiteId (GUID) of the website to remove. Specify either url, name or id.
-n, --name [name] The unique name (not the display name) of the website to remove. Specify either url, name or id.
-e, --environmentName <environmentName> The name of the environment.
-f, --force Don't prompt for confirmation

Examples

Deletes 2ca3eaa5-140f-4175-8261-3272edf9f339 Power Pages website in the given environment.

m365 pp website remove --id "2ca3eaa5-140f-4175-8261-3272edf9f339" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"

Deletes ContosoDemo Power Pages website in the given environment without confirmation prompt.

m365 pp website remove --name "ContosoDemo" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --force

Additional Info

Have a look at: https://learn.microsoft.com/en-us/rest/api/power-platform/powerpages/websites/delete-website

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions