@pnp/cli-microsoft365 5.2.0-beta.dc50ce6 → 5.3.0-beta.95db8d3

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.
Files changed (41) hide show
  1. package/.eslintrc.js +1 -0
  2. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +55 -22
  3. package/dist/m365/aad/commands.js +1 -1
  4. package/dist/m365/app/commands/app-open.js +64 -0
  5. package/dist/m365/app/commands.js +1 -0
  6. package/dist/m365/planner/commands/bucket/bucket-get.js +198 -0
  7. package/dist/m365/planner/commands/bucket/bucket-remove.js +214 -0
  8. package/dist/m365/planner/commands/bucket/bucket-set.js +208 -0
  9. package/dist/m365/planner/commands/task/task-get.js +150 -7
  10. package/dist/m365/planner/commands.js +3 -0
  11. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.15.0-beta.1.js → upgrade-1.15.0-beta.6.js} +27 -27
  12. package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
  13. package/dist/m365/spfx/commands/spfx-doctor.js +1 -105
  14. package/dist/m365/spo/commands/field/field-list.js +84 -0
  15. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +84 -0
  16. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +76 -0
  17. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +49 -0
  18. package/dist/m365/spo/commands.js +4 -0
  19. package/dist/m365/teams/commands/channel/channel-member-remove.js +214 -0
  20. package/dist/m365/teams/commands.js +2 -0
  21. package/dist/m365/tenant/commands/security/security-alerts-list.js +71 -0
  22. package/dist/m365/tenant/commands.js +1 -0
  23. package/docs/docs/cmd/app/app-open.md +45 -0
  24. package/docs/docs/cmd/planner/bucket/bucket-get.md +57 -0
  25. package/docs/docs/cmd/planner/bucket/bucket-remove.md +60 -0
  26. package/docs/docs/cmd/planner/bucket/bucket-set.md +57 -0
  27. package/docs/docs/cmd/planner/task/task-get.md +30 -3
  28. package/docs/docs/cmd/planner/task/task-set.md +2 -2
  29. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  30. package/docs/docs/cmd/spfx/spfx-doctor.md +1 -1
  31. package/docs/docs/cmd/spo/field/field-list.md +51 -0
  32. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +55 -0
  33. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +36 -0
  34. package/docs/docs/cmd/spo/listitem/listitem-list.md +2 -2
  35. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +24 -0
  36. package/docs/docs/cmd/teams/channel/channel-member-list.md +4 -4
  37. package/docs/docs/cmd/teams/channel/channel-member-remove.md +57 -0
  38. package/docs/docs/cmd/teams/channel/channel-member-set.md +2 -2
  39. package/docs/docs/cmd/tenant/security/security-alerts-list.md +30 -0
  40. package/npm-shrinkwrap.json +1517 -1284
  41. package/package.json +26 -24
@@ -0,0 +1,55 @@
1
+ # spo list roleinheritance break
2
+
3
+ Breaks role inheritance on list or library
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo list roleinheritance break [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the list to retrieve is located
15
+
16
+ `-i, --listId [listId]`
17
+ : ID of the list to retrieve information for. Specify either id or title but not both
18
+
19
+ `-t, --listTitle [listTitle]`
20
+ : Title of the list to retrieve information for. Specify either id or title but not both
21
+
22
+ `-c, --clearExistingPermissions`
23
+ : Flag if used clears all roles from the list
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Remarks
28
+
29
+ By default, when breaking permissions inheritance, the list will retain existing permissions. To remove existing permissions, use the `--clearExistingPermissions` option.
30
+
31
+ ## Examples
32
+
33
+ Break inheritance of list _someList_ located in site _https://contoso.sharepoint.com/sites/project-x_
34
+
35
+ ```sh
36
+ m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList"
37
+ ```
38
+
39
+ Break inheritance of list with ID _202b8199-b9de-43fd-9737-7f213f51c991_ located in site _https://contoso.sharepoint.com/sites/project-x_
40
+
41
+ ```sh
42
+ m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "202b8199-b9de-43fd-9737-7f213f51c991"
43
+ ```
44
+
45
+ Break inheritance of list _someList_ located in site _https://contoso.sharepoint.com/sites/project-x_ with clearing permissions
46
+
47
+ ```sh
48
+ m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --clearExistingPermissions
49
+ ```
50
+
51
+ Break inheritance of list with ID _202b8199-b9de-43fd-9737-7f213f51c991_ located in site _https://contoso.sharepoint.com/sites/project-x_ with clearing permissions
52
+
53
+ ```sh
54
+ m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "202b8199-b9de-43fd-9737-7f213f51c991" --clearExistingPermissions
55
+ ```
@@ -0,0 +1,36 @@
1
+ # spo list roleinheritance reset
2
+
3
+ Restores role inheritance on list or library
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo list roleinheritance reset [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the list is located
15
+
16
+ `-i, --listId [listId]`
17
+ : ID of the list. Specify either id or title but not both
18
+
19
+ `-t, --listTitle [listTitle]`
20
+ : Title of the list. Specify either id or title but not both
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ Restore role inheritance of list with ID _0cd891ef-afce-4e55-b836-fce03286cccf_ located in site _https://contoso.sharepoint.com/sites/project-x_
27
+
28
+ ```sh
29
+ m365 spo list roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf
30
+ ```
31
+
32
+ Restore role inheritance of list with title _test_ located in site _https://contoso.sharepoint.com/sites/project-x_
33
+
34
+ ```sh
35
+ m365 spo list roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle test
36
+ ```
@@ -13,10 +13,10 @@ m365 spo listitem list [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site from which the item should be retrieved
15
15
 
16
- `-i, --id <id>`
16
+ `-i, --id [id]`
17
17
  : ID of the list to retrieve items from. Specify `id` or `title` but not both
18
18
 
19
- `-t, --title [listTitle]`
19
+ `-t, --title [title]`
20
20
  : Title of the list from which to retrieve the item. Specify `id` or `title` but not both
21
21
 
22
22
  `-q, --camlQuery [camlQuery]`
@@ -0,0 +1,24 @@
1
+ # spo roledefinition list
2
+
3
+ Gets list of role definitions for the specified site
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo roledefinition list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site for which to retrieve role definitions
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ Return list of role definitions for site _https://contoso.sharepoint.com/sites/project-x_
21
+
22
+ ```sh
23
+ m365 spo roledefinition list --webUrl https://contoso.sharepoint.com/sites/project-x
24
+ ```
@@ -35,10 +35,10 @@ m365 teams conversationmember list [options]
35
35
 
36
36
  ## Examples
37
37
 
38
- List the members of a specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
38
+ List the members of a specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 19:00000000000000000000000000000000@thread.skype
39
39
 
40
40
  ```sh
41
- m365 teams channel member list --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype
41
+ m365 teams channel member list --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype
42
42
  ```
43
43
 
44
44
  List the members of a specified Microsoft Teams team with name _Team Name_ and channel with name _Channel Name_
@@ -47,8 +47,8 @@ List the members of a specified Microsoft Teams team with name _Team Name_ and c
47
47
  m365 teams channel member list --teamName "Team Name" --channelName "Channel Name"
48
48
  ```
49
49
 
50
- List all owners of the specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
50
+ List all owners of the specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 19:00000000000000000000000000000000@thread.skype
51
51
 
52
52
  ```sh
53
- m365 teams channel member list --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype --role owner
53
+ m365 teams channel member list --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --role owner
54
54
  ```
@@ -0,0 +1,57 @@
1
+ # teams channel member remove
2
+
3
+ Remove the specified member from the specified Microsoft Teams private team channel
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams channel member remove [options]
9
+ ```
10
+
11
+ ## Alias
12
+
13
+ ```sh
14
+ m365 teams conversationmember remove [options]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ `--teamId [teamId]`
20
+ : The Id of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
21
+
22
+ `--teamName [teamName]`
23
+ : The display name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
24
+
25
+ `--channelId [channelId]`
26
+ : The Id of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
27
+
28
+ `--channelName [channelName]`
29
+ : The display name of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
30
+
31
+ `--userName [userName]`
32
+ : User's UPN (user principal name, e.g. johndoe@example.com). Specify either userName, userId or id but not multiple.
33
+
34
+ `--userId [userId]`
35
+ : User's Azure AD Id. Specify either userName, userId or id but not multiple.
36
+
37
+ `--id [id]`
38
+ : Channel member Id of a user. Specify either userName, userId or id but not multiple.
39
+
40
+ `--confirm`
41
+ : Don't prompt for confirmation
42
+
43
+ --8<-- "docs/cmd/_global.md"
44
+
45
+ ## Examples
46
+
47
+ Remove the user _johndoe@example.com_ from the Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 19:00000000000000000000000000000000@thread.skype
48
+
49
+ ```sh
50
+ m365 teams channel member remove --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --userName "johndoe@example.com"
51
+ ```
52
+
53
+ Remove the user with id 00000000-0000-0000-0000-000000000000 from the Microsoft Teams team with name _Team Name_ and channel with name _Channel Name_
54
+
55
+ ```sh
56
+ m365 teams channel member remove --teamName "Team Name" --channelName "Channel Name" --userId 00000000-0000-0000-0000-000000000000
57
+ ```
@@ -38,10 +38,10 @@ m365 teams channel member set [options]
38
38
 
39
39
  ## Examples
40
40
 
41
- Updates the role of the user _johndoe@example.com_ to owner in the Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
41
+ Updates the role of the user _johndoe@example.com_ to owner in the Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 19:00000000000000000000000000000000@thread.skype
42
42
 
43
43
  ```sh
44
- m365 teams channel member set --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype --userName "johndoe@example.com" --role owner
44
+ m365 teams channel member set --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --userName "johndoe@example.com" --role owner
45
45
  ```
46
46
 
47
47
  Updates the role of the user with id 00000000-0000-0000-0000-000000000000 to member in the Microsoft Teams team with name _Team Name_ and channel with name _Channel Name_
@@ -0,0 +1,30 @@
1
+ # tenant security alerts list
2
+
3
+ Gets the security alerts for a tenant
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 tenant security alerts list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--vendor [vendor]`
14
+ : The vendor to return alerts for. Possible values `Azure Advanced Threat Protection`, `Azure Security Center`, `Microsoft Cloud App Security`, `Azure Active Directory Identity Protection`, `Azure Sentinel`, `Microsoft Defender ATP`. If omitted, all alerts are returned
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ Get all security alerts for a tenant
21
+
22
+ ```sh
23
+ m365 tenant security alerts list
24
+ ```
25
+
26
+ Get security alerts for a vendor with name _Azure Sentinel_
27
+
28
+ ```sh
29
+ m365 tenant security alerts list --vendor "Azure Sentinel"
30
+ ```