Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import Global from '../../_global.mdx';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# entra user recyclebinitem clear

Expand Down Expand Up @@ -33,6 +35,25 @@ After running this command, it may take a minute before all deleted users are ef

:::

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|-----------------|------------------------|
| Microsoft Graph | User.DeleteRestore.All |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|-----------------|------------------------|
| Microsoft Graph | User.DeleteRestore.All |

</TabItem>
</Tabs>

## Examples

Removes all users from the tenant recycle bin.
Expand Down
19 changes: 19 additions & 0 deletions docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@ m365 entra user recyclebinitem list [options]

<Global />

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|-----------------|---------------|
| Microsoft Graph | User.Read.All |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|-----------------|---------------|
| Microsoft Graph | User.Read.All |

</TabItem>
</Tabs>

## Examples

List all removed users.
Expand Down
21 changes: 21 additions & 0 deletions docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import Global from '../../_global.mdx';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# entra user recyclebinitem remove

Expand Down Expand Up @@ -36,6 +38,25 @@ After running this command, it may take a minute before the deleted user is effe

:::

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|-----------------|------------------------|
| Microsoft Graph | User.DeleteRestore.All |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|-----------------|------------------------|
| Microsoft Graph | User.DeleteRestore.All |

</TabItem>
</Tabs>

## Examples

Removes a specific user from the recycle bin.
Expand Down
19 changes: 19 additions & 0 deletions docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@ After running this command, it may take a minute before the user will reappear i

:::

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|-----------------|------------------------|
| Microsoft Graph | User.DeleteRestore.All |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|-----------------|------------------------|
| Microsoft Graph | User.DeleteRestore.All |

</TabItem>
</Tabs>

## Examples

Restore user from the recycle bin.
Expand Down
Loading