@pnp/cli-microsoft365 9.0.0-beta.62575a1 → 9.0.0-beta.e16d09c

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 (61) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/Auth.js +9 -9
  4. package/dist/Command.js +49 -2
  5. package/dist/cli/cli.js +60 -38
  6. package/dist/m365/commands/login.js +44 -96
  7. package/dist/m365/connection/commands/connection-remove.js +6 -2
  8. package/dist/m365/connection/commands/connection-set.js +4 -1
  9. package/dist/m365/connection/commands/connection-use.js +25 -4
  10. package/dist/m365/entra/commands/multitenant/multitenant-add.js +65 -0
  11. package/dist/m365/entra/commands/multitenant/multitenant-remove.js +118 -0
  12. package/dist/m365/entra/commands/multitenant/multitenant-set.js +72 -0
  13. package/dist/m365/entra/commands.js +3 -0
  14. package/dist/m365/spe/ContainerTypeProperties.js +2 -0
  15. package/dist/m365/spe/commands/containertype/containertype-list.js +49 -0
  16. package/dist/m365/spe/commands.js +2 -1
  17. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +16 -21
  18. package/dist/m365/spo/commands/commandset/commandset-get.js +31 -17
  19. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
  20. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
  21. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  22. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
  23. package/dist/m365/spo/commands/list/list-roleassignment-add.js +46 -21
  24. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +48 -46
  25. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +19 -5
  26. package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +20 -6
  27. package/dist/utils/formatting.js +16 -0
  28. package/dist/utils/spo.js +37 -6
  29. package/dist/utils/zod.js +124 -0
  30. package/docs/docs/cmd/connection/connection-use.mdx +8 -2
  31. package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +107 -0
  32. package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +58 -0
  33. package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +53 -0
  34. package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
  35. package/docs/docs/cmd/spe/containertype/containertype-list.mdx +102 -0
  36. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +87 -38
  37. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +22 -28
  38. package/docs/docs/cmd/spo/commandset/commandset-get.mdx +75 -24
  39. package/docs/docs/cmd/spo/commandset/commandset-list.mdx +26 -32
  40. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  41. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +2 -2
  42. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  43. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  44. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  45. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +2 -2
  46. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +15 -3
  47. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +15 -3
  48. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +4 -4
  49. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
  50. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +9 -9
  51. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +7 -7
  52. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
  53. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +79 -30
  54. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +20 -19
  55. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +84 -38
  56. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +20 -19
  57. package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
  58. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
  59. package/docs/docs/cmd/teams/meeting/meeting-list.mdx +7 -3
  60. package/npm-shrinkwrap.json +604 -843
  61. package/package.json +6 -2
@@ -37,21 +37,21 @@ m365 spo tenant commandset list
37
37
  [
38
38
  {
39
39
  "FileSystemObjectType": 0,
40
- "Id": 9,
40
+ "Id": 1,
41
41
  "ServerRedirectedEmbedUri": null,
42
42
  "ServerRedirectedEmbedUrl": "",
43
- "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
43
+ "ContentTypeId": "0x00DBF24546DE6018449BB43573F3581BF0",
44
44
  "Title": "HelloWorld",
45
- "Modified": "2023-05-25T12:11:21Z",
46
- "Created": "2023-05-25T12:11:21Z",
45
+ "Modified": "2024-05-16T21:28:51Z",
46
+ "Created": "2024-05-16T21:28:51Z",
47
47
  "AuthorId": 9,
48
48
  "EditorId": 9,
49
49
  "OData__UIVersionString": "1.0",
50
50
  "Attachments": false,
51
- "GUID": "6c47dd94-f5d5-4ea8-8b39-920385a56c37",
51
+ "GUID": "bd123dcd-37b8-4981-aa4e-1aab50a66688",
52
52
  "OData__ColorTag": null,
53
53
  "ComplianceAssetId": null,
54
- "TenantWideExtensionComponentId": "f61d4ae8-3480-4541-930b-d641233c4fea",
54
+ "TenantWideExtensionComponentId": "53dd6a38-1461-44e0-9bf0-14883316a316",
55
55
  "TenantWideExtensionComponentProperties": "{\"sampleTextOne\":\"One item is selected in the list.\", \"sampleTextTwo\":\"This command is always visible.\"}",
56
56
  "TenantWideExtensionWebTemplate": null,
57
57
  "TenantWideExtensionListTemplate": 100,
@@ -67,17 +67,17 @@ m365 spo tenant commandset list
67
67
  <TabItem value="Text">
68
68
 
69
69
  ```text
70
- TenantWideExtensionComponentId : f61d4ae8-3480-4541-930b-d641233c4fea
71
- TenantWideExtensionListTemplate: 100
72
- Title : HelloWorld
70
+ TenantWideExtensionComponentId TenantWideExtensionListTemplate Title
71
+ ------------------------------------ ------------------------------- ----------
72
+ 53dd6a38-1461-44e0-9bf0-14883316a316 100 HelloWorld
73
73
  ```
74
74
 
75
75
  </TabItem>
76
76
  <TabItem value="CSV">
77
77
 
78
78
  ```csv
79
- FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
80
- 0,9,,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-25T12:11:21Z,2023-05-25T12:11:21Z,9,9,1.0,,6c47dd94-f5d5-4ea8-8b39-920385a56c37,f61d4ae8-3480-4541-930b-d641233c4fea,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",100,ClientSideExtension.ListViewCommandSet.CommandBar,0,
79
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,OData__ColorTag,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
80
+ 0,1,,,0x00DBF24546DE6018449BB43573F3581BF0,HelloWorld,2024-05-16T21:28:51Z,2024-05-16T21:28:51Z,9,9,1.0,,bd123dcd-37b8-4981-aa4e-1aab50a66688,,,53dd6a38-1461-44e0-9bf0-14883316a316,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",,100,ClientSideExtension.ListViewCommandSet.CommandBar,0,,
81
81
  ```
82
82
 
83
83
  </TabItem>
@@ -86,25 +86,26 @@ m365 spo tenant commandset list
86
86
  ```md
87
87
  # spo tenant commandset list
88
88
 
89
- Date: 5/25/2023
89
+ Date: 16/05/2024
90
90
 
91
- ## HelloWorld (9)
91
+ ## HelloWorld (1)
92
92
 
93
93
  Property | Value
94
94
  ---------|-------
95
95
  FileSystemObjectType | 0
96
- Id | 9
96
+ Id | 1
97
97
  ServerRedirectedEmbedUrl |
98
- ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
98
+ ContentTypeId | 0x00DBF24546DE6018449BB43573F3581BF0
99
99
  Title | HelloWorld
100
- Modified | 2023-05-25T12:11:21Z
101
- Created | 2023-05-25T12:11:21Z
100
+ Modified | 2024-05-16T21:28:51Z
101
+ Created | 2024-05-16T21:28:51Z
102
102
  AuthorId | 9
103
103
  EditorId | 9
104
104
  OData\_\_UIVersionString | 1.0
105
105
  Attachments | false
106
- GUID | 6c47dd94-f5d5-4ea8-8b39-920385a56c37
107
- TenantWideExtensionComponentId | f61d4ae8-3480-4541-930b-d641233c4fea
106
+ GUID | bd123dcd-37b8-4981-aa4e-1aab50a66688
107
+ TenantWideExtensionComponentId | 53dd6a38-1461-44e0-9bf0-14883316a316
108
+ TenantWideExtensionComponentProperties | {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
108
109
  TenantWideExtensionListTemplate | 100
109
110
  TenantWideExtensionLocation | ClientSideExtension.ListViewCommandSet.CommandBar
110
111
  TenantWideExtensionSequence | 0
@@ -23,7 +23,7 @@ m365 spo web roleassignment add [options]
23
23
  : The upn/email of user to assign role to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
24
24
 
25
25
  `--groupName [groupName]`
26
- : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
26
+ : The group name of the SharePoint group Specify either `principalId`, `upn`, or `groupName` but not multiple.
27
27
 
28
28
  `--roleDefinitionId [roleDefinitionId]`
29
29
  : ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
@@ -23,7 +23,7 @@ m365 spo web roleassignment remove [options]
23
23
  : The upn/email of user to assign role to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
24
24
 
25
25
  `--groupName [groupName]`
26
- : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
26
+ : The group name of the SharePoint group Specify either `principalId`, `upn`, or `groupName` but not multiple.
27
27
 
28
28
  `-f, --force`
29
29
  : Don't prompt for confirming removing the roleassignment.
@@ -25,17 +25,21 @@ m365 teams meeting list [options]
25
25
  : Set to retrieve only meetings the user is organizer for.
26
26
 
27
27
  `-u, --userId [userId]`
28
- : The id of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `id`, `userName` or `email`, but not multiple. Use only when using application permissions.
28
+ : The id of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `userId`, `userName` or `email`, but not multiple. Use only when using application permissions.
29
29
 
30
30
  `-n, --userName [userName]`
31
- : The name of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `id`, `userName` or `email`, but not multiple. Use only when using application permissions.
31
+ : The name of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `userId`, `userName` or `email`, but not multiple. Use only when using application permissions.
32
32
 
33
33
  `--email [email]`
34
- : The email of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `id`, `userName` or `email`, but not multiple. Use only when using application permissions.
34
+ : The email of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `userId`, `userName` or `email`, but not multiple. Use only when using application permissions.
35
35
  ```
36
36
 
37
37
  <Global />
38
38
 
39
+ ## Remarks
40
+
41
+ To use application permission for this command, an [application access policy](https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy) must be created and assigned to a user. This authorizes the app configured in the policy to retrieve online meetings on behalf of that user.
42
+
39
43
  ## Examples
40
44
 
41
45
  List all meetings of the currently logged in user between two specific dates