Skip to content

New command: aad user recyclebinitem clear #4501

@milanholemans

Description

@milanholemans

Usage

m365 aad user recyclebinitem clear [options]

Description

Removes all users from the tenant recycle bin

Options

Option Description
--confirm Don't prompt for confirmation.

Examples

Removes all users from the tenant recycle bin

m365 aad user recyclebinitem clear

Removes all users from the tenant recycle bin without confirmation prompt

m365 aad user recyclebinitem clear --confirm

Default properties

No response

Additional Info

Let's use Graph batching to batch all remove requests.

API docs:

Let's specify in the docs which roles you need to remove a user:

  • User Administrator
  • Privileged Authentication Administrator
  • Global Administrator

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions