Skip to content

New command: m365 pp dataverse table remove #4031

@appieschot

Description

@appieschot

Usage

m365 pp dataverse table remove

Description

Remove the specified table

Options

Option Description
-n, --name<name> The name of the dataverse table
-e, --environment <environment> The name of the environment
--asAdmin Run the command as admin for environments you do not have explicitly assigned permissions to.
--confirm Don't prompt for confirmation

Examples

Remove the contoso-users table for the given environment with confirmation prompt

m365 pp dataverse table remove --name "contoso-users" --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"

Remove the contoso-users table for the given environment with confirmation prompt without confirmation as Admin

m365 pp dataverse table remove --name "contoso-users" --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --confirm --asAdmin

Additional Info

You have to use a delete request to dynamicsApiUrl/api/data/v9.0//EntityDefinitions(LogicalName = 'logicaltablename'), and this results in a 204 No Content

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions