@pnp/cli-microsoft365 9.0.0-beta.2f8dd1e → 9.0.0-beta.d6b190a
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 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +9 -17
- package/dist/Command.js +49 -2
- package/dist/chili/chili.js +0 -23
- package/dist/cli/cli.js +61 -101
- package/dist/m365/commands/login.js +44 -96
- package/dist/m365/commands/setup.js +0 -4
- package/dist/m365/entra/commands/m365group/m365group-set.js +66 -29
- package/dist/m365/entra/commands/multitenant/MultitenantOrganization.js +2 -0
- package/dist/m365/entra/commands/multitenant/multitenant-get.js +32 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/external/commands/connection/connection-doctor.js +10 -24
- package/dist/m365/flow/commands/flow-list.js +23 -24
- package/dist/m365/graph/commands/subscription/subscription-add.js +4 -2
- 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/spfx/commands/project/base-project-command.js +36 -126
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +16 -21
- package/dist/m365/spo/commands/cdn/cdn-get.js +12 -15
- package/dist/m365/spo/commands/cdn/cdn-set.js +6 -4
- package/dist/m365/spo/commands/commandset/commandset-get.js +31 -17
- package/dist/m365/spo/commands/contenttype/contenttype-field-list.js +124 -0
- package/dist/m365/spo/commands/field/field-list.js +1 -1
- package/dist/m365/spo/commands/group/group-member-add.js +103 -99
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -3
- package/dist/m365/spo/commands/page/page-text-add.js +2 -3
- package/dist/m365/spo/commands/spo-search.js +3 -4
- 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/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
- package/dist/m365/teams/commands/message/message-remove.js +112 -0
- package/dist/m365/teams/commands.js +2 -0
- package/dist/m365/viva/commands/engage/engage-community-add.js +166 -0
- package/dist/m365/viva/commands.js +1 -0
- package/dist/utils/formatting.js +30 -1
- package/dist/utils/teams.js +49 -0
- package/dist/utils/validation.js +19 -0
- package/dist/utils/zod.js +124 -0
- package/docs/docs/cmd/entra/m365group/m365group-set.mdx +37 -7
- package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +94 -0
- package/docs/docs/cmd/external/connection/connection-doctor.mdx +9 -9
- package/docs/docs/cmd/flow/flow-list.mdx +114 -56
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +18 -0
- package/docs/docs/cmd/spe/containertype/containertype-list.mdx +131 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +85 -36
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +18 -24
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +3 -3
- 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/contenttype/contenttype-field-list.mdx +172 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +3 -3
- package/docs/docs/cmd/spo/field/field-list.mdx +3 -3
- package/docs/docs/cmd/spo/group/group-member-add.mdx +34 -27
- 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/teams/meeting/meeting-attendancereport-get.mdx +138 -0
- package/docs/docs/cmd/teams/meeting/meeting-list.mdx +7 -3
- package/docs/docs/cmd/teams/message/message-remove.mdx +63 -0
- package/docs/docs/cmd/viva/engage/engage-community-add.mdx +168 -0
- package/npm-shrinkwrap.json +588 -1022
- package/package.json +7 -3
|
@@ -23,6 +23,9 @@ m365 spo tenant commandset get [options]
|
|
|
23
23
|
|
|
24
24
|
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
25
25
|
: The Client Side Component Id (GUID) of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
26
|
+
|
|
27
|
+
`-p, --tenantWideExtensionComponentProperties`
|
|
28
|
+
: Only output the tenant wide extension component properties.
|
|
26
29
|
```
|
|
27
30
|
|
|
28
31
|
<Global />
|
|
@@ -53,30 +56,33 @@ m365 spo tenant commandset get --clientSideComponentId 7096cded-b83d-4eab-96f0-d
|
|
|
53
56
|
|
|
54
57
|
## Response
|
|
55
58
|
|
|
59
|
+
### Standard response
|
|
60
|
+
|
|
56
61
|
<Tabs>
|
|
57
62
|
<TabItem value="JSON">
|
|
58
63
|
|
|
59
64
|
```json
|
|
60
65
|
{
|
|
61
66
|
"FileSystemObjectType": 0,
|
|
62
|
-
"Id":
|
|
67
|
+
"Id": 1,
|
|
63
68
|
"ServerRedirectedEmbedUri": null,
|
|
64
69
|
"ServerRedirectedEmbedUrl": "",
|
|
65
|
-
"ContentTypeId": "
|
|
66
|
-
"Title": "
|
|
67
|
-
"Modified": "
|
|
68
|
-
"Created": "
|
|
70
|
+
"ContentTypeId": "0x00DBF24546DE6018449BB43573F3581BF0",
|
|
71
|
+
"Title": "HelloWorld",
|
|
72
|
+
"Modified": "2024-05-16T21:28:51Z",
|
|
73
|
+
"Created": "2024-05-16T21:28:51Z",
|
|
69
74
|
"AuthorId": 9,
|
|
70
75
|
"EditorId": 9,
|
|
71
76
|
"OData__UIVersionString": "1.0",
|
|
72
77
|
"Attachments": false,
|
|
73
|
-
"GUID": "
|
|
78
|
+
"GUID": "bd123dcd-37b8-4981-aa4e-1aab50a66688",
|
|
79
|
+
"OData__ColorTag": null,
|
|
74
80
|
"ComplianceAssetId": null,
|
|
75
|
-
"TenantWideExtensionComponentId": "
|
|
76
|
-
"TenantWideExtensionComponentProperties": "{\"
|
|
81
|
+
"TenantWideExtensionComponentId": "53dd6a38-1461-44e0-9bf0-14883316a316",
|
|
82
|
+
"TenantWideExtensionComponentProperties": "{\"sampleTextOne\":\"One item is selected in the list.\", \"sampleTextTwo\":\"This command is always visible.\"}",
|
|
77
83
|
"TenantWideExtensionWebTemplate": null,
|
|
78
|
-
"TenantWideExtensionListTemplate":
|
|
79
|
-
"TenantWideExtensionLocation": "ClientSideExtension.ListViewCommandSet.
|
|
84
|
+
"TenantWideExtensionListTemplate": 100,
|
|
85
|
+
"TenantWideExtensionLocation": "ClientSideExtension.ListViewCommandSet.CommandBar",
|
|
80
86
|
"TenantWideExtensionSequence": 0,
|
|
81
87
|
"TenantWideExtensionHostProperties": null,
|
|
82
88
|
"TenantWideExtensionDisabled": false
|
|
@@ -90,69 +96,109 @@ m365 spo tenant commandset get --clientSideComponentId 7096cded-b83d-4eab-96f0-d
|
|
|
90
96
|
Attachments : false
|
|
91
97
|
AuthorId : 9
|
|
92
98
|
ComplianceAssetId : null
|
|
93
|
-
ContentTypeId :
|
|
94
|
-
Created :
|
|
99
|
+
ContentTypeId : 0x00DBF24546DE6018449BB43573F3581BF0
|
|
100
|
+
Created : 2024-05-16T21:28:51Z
|
|
95
101
|
EditorId : 9
|
|
96
102
|
FileSystemObjectType : 0
|
|
97
|
-
GUID :
|
|
98
|
-
Id :
|
|
99
|
-
Modified :
|
|
103
|
+
GUID : bd123dcd-37b8-4981-aa4e-1aab50a66688
|
|
104
|
+
Id : 1
|
|
105
|
+
Modified : 2024-05-16T21:28:51Z
|
|
106
|
+
OData__ColorTag : null
|
|
100
107
|
OData__UIVersionString : 1.0
|
|
101
108
|
ServerRedirectedEmbedUri : null
|
|
102
109
|
ServerRedirectedEmbedUrl :
|
|
103
|
-
TenantWideExtensionComponentId :
|
|
104
|
-
TenantWideExtensionComponentProperties: {"
|
|
110
|
+
TenantWideExtensionComponentId : 53dd6a38-1461-44e0-9bf0-14883316a316
|
|
111
|
+
TenantWideExtensionComponentProperties: {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
|
|
105
112
|
TenantWideExtensionDisabled : false
|
|
106
113
|
TenantWideExtensionHostProperties : null
|
|
107
|
-
TenantWideExtensionListTemplate :
|
|
108
|
-
TenantWideExtensionLocation : ClientSideExtension.ListViewCommandSet.
|
|
114
|
+
TenantWideExtensionListTemplate : 100
|
|
115
|
+
TenantWideExtensionLocation : ClientSideExtension.ListViewCommandSet.CommandBar
|
|
109
116
|
TenantWideExtensionSequence : 0
|
|
110
117
|
TenantWideExtensionWebTemplate : null
|
|
111
|
-
Title :
|
|
118
|
+
Title : HelloWorld
|
|
112
119
|
```
|
|
113
120
|
|
|
114
121
|
</TabItem>
|
|
115
122
|
<TabItem value="CSV">
|
|
116
123
|
|
|
117
124
|
```csv
|
|
118
|
-
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
|
|
119
|
-
0,
|
|
125
|
+
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
|
|
126
|
+
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,,
|
|
120
127
|
```
|
|
121
128
|
|
|
122
129
|
</TabItem>
|
|
123
130
|
<TabItem value="Markdown">
|
|
124
131
|
|
|
125
132
|
```md
|
|
126
|
-
# spo tenant commandset get --
|
|
133
|
+
# spo tenant commandset get --id "1"
|
|
127
134
|
|
|
128
|
-
Date:
|
|
135
|
+
Date: 16/05/2024
|
|
129
136
|
|
|
130
|
-
##
|
|
137
|
+
## HelloWorld (1)
|
|
131
138
|
|
|
132
139
|
Property | Value
|
|
133
140
|
---------|-------
|
|
134
141
|
FileSystemObjectType | 0
|
|
135
|
-
Id |
|
|
136
|
-
ServerRedirectedEmbedUri | null
|
|
142
|
+
Id | 1
|
|
137
143
|
ServerRedirectedEmbedUrl |
|
|
138
|
-
ContentTypeId |
|
|
139
|
-
Title |
|
|
140
|
-
Modified |
|
|
141
|
-
Created |
|
|
144
|
+
ContentTypeId | 0x00DBF24546DE6018449BB43573F3581BF0
|
|
145
|
+
Title | HelloWorld
|
|
146
|
+
Modified | 2024-05-16T21:28:51Z
|
|
147
|
+
Created | 2024-05-16T21:28:51Z
|
|
142
148
|
AuthorId | 9
|
|
143
149
|
EditorId | 9
|
|
144
150
|
OData\_\_UIVersionString | 1.0
|
|
145
151
|
Attachments | false
|
|
146
|
-
GUID |
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
TenantWideExtensionLocation | ClientSideExtension.ListViewCommandSet.ContextMenu
|
|
152
|
+
GUID | bd123dcd-37b8-4981-aa4e-1aab50a66688
|
|
153
|
+
TenantWideExtensionComponentId | 53dd6a38-1461-44e0-9bf0-14883316a316
|
|
154
|
+
TenantWideExtensionComponentProperties | {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
|
|
155
|
+
TenantWideExtensionListTemplate | 100
|
|
156
|
+
TenantWideExtensionLocation | ClientSideExtension.ListViewCommandSet.CommandBar
|
|
152
157
|
TenantWideExtensionSequence | 0
|
|
153
|
-
TenantWideExtensionHostProperties | null
|
|
154
158
|
TenantWideExtensionDisabled | false
|
|
155
159
|
```
|
|
156
160
|
|
|
157
161
|
</TabItem>
|
|
158
162
|
</Tabs>
|
|
163
|
+
|
|
164
|
+
### `tenantWideExtensionComponentProperties` response
|
|
165
|
+
|
|
166
|
+
<Tabs>
|
|
167
|
+
<TabItem value="JSON">
|
|
168
|
+
|
|
169
|
+
```json
|
|
170
|
+
{
|
|
171
|
+
"testMessage": "Test message"
|
|
172
|
+
}
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
</TabItem>
|
|
176
|
+
<TabItem value="Text">
|
|
177
|
+
|
|
178
|
+
```txt
|
|
179
|
+
testMessage: Test message
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
</TabItem>
|
|
183
|
+
<TabItem value="CSV">
|
|
184
|
+
|
|
185
|
+
```csv
|
|
186
|
+
testMessage
|
|
187
|
+
Test message
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
</TabItem>
|
|
191
|
+
<TabItem value="Markdown">
|
|
192
|
+
|
|
193
|
+
```md
|
|
194
|
+
# spo tenant applicationcustomizer get --id "2" --tenantWideExtensionComponentProperties "true"
|
|
195
|
+
|
|
196
|
+
Date: 17/05/2024
|
|
197
|
+
|
|
198
|
+
Property | Value
|
|
199
|
+
---------|-------
|
|
200
|
+
testMessage | Test message
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
</TabItem>
|
|
204
|
+
</Tabs>
|
|
@@ -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
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# teams meeting attendancereport get
|
|
6
|
+
|
|
7
|
+
Gets attendance report for a given meeting
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 teams meeting attendancereport get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --userId [userId]`
|
|
19
|
+
: The id of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
|
|
20
|
+
|
|
21
|
+
`-n, --userName [userName]`
|
|
22
|
+
: The name of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
|
|
23
|
+
|
|
24
|
+
`--email [email]`
|
|
25
|
+
: The email of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
|
|
26
|
+
|
|
27
|
+
`-m, --meetingId <meetingId>`
|
|
28
|
+
: The Id of the meeting.
|
|
29
|
+
|
|
30
|
+
`-i, --id <id>`
|
|
31
|
+
: The Id of the attendance report.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
:::warning
|
|
39
|
+
|
|
40
|
+
To run this command with application permissions, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user. For more details, click [here](https://learn.microsoft.com/graph/cloud-communication-online-meeting-application-access-policy).
|
|
41
|
+
|
|
42
|
+
:::
|
|
43
|
+
|
|
44
|
+
:::note
|
|
45
|
+
|
|
46
|
+
This method doesn't support channel meetings.
|
|
47
|
+
|
|
48
|
+
:::
|
|
49
|
+
|
|
50
|
+
## Examples
|
|
51
|
+
|
|
52
|
+
Gets the specified attendance report made for the current signed in user and Microsoft Teams meeting with given id.
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
m365 teams meeting attendancereport get --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --id a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Gets the specified attendance report made for the garthf@contoso.com and Microsoft Teams meeting with given id.
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
m365 teams meeting attendancereport list --userName garthf@contoso.com --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --id a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Response
|
|
65
|
+
|
|
66
|
+
<Tabs>
|
|
67
|
+
<TabItem value="JSON">
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"id": "a8634e64-3147-4a56-9b19-cc822e9c7972",
|
|
72
|
+
"totalParticipantCount": 1,
|
|
73
|
+
"meetingStartDateTime": "2024-04-06T08:18:21.668Z",
|
|
74
|
+
"meetingEndDateTime": "2024-04-06T08:18:28.482Z",
|
|
75
|
+
"attendanceRecords": [
|
|
76
|
+
{
|
|
77
|
+
"id": "de36f75e-c103-410b-a18a-2bf6df06ac3b",
|
|
78
|
+
"emailAddress": "john@contoso.com",
|
|
79
|
+
"totalAttendanceInSeconds": 3,
|
|
80
|
+
"role": "Organizer",
|
|
81
|
+
"identity": {
|
|
82
|
+
"id": "de36f75e-c103-410b-a18a-2bf6df06ac3b",
|
|
83
|
+
"displayName": "John Doe",
|
|
84
|
+
"tenantId": "f1dd4023-a656-480a-8a0e-c1b1eec51e1e"
|
|
85
|
+
},
|
|
86
|
+
"attendanceIntervals": [
|
|
87
|
+
{
|
|
88
|
+
"joinDateTime": "2024-04-06T08:18:24.5069531Z",
|
|
89
|
+
"leaveDateTime": "2024-04-06T08:18:28.4820462Z",
|
|
90
|
+
"durationInSeconds": 3
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
</TabItem>
|
|
99
|
+
<TabItem value="Text">
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
attendanceRecords : [{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","emailAddress":"john@contoso.com","totalAttendanceInSeconds":3,"role":"Organizer","identity":{"id":"de36f75e-c103-410b-a18a-2bf6df06ac3b","displayName":"John Doe","tenantId":"f1dd4023-a656-480a-8a0e-c1b1eec51e1e"},"attendanceIntervals":[{"joinDateTime":"2024-04-06T08:18:24.5069531Z","leaveDateTime":"2024-04-06T08:18:28.4820462Z","durationInSeconds":3}]}]
|
|
103
|
+
id : a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
104
|
+
meetingEndDateTime : 2024-04-06T08:18:28.482Z
|
|
105
|
+
meetingStartDateTime : 2024-04-06T08:18:21.668Z
|
|
106
|
+
totalParticipantCount: 1
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
</TabItem>
|
|
110
|
+
<TabItem value="CSV">
|
|
111
|
+
|
|
112
|
+
```csv
|
|
113
|
+
id,totalParticipantCount,meetingStartDateTime,meetingEndDateTime
|
|
114
|
+
a8634e64-3147-4a56-9b19-cc822e9c7972,1,2024-04-06T08:18:21.668Z,2024-04-06T08:18:28.482Z
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
</TabItem>
|
|
118
|
+
|
|
119
|
+
<TabItem value="Markdown">
|
|
120
|
+
|
|
121
|
+
```md
|
|
122
|
+
# teams meeting attendancereport get --meetingId "MSpmZTM2Zjc1ZS1jMTAzLTQxMGItYTE4YS0yYmY2ZGYwNmFjM2EqMCoqMTk6bWVldGluZ19NRGt4TnpSaE56UXRZekZtWlMwMFlqWTFMVGhoTVRFdFpUWTBOV1JqTnpoaFkyVTVAdGhyZWFkLnYy" --id "a8634e64-3147-4a56-9b19-cc822e9c7972"
|
|
123
|
+
|
|
124
|
+
Date: 09/04/2024
|
|
125
|
+
|
|
126
|
+
## a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
127
|
+
|
|
128
|
+
Property | Value
|
|
129
|
+
---------|-------
|
|
130
|
+
id | a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
131
|
+
totalParticipantCount | 1
|
|
132
|
+
meetingStartDateTime | 2024-04-06T08:18:21.668Z
|
|
133
|
+
meetingEndDateTime | 2024-04-06T08:18:28.482Z
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
</TabItem>
|
|
137
|
+
</Tabs>
|
|
138
|
+
|
|
@@ -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
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# teams message remove
|
|
4
|
+
|
|
5
|
+
Removes a message from a channel in a Microsoft Teams team
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 teams message remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`--teamId [teamId]`
|
|
17
|
+
: ID of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
|
|
18
|
+
|
|
19
|
+
`--teamName [teamName]`
|
|
20
|
+
: Name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
|
|
21
|
+
|
|
22
|
+
`--channelId [channelId]`
|
|
23
|
+
: Channel ID of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
|
|
24
|
+
|
|
25
|
+
`--channelName [channelName]`
|
|
26
|
+
: Channel name of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
|
|
27
|
+
|
|
28
|
+
`-i, --id <id>`
|
|
29
|
+
: The ID of the Teams message.
|
|
30
|
+
|
|
31
|
+
`-f, --force`
|
|
32
|
+
: Don't prompt for confirmation.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<Global />
|
|
36
|
+
|
|
37
|
+
## Remarks
|
|
38
|
+
|
|
39
|
+
You can only remove Microsoft Teams messages that you created yourself.
|
|
40
|
+
|
|
41
|
+
:::info
|
|
42
|
+
|
|
43
|
+
This command does only support delegated permissions.
|
|
44
|
+
|
|
45
|
+
:::
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
Remove a message by using IDs
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 teams message remove --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2 --id 1540747442203
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Remove a message by using display names
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 teams message remove --teamName Marketing --channelName Branding --id 1540747442203
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Response
|
|
62
|
+
|
|
63
|
+
The command won't return a response on success.
|