diff --git a/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx b/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx index 9c0ebf48997..46425062dfa 100644 --- a/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +++ b/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx @@ -59,6 +59,17 @@ This command is based on a Microsoft Graph API that is currently in preview and ::: +## Permissions + + + + | Resource | Permissions | + |-----------------|---------------------------------| + | Microsoft Graph | RecordsManagement.ReadWrite.All | + + + + ## Examples Create a retention label that retains documents and deletes them after one year. diff --git a/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx b/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx index 39ffef44698..cbd35f68fb6 100644 --- a/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +++ b/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx @@ -29,9 +29,20 @@ This command is based on a Microsoft Graph API that is currently in preview and ::: +## Permissions + + + + | Resource | Permissions | + |-----------------|----------------------------| + | Microsoft Graph | RecordsManagement.Read.All | + + + + ## Examples -Get a retention label +Get a retention label. ```sh m365 purview retentionlabel get --id c37d695e-d581-4ae9-82a0-9364eba4291e diff --git a/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx b/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx index 63eae77087c..edbdf979bf1 100644 --- a/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +++ b/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx @@ -24,9 +24,20 @@ This command is based on a Microsoft Graph API that is currently in preview and ::: +## Permissions + + + + | Resource | Permissions | + |-----------------|----------------------------| + | Microsoft Graph | RecordsManagement.Read.All | + + + + ## Examples -Get a list of retention labels +Get a list of retention labels. ```sh m365 purview retentionlabel list diff --git a/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx b/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx index 5ed9754d597..3fa7969c8f3 100644 --- a/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +++ b/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx @@ -1,4 +1,6 @@ import Global from '/docs/cmd/_global.mdx'; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # purview retentionlabel remove @@ -30,9 +32,20 @@ This command is based on a Microsoft Graph API that is currently in preview and ::: +## Permissions + + + + | Resource | Permissions | + |-----------------|---------------------------------| + | Microsoft Graph | RecordsManagement.ReadWrite.All | + + + + ## Examples -Delete a retention label +Delete a retention label. ```sh m365 purview retentionlabel remove --id 'e554d69c-0992-4f9b-8a66-fca3c4d9c531' diff --git a/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx b/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx index 35f0fe120b3..2b880377fbc 100644 --- a/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +++ b/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx @@ -1,4 +1,6 @@ import Global from '/docs/cmd/_global.mdx'; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # purview retentionlabel set @@ -51,6 +53,17 @@ This command is based on a Microsoft Graph API that is currently in preview and ::: +## Permissions + + + + | Resource | Permissions | + |-----------------|---------------------------------| + | Microsoft Graph | RecordsManagement.ReadWrite.All | + + + + ## Examples Update a retention label so that it retains documents as records and deletes them after one year.