@pnp/cli-microsoft365 8.1.0-beta.3dec9fa → 8.1.0-beta.bf59841
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +9 -9
- package/dist/Command.js +49 -2
- package/dist/cli/cli.js +60 -38
- package/dist/m365/commands/login.js +44 -96
- package/dist/m365/connection/commands/connection-remove.js +6 -2
- package/dist/m365/connection/commands/connection-set.js +4 -1
- package/dist/m365/connection/commands/connection-use.js +25 -4
- package/dist/m365/entra/commands/multitenant/multitenant-add.js +65 -0
- package/dist/m365/entra/commands/multitenant/multitenant-remove.js +118 -0
- package/dist/m365/entra/commands/multitenant/multitenant-set.js +72 -0
- package/dist/m365/entra/commands.js +3 -0
- package/dist/m365/spe/ContainerTypeProperties.js +2 -0
- package/dist/m365/spe/commands/containertype/containertype-list.js +49 -0
- package/dist/m365/spe/commands.js +2 -1
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +16 -21
- package/dist/m365/spo/commands/commandset/commandset-get.js +31 -17
- package/dist/m365/spo/commands/file/file-roleassignment-add.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/folder/folder-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +46 -21
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +48 -46
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +19 -5
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +20 -6
- package/dist/utils/formatting.js +16 -0
- package/dist/utils/spo.js +37 -6
- package/dist/utils/zod.js +124 -0
- package/docs/docs/cmd/connection/connection-use.mdx +8 -2
- package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +107 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +58 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +53 -0
- package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
- package/docs/docs/cmd/spe/containertype/containertype-list.mdx +102 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +87 -38
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +22 -28
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +75 -24
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +26 -32
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +2 -2
- 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/folder/folder-retentionlabel-ensure.mdx +2 -2
- package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +15 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +15 -3
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +4 -4
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +9 -9
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +7 -7
- package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +79 -30
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +20 -19
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +84 -38
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +20 -19
- package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-list.mdx +7 -3
- package/npm-shrinkwrap.json +604 -843
- package/package.json +6 -2
|
@@ -37,21 +37,21 @@ m365 spo tenant commandset list
|
|
|
37
37
|
[
|
|
38
38
|
{
|
|
39
39
|
"FileSystemObjectType": 0,
|
|
40
|
-
"Id":
|
|
40
|
+
"Id": 1,
|
|
41
41
|
"ServerRedirectedEmbedUri": null,
|
|
42
42
|
"ServerRedirectedEmbedUrl": "",
|
|
43
|
-
"ContentTypeId": "
|
|
43
|
+
"ContentTypeId": "0x00DBF24546DE6018449BB43573F3581BF0",
|
|
44
44
|
"Title": "HelloWorld",
|
|
45
|
-
"Modified": "
|
|
46
|
-
"Created": "
|
|
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": "
|
|
51
|
+
"GUID": "bd123dcd-37b8-4981-aa4e-1aab50a66688",
|
|
52
52
|
"OData__ColorTag": null,
|
|
53
53
|
"ComplianceAssetId": null,
|
|
54
|
-
"TenantWideExtensionComponentId": "
|
|
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
|
|
71
|
-
|
|
72
|
-
|
|
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,
|
|
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:
|
|
89
|
+
Date: 16/05/2024
|
|
90
90
|
|
|
91
|
-
## HelloWorld (
|
|
91
|
+
## HelloWorld (1)
|
|
92
92
|
|
|
93
93
|
Property | Value
|
|
94
94
|
---------|-------
|
|
95
95
|
FileSystemObjectType | 0
|
|
96
|
-
Id |
|
|
96
|
+
Id | 1
|
|
97
97
|
ServerRedirectedEmbedUrl |
|
|
98
|
-
ContentTypeId |
|
|
98
|
+
ContentTypeId | 0x00DBF24546DE6018449BB43573F3581BF0
|
|
99
99
|
Title | HelloWorld
|
|
100
|
-
Modified |
|
|
101
|
-
Created |
|
|
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 |
|
|
107
|
-
TenantWideExtensionComponentId |
|
|
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
|
|
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
|
|
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 `
|
|
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 `
|
|
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 `
|
|
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
|