@pnp/cli-microsoft365 7.0.0-beta.4ebf3ad → 7.0.0-beta.669444a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +1 -1
- package/dist/Auth.js +2 -1
- package/dist/Command.js +1 -1
- package/dist/cli/Cli.js +19 -2
- package/dist/m365/aad/commands/{o365group/o365group-add.js → m365group/m365group-add.js} +17 -17
- package/dist/m365/aad/commands/{o365group/o365group-conversation-list.js → m365group/m365group-conversation-list.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-conversation-post-list.js → m365group/m365group-conversation-post-list.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-get.js → m365group/m365group-get.js} +13 -10
- package/dist/m365/aad/commands/{o365group/o365group-list.js → m365group/m365group-list.js} +13 -28
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-clear.js → m365group/m365group-recyclebinitem-clear.js} +15 -15
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-list.js → m365group/m365group-recyclebinitem-list.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-remove.js → m365group/m365group-recyclebinitem-remove.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-restore.js → m365group/m365group-recyclebinitem-restore.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-remove.js → m365group/m365group-remove.js} +12 -12
- package/dist/m365/aad/commands/{o365group/o365group-renew.js → m365group/m365group-renew.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-report-activitycounts.js → m365group/m365group-report-activitycounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitydetail.js → m365group/m365group-report-activitydetail.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activityfilecounts.js → m365group/m365group-report-activityfilecounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitygroupcounts.js → m365group/m365group-report-activitygroupcounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitystorage.js → m365group/m365group-report-activitystorage.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-set.js → m365group/m365group-set.js} +17 -17
- package/dist/m365/aad/commands/{o365group/o365group-teamify.js → m365group/m365group-teamify.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-add.js → m365group/m365group-user-add.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-list.js → m365group/m365group-user-list.js} +12 -12
- package/dist/m365/aad/commands/{o365group/o365group-user-remove.js → m365group/m365group-user-remove.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-set.js → m365group/m365group-user-set.js} +15 -15
- package/dist/m365/aad/commands.js +22 -22
- package/dist/m365/cli/commands/config/config-list.js +16 -0
- package/dist/m365/cli/commands.js +1 -0
- package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
- package/dist/m365/pa/commands/app/app-permission-list.js +2 -2
- package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
- package/dist/m365/pa/commands.js +2 -0
- package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
- package/dist/m365/planner/commands/plan/plan-get.js +1 -2
- package/dist/m365/planner/commands/plan/plan-list.js +4 -5
- package/dist/m365/planner/commands/plan/plan-set.js +2 -2
- package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -2
- package/dist/m365/spfx/commands/spfx-doctor.js +73 -103
- package/dist/m365/spo/commands/file/file-add.js +13 -13
- package/dist/m365/spo/commands/file/file-checkin.js +1 -1
- package/dist/m365/spo/commands/file/file-checkout.js +1 -1
- package/dist/m365/spo/commands/file/file-copy.js +36 -4
- package/dist/m365/spo/commands/file/file-list.js +4 -4
- package/dist/m365/spo/commands/file/file-move.js +74 -98
- package/dist/m365/spo/commands/file/file-remove.js +6 -6
- package/dist/m365/spo/commands/file/file-rename.js +2 -2
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
- package/dist/m365/spo/commands/file/file-version-get.js +1 -1
- package/dist/m365/spo/commands/file/file-version-list.js +1 -1
- package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
- package/dist/m365/spo/commands/folder/folder-add.js +2 -4
- package/dist/m365/spo/commands/folder/folder-copy.js +89 -45
- package/dist/m365/spo/commands/folder/folder-get.js +1 -1
- package/dist/m365/spo/commands/folder/folder-list.js +2 -2
- package/dist/m365/spo/commands/folder/folder-move.js +89 -47
- package/dist/m365/spo/commands/folder/folder-remove.js +7 -4
- package/dist/m365/spo/commands/folder/folder-rename.js +13 -17
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/group/group-list.js +0 -1
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +2 -2
- package/dist/m365/spo/commands/site/site-set.js +2 -2
- package/dist/m365/spo/commands/theme/theme-list.js +1 -9
- package/dist/utils/planner.js +4 -3
- package/dist/utils/spo.js +13 -54
- package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +13 -13
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
- package/docs/docs/cmd/aad/user/user-set.mdx +1 -1
- package/docs/docs/cmd/cli/config/config-list.mdx +78 -0
- package/docs/docs/cmd/flow/flow-enable.mdx +2 -2
- package/docs/docs/cmd/login.mdx +6 -0
- package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
- package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
- package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +2 -2
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +2 -2
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -9
- package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
- package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-list.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-move.mdx +36 -18
- package/docs/docs/cmd/spo/file/file-remove.mdx +8 -8
- package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +39 -12
- package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-move.mdx +40 -13
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +5 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
- package/docs/docs/cmd/yammer/network/network-list.mdx +1 -1
- package/npm-shrinkwrap.json +142 -88
- package/package.json +13 -13
- /package/dist/m365/aad/commands/{o365group → m365group}/GroupExtended.js +0 -0
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group conversation list
|
|
6
6
|
|
|
7
7
|
Lists conversations for the specified Microsoft 365 group
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group conversation list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -26,7 +26,7 @@ m365 aad o365group conversation list [options]
|
|
|
26
26
|
Lists conversations for the specified Microsoft 365 group
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
m365 aad
|
|
29
|
+
m365 aad m365group conversation list --groupId '00000000-0000-0000-0000-000000000000'
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## Response
|
|
@@ -77,7 +77,7 @@ m365 aad o365group conversation list --groupId '00000000-0000-0000-0000-00000000
|
|
|
77
77
|
<TabItem value="Markdown">
|
|
78
78
|
|
|
79
79
|
```md
|
|
80
|
-
# aad
|
|
80
|
+
# aad m365group conversation list --groupId "1cdce329-46a9-4fd3-8826-fe6587d25a8c"
|
|
81
81
|
|
|
82
82
|
Date: 2023-06-01
|
|
83
83
|
|
|
@@ -2,24 +2,24 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group conversation post list
|
|
6
6
|
|
|
7
7
|
Lists conversation posts of a Microsoft 365 group
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group conversation post list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-i, --groupId [groupId]`
|
|
19
|
-
: The Id of the
|
|
19
|
+
: The Id of the Microsoft 365 Group. You can specify the groupId or groupDisplayName, but not both.
|
|
20
20
|
|
|
21
21
|
`-d, --groupDisplayName [groupDisplayName]`
|
|
22
|
-
: The Displayname of the
|
|
22
|
+
: The Displayname of the Microsoft 365 Group. You can specify the groupId or groupDisplayName, but not both.
|
|
23
23
|
|
|
24
24
|
`-t, --threadId <threadId>`
|
|
25
25
|
: The ID of the thread to retrieve details for
|
|
@@ -32,13 +32,13 @@ m365 aad o365group conversation post list [options]
|
|
|
32
32
|
Lists the posts of the specific conversation of Microsoft 365 group by groupId
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 aad
|
|
35
|
+
m365 aad m365group conversation post list --groupId '00000000-0000-0000-0000-000000000000' --threadId 'AAQkADkwN2Q2NDg1LWQ3ZGYtNDViZi1iNGRiLTVhYjJmN2Q5NDkxZQAQAOnRAfDf71lIvrdK85FAn5E='
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Lists the posts of the specific conversation of Microsoft 365 group by groupDisplayName
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
m365 aad
|
|
41
|
+
m365 aad m365group conversation post list --groupDisplayName 'MyGroup' --threadId 'AAQkADkwN2Q2NDg1LWQ3ZGYtNDViZi1iNGRiLTVhYjJmN2Q5NDkxZQAQAOnRAfDf71lIvrdK85FAn5E='
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Response
|
|
@@ -97,7 +97,7 @@ m365 aad o365group conversation post list --groupDisplayName 'MyGroup' --threadI
|
|
|
97
97
|
<TabItem value="Markdown">
|
|
98
98
|
|
|
99
99
|
```md
|
|
100
|
-
# aad
|
|
100
|
+
# aad m365group conversation post list --groupId "1cdce329-46a9-4fd3-8826-fe6587d25a8c" --threadId "AAQkADEzYjY5N2FmLTVmZDYtNDgyYi1iZjBlLTgyNDU5ZTYyNGFkZQAQAGhnITi5DTNEgxisPwMQu74="
|
|
101
101
|
|
|
102
102
|
Date: 2023-06-02
|
|
103
103
|
|
|
@@ -114,4 +114,4 @@ m365 aad o365group conversation post list --groupDisplayName 'MyGroup' --threadI
|
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
</TabItem>
|
|
117
|
-
</Tabs>
|
|
117
|
+
</Tabs>
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group get
|
|
6
6
|
|
|
7
7
|
Gets information about the specified Microsoft 365 Group or Microsoft Teams team
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group get [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -29,13 +29,13 @@ m365 aad o365group get [options]
|
|
|
29
29
|
Get information about the Microsoft 365 Group with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
m365 aad
|
|
32
|
+
m365 aad m365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
Get information about the Microsoft 365 Group with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_ and also retrieve the URL of the corresponding SharePoint site
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
m365 aad
|
|
38
|
+
m365 aad m365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUrl
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
## Response
|
|
@@ -134,7 +134,7 @@ m365 aad o365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUr
|
|
|
134
134
|
<TabItem value="Markdown">
|
|
135
135
|
|
|
136
136
|
```md
|
|
137
|
-
# aad
|
|
137
|
+
# aad m365group get --id "ff99b38f-0a4b-4fbb-a034-b86988061e6d"
|
|
138
138
|
|
|
139
139
|
Date: 2023-06-01
|
|
140
140
|
|
|
@@ -156,4 +156,4 @@ m365 aad o365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUr
|
|
|
156
156
|
```
|
|
157
157
|
|
|
158
158
|
</TabItem>
|
|
159
|
-
</Tabs>
|
|
159
|
+
</Tabs>
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group list
|
|
6
6
|
|
|
7
7
|
Lists Microsoft 365 Groups in the current tenant
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -24,9 +24,6 @@ m365 aad o365group list [options]
|
|
|
24
24
|
`--includeSiteUrl`
|
|
25
25
|
: Set to retrieve the site URL for each group
|
|
26
26
|
|
|
27
|
-
`--deleted`
|
|
28
|
-
: Set to only retrieve deleted groups
|
|
29
|
-
|
|
30
27
|
`--orphaned`
|
|
31
28
|
: Set to only retrieve groups without owners
|
|
32
29
|
```
|
|
@@ -37,8 +34,6 @@ m365 aad o365group list [options]
|
|
|
37
34
|
|
|
38
35
|
Using the `--includeSiteUrl` option, you can retrieve the URL of the site associated with the particular Microsoft 365 Group. If you however retrieve too many groups and will try to get their site URLs, you will most likely get an error as the command will get throttled, issuing too many requests, too frequently. If you get an error, consider narrowing down the result set using the `--displayName` and `--mailNickname` filters.
|
|
39
36
|
|
|
40
|
-
Retrieving the URL of the site associated with the particular Microsoft 365 Group is not possible when retrieving deleted groups.
|
|
41
|
-
|
|
42
37
|
Using the `--orphaned` option, you can retrieve Microsoft 365 Groups without owners.
|
|
43
38
|
|
|
44
39
|
## Examples
|
|
@@ -46,44 +41,32 @@ Using the `--orphaned` option, you can retrieve Microsoft 365 Groups without own
|
|
|
46
41
|
List all Microsoft 365 Groups in the tenant
|
|
47
42
|
|
|
48
43
|
```sh
|
|
49
|
-
m365 aad
|
|
44
|
+
m365 aad m365group list
|
|
50
45
|
```
|
|
51
46
|
|
|
52
47
|
List Microsoft 365 Groups with display name starting with _Project_
|
|
53
48
|
|
|
54
49
|
```sh
|
|
55
|
-
m365 aad
|
|
50
|
+
m365 aad m365group list --displayName Project
|
|
56
51
|
```
|
|
57
52
|
|
|
58
53
|
List Microsoft 365 Groups mail nick name starting with _team_
|
|
59
54
|
|
|
60
55
|
```sh
|
|
61
|
-
m365 aad
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
List deleted Microsoft 365 Groups with display name starting with _Project_
|
|
65
|
-
|
|
66
|
-
```sh
|
|
67
|
-
m365 aad o365group list --displayName Project --deleted
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
List deleted Microsoft 365 Groups mail nick name starting with _team_
|
|
71
|
-
|
|
72
|
-
```sh
|
|
73
|
-
m365 aad o365group list --mailNickname team --deleted
|
|
56
|
+
m365 aad m365group list --mailNickname team
|
|
74
57
|
```
|
|
75
58
|
|
|
76
59
|
List Microsoft 365 Groups with display name starting with _Project_ including
|
|
77
60
|
the URL of the corresponding SharePoint site
|
|
78
61
|
|
|
79
62
|
```sh
|
|
80
|
-
m365 aad
|
|
63
|
+
m365 aad m365group list --displayName Project --includeSiteUrl
|
|
81
64
|
```
|
|
82
65
|
|
|
83
66
|
List Microsoft 365 Groups without owners
|
|
84
67
|
|
|
85
68
|
```sh
|
|
86
|
-
m365 aad
|
|
69
|
+
m365 aad m365group list --orphaned
|
|
87
70
|
```
|
|
88
71
|
|
|
89
72
|
## Response
|
|
@@ -142,9 +125,9 @@ m365 aad o365group list --orphaned
|
|
|
142
125
|
<TabItem value="Text">
|
|
143
126
|
|
|
144
127
|
```text
|
|
145
|
-
id displayName
|
|
146
|
-
------------------------------------
|
|
147
|
-
0bc3d172-dfab-463f-b79a-ed8ec5d3d455 Leadership
|
|
128
|
+
id displayName mailNickname
|
|
129
|
+
------------------------------------ ----------- ------------
|
|
130
|
+
0bc3d172-dfab-463f-b79a-ed8ec5d3d455 Leadership leadership
|
|
148
131
|
```
|
|
149
132
|
|
|
150
133
|
</TabItem>
|
|
@@ -159,7 +142,7 @@ m365 aad o365group list --orphaned
|
|
|
159
142
|
<TabItem value="Markdown">
|
|
160
143
|
|
|
161
144
|
```md
|
|
162
|
-
# aad
|
|
145
|
+
# aad m365group list
|
|
163
146
|
|
|
164
147
|
Date: 2023-06-01
|
|
165
148
|
|
|
@@ -181,4 +164,4 @@ m365 aad o365group list --orphaned
|
|
|
181
164
|
```
|
|
182
165
|
|
|
183
166
|
</TabItem>
|
|
184
|
-
</Tabs>
|
|
167
|
+
</Tabs>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group recyclebinitem clear
|
|
4
4
|
|
|
5
5
|
Clears Microsoft 365 Groups from the recycle bin in the current tenant
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group recyclebinitem clear [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Options
|
|
@@ -24,15 +24,15 @@ m365 aad o365group recyclebinitem clear [options]
|
|
|
24
24
|
Removes all deleted Microsoft 365 Groups in the tenant. Will prompt for confirmation before permanently removing groups.
|
|
25
25
|
|
|
26
26
|
```sh
|
|
27
|
-
m365 aad
|
|
27
|
+
m365 aad m365group recyclebinitem clear
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Removes all deleted Microsoft 365 Groups in the tenant. Will NOT prompt for confirmation before permanently removing groups.
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
|
-
m365 aad
|
|
33
|
+
m365 aad m365group recyclebinitem clear --force
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
## Response
|
|
37
37
|
|
|
38
|
-
The command won't return a response on success.
|
|
38
|
+
The command won't return a response on success.
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group recyclebinitem list
|
|
6
6
|
|
|
7
7
|
Lists Groups from the recycle bin in the current tenant
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group recyclebinitem list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -29,25 +29,25 @@ m365 aad o365group recyclebinitem list [options]
|
|
|
29
29
|
List all deleted Microsoft 365 Groups in the tenant
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
m365 aad
|
|
32
|
+
m365 aad m365group recyclebinitem list
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
List deleted Microsoft 365 Groups with display name starting with _Project_
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
m365 aad
|
|
38
|
+
m365 aad m365group recyclebinitem list --groupDisplayName Project
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
List deleted Microsoft 365 Groups mail nick name starting with _team_
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365 aad
|
|
44
|
+
m365 aad m365group recyclebinitem list --groupMailNickname team
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
List deleted Microsoft 365 Groups mail nick name starting with _team_ and with display name starting with _Project_
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
|
-
m365 aad
|
|
50
|
+
m365 aad m365group recyclebinitem list --groupMailNickname team --groupDisplayName Project
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
## Response
|
|
@@ -119,7 +119,7 @@ m365 aad o365group recyclebinitem list --groupMailNickname team --groupDisplayNa
|
|
|
119
119
|
<TabItem value="Markdown">
|
|
120
120
|
|
|
121
121
|
```md
|
|
122
|
-
# aad
|
|
122
|
+
# aad m365group recyclebinitem list
|
|
123
123
|
|
|
124
124
|
Date: 2023-06-02
|
|
125
125
|
|
|
@@ -142,4 +142,4 @@ m365 aad o365group recyclebinitem list --groupMailNickname team --groupDisplayNa
|
|
|
142
142
|
```
|
|
143
143
|
|
|
144
144
|
</TabItem>
|
|
145
|
-
</Tabs>
|
|
145
|
+
</Tabs>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group recyclebinitem remove
|
|
4
4
|
|
|
5
5
|
Permanently deletes a Microsoft 365 Group from the recycle bin in the current tenant
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group recyclebinitem remove [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Options
|
|
@@ -33,21 +33,21 @@ m365 aad o365group recyclebinitem remove [options]
|
|
|
33
33
|
Removes the Microsoft 365 Group with specific ID
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 aad
|
|
36
|
+
m365 aad m365group recyclebinitem remove --id "00000000-0000-0000-0000-000000000000"
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Removes the Microsoft 365 Group with specific name
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
m365 aad
|
|
42
|
+
m365 aad m365group recyclebinitem remove --displayName "My Group"
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Remove the Microsoft 365 Group with specific mail nickname without confirmation
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
m365 aad
|
|
48
|
+
m365 aad m365group recyclebinitem remove --mailNickname "Mygroup" --force
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
## Response
|
|
52
52
|
|
|
53
|
-
The command won't return a response on success.
|
|
53
|
+
The command won't return a response on success.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group recyclebinitem restore
|
|
4
4
|
|
|
5
5
|
Restores a deleted Microsoft 365 Group
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group recyclebinitem restore [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Options
|
|
@@ -30,21 +30,21 @@ m365 aad o365group recyclebinitem restore [options]
|
|
|
30
30
|
Restores the Microsoft 365 Group with specific ID
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
|
-
m365 aad
|
|
33
|
+
m365 aad m365group recyclebinitem restore --id 28beab62-7540-4db1-a23f-29a6018a3848
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
Restores the Microsoft 365 Group with specific name
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
|
-
m365 aad
|
|
39
|
+
m365 aad m365group recyclebinitem restore --displayName "My Group"
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
Restores the Microsoft 365 Group with specific mail nickname
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 aad
|
|
45
|
+
m365 aad m365group recyclebinitem restore --mailNickname "Mygroup"
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
## Response
|
|
49
49
|
|
|
50
|
-
The command won't return a response on success.
|
|
50
|
+
The command won't return a response on success.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group remove
|
|
4
4
|
|
|
5
5
|
Removes an Microsoft 365 Group
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group remove [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Options
|
|
@@ -34,21 +34,21 @@ If the specified _id_ doesn't refer to an existing group, you will get a `Resour
|
|
|
34
34
|
Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_. Will prompt for confirmation before removing the group
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
m365 aad
|
|
37
|
+
m365 aad m365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_ without prompting for confirmation
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
m365 aad
|
|
43
|
+
m365 aad m365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_ without prompting for confirmation and without moving it to the Recycle Bin
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
|
-
m365 aad
|
|
49
|
+
m365 aad m365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force --skipRecycleBin
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
## Response
|
|
53
53
|
|
|
54
|
-
The command won't return a response on success.
|
|
54
|
+
The command won't return a response on success.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group renew
|
|
4
4
|
|
|
5
5
|
Renews Microsoft 365 group's expiration
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group renew [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Options
|
|
@@ -28,9 +28,9 @@ If the specified _id_ doesn't refer to an existing group, you will get a `The re
|
|
|
28
28
|
Renew the Microsoft 365 group with id _28beab62-7540-4db1-a23f-29a6018a3848_
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
|
-
m365 aad
|
|
31
|
+
m365 aad m365group renew --id 28beab62-7540-4db1-a23f-29a6018a3848
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
## Response
|
|
35
35
|
|
|
36
|
-
The command won't return a response on success.
|
|
36
|
+
The command won't return a response on success.
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group report activitycounts
|
|
6
6
|
|
|
7
7
|
Get the number of group activities across group workloads
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group report activitycounts [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -29,19 +29,19 @@ m365 aad o365group report activitycounts [options]
|
|
|
29
29
|
Get the number of group activities across group workloads for the last week
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
m365 aad
|
|
32
|
+
m365 aad m365group report activitycounts --period D7
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
Get the number of group activities across group workloads for the last week and exports the report data in the specified path in text format
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
m365 aad
|
|
38
|
+
m365 aad m365group report activitycounts --period D7 --output text > "m365groupactivitycounts.txt"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
Get the number of group activities across group workloads for the last week and exports the report data in the specified path in json format
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365 aad
|
|
44
|
+
m365 aad m365group report activitycounts --period D7 --output json > "m365groupactivitycounts.json"
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Response
|
|
@@ -88,4 +88,4 @@ m365 aad o365group report activitycounts --period D7 --output json > "o365groupa
|
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
</TabItem>
|
|
91
|
-
</Tabs>
|
|
91
|
+
</Tabs>
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group report activitydetail
|
|
6
6
|
|
|
7
7
|
Get details about Microsoft 365 Groups activity by group.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group report activitydetail [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -32,25 +32,25 @@ m365 aad o365group report activitydetail [options]
|
|
|
32
32
|
Get details about Microsoft 365 Groups activity by group for the last week
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 aad
|
|
35
|
+
m365 aad m365group report activitydetail --period D7
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Get details about Microsoft 365 Groups activity by group for September 09, 2019
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
m365 aad
|
|
41
|
+
m365 aad m365group report activitydetail --date 2019-09-28
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Get details about Microsoft 365 Groups activity by group for the last week and exports the report data in the specified path in text format
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
|
-
m365 aad
|
|
47
|
+
m365 aad m365group report activitydetail --period D7 --output text > "m365groupactivitydetail.txt"
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Get details about Microsoft 365 Groups activity by group for the last week and exports the report data in the specified path in json format
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
m365 aad
|
|
53
|
+
m365 aad m365group report activitydetail --period D7 --output json > "m365groupactivitydetail.json"
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
## Response
|
|
@@ -109,4 +109,4 @@ m365 aad o365group report activitydetail --period D7 --output json > "o365groupa
|
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
</TabItem>
|
|
112
|
-
</Tabs>
|
|
112
|
+
</Tabs>
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group report activityfilecounts
|
|
6
6
|
|
|
7
7
|
Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group report activityfilecounts [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -29,19 +29,19 @@ m365 aad o365group report activityfilecounts [options]
|
|
|
29
29
|
Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group for the last week
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
m365 aad
|
|
32
|
+
m365 aad m365group report activityfilecounts --period D7
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group for the last week and exports the report data in the specified path in text format
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
m365 aad
|
|
38
|
+
m365 aad m365group report activityfilecounts --period D7 --output text > "m365groupactivityfilecounts.txt"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group for the last week and exports the report data in the specified path in json format
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365 aad
|
|
44
|
+
m365 aad m365group report activityfilecounts --period D7 --output json > "m365groupactivityfilecounts.json"
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Response
|
|
@@ -86,4 +86,4 @@ m365 aad o365group report activityfilecounts --period D7 --output json > "o365gr
|
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
</TabItem>
|
|
89
|
-
</Tabs>
|
|
89
|
+
</Tabs>
|