Skip to content

New command: entra roledefinition remove #6468

@MartinM85

Description

@MartinM85

Usage

m365 entra roledefinition remove

Description

Removes a custom Microsoft Entra role definition

Options

Option Description
-i, --id [id] The id of the role definition to be removed. Specify either id or displayName, but not both.
-n, --displayName [displayName] The display name of the role definition to be removed. Specify either id or displayName, but not both.
-f, --force Don't prompt for confirmation.

Examples

Remove a custom role definition by its id

m365 entra roledefinition remove --id 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7

Remove a custom role definition by its display name without prompting for confirmation

m365 entra roledefinition remove --displayName 'My Custom Role' --force

Default properties

No response

Additional Info

More info: https://learn.microsoft.com/en-us/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0&tabs=http

I will work on it

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions