@pnp/cli-microsoft365 7.11.0-beta.c513557 → 8.0.0-beta.3c404b8
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 +6 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +2 -10
- package/dist/AuthServer.js +10 -10
- package/dist/Command.js +10 -10
- package/dist/chili/chili.js +0 -23
- package/dist/chili/index.js +1 -1
- package/dist/cli/cli.js +12 -74
- package/dist/index.js +1 -1
- package/dist/m365/base/AnonymousCommand.js +1 -1
- package/dist/m365/base/DelegatedGraphCommand.js +2 -2
- package/dist/m365/base/PowerAppsCommand.js +2 -2
- package/dist/m365/base/PowerAutomateCommand.js +2 -2
- package/dist/m365/base/PowerBICommand.js +2 -2
- package/dist/m365/base/PowerPlatformCommand.js +2 -2
- package/dist/m365/base/VivaEngageCommand.js +2 -2
- package/dist/m365/cli/commands/cli-consent.js +1 -1
- package/dist/m365/commands/login.js +1 -1
- package/dist/m365/commands/logout.js +1 -1
- package/dist/m365/commands/setup.js +0 -4
- package/dist/m365/commands/status.js +1 -1
- package/dist/m365/connection/commands/connection-list.js +1 -1
- package/dist/m365/connection/commands/connection-remove.js +1 -1
- package/dist/m365/connection/commands/connection-set.js +1 -1
- package/dist/m365/connection/commands/connection-use.js +1 -1
- package/dist/m365/entra/commands/app/app-permission-add.js +21 -1
- package/dist/m365/entra/commands/app/app-permission-remove.js +17 -0
- package/dist/m365/entra/commands/m365group/m365group-add.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-set.js +66 -29
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +1 -1
- 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 +11 -25
- package/dist/m365/external/commands/connection/connection-schema-add.js +4 -4
- package/dist/m365/file/commands/file-copy.js +3 -3
- package/dist/m365/flow/commands/flow-list.js +23 -24
- package/dist/m365/graph/commands/subscription/subscription-add.js +4 -2
- package/dist/m365/pa/commands/app/app-export.js +1 -1
- package/dist/m365/pa/commands/app/app-owner-set.js +1 -1
- package/dist/m365/pp/commands/solution/solution-publish.js +1 -1
- package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +1 -1
- package/dist/m365/spfx/commands/project/base-project-command.js +36 -126
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +1 -1
- package/dist/m365/spfx/commands/project/project-externalize.js +1 -1
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +4 -4
- 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 +1 -1
- 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/file/file-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/group/group-member-add.js +103 -99
- package/dist/m365/spo/commands/group/group-member-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +2 -2
- 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/site/site-commsite-enable.js +1 -1
- package/dist/m365/spo/commands/spo-search.js +4 -5
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +4 -4
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +2 -2
- package/dist/m365/spo/commands/user/user-ensure.js +1 -1
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/chat/chat-member-add.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
- package/dist/m365/teams/commands/meeting/meeting-list.js +1 -1
- 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/engage/engage-community-get.js +1 -1
- package/dist/m365/viva/commands.js +1 -0
- package/dist/request.js +13 -14
- package/dist/utils/formatting.js +14 -1
- package/dist/utils/spo.js +5 -5
- package/dist/utils/teams.js +49 -0
- package/dist/utils/validation.js +25 -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/spo/cdn/cdn-set.mdx +3 -3
- 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/teams/meeting/meeting-attendancereport-get.mdx +138 -0
- 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 +809 -803
- package/package.json +13 -13
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo contenttype field list
|
|
6
|
+
|
|
7
|
+
Lists fields for a given site or list content type
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo contenttype field list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
|
+
: Absolute URL of the site where the content type is located.
|
|
20
|
+
|
|
21
|
+
`-i, --contentTypeId [contentTypeId]`
|
|
22
|
+
: The ID of the content type for which to list fields. Specify either `contentTypeId` or `contentTypeName`.
|
|
23
|
+
|
|
24
|
+
`-n, --contentTypeName [contentTypeName]`
|
|
25
|
+
: The name of the content type for which to list fields. Specify either `contentTypeId` or `contentTypeName`.
|
|
26
|
+
|
|
27
|
+
`-l, --listTitle [listTitle]`
|
|
28
|
+
: Optional title of the list where the content type is located. Specify either `listTitle`, `listId` or `listUrl`.
|
|
29
|
+
|
|
30
|
+
`--listId [listId]`
|
|
31
|
+
: Optional ID of the list where the content type is located. Specify either `listTitle`, `listId` or `listUrl`.
|
|
32
|
+
|
|
33
|
+
`--listUrl [listUrl]`
|
|
34
|
+
: Optional server- or web-relative URL of the list where the content type is located. Specify either `listTitle`, `listId` or `listUrl`.
|
|
35
|
+
|
|
36
|
+
`-p, --properties [properties]`
|
|
37
|
+
: Comma-separated list of properties to retrieve. Will retrieve all properties if not specified.
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
<Global />
|
|
41
|
+
|
|
42
|
+
## Examples
|
|
43
|
+
|
|
44
|
+
Retrieves fields for the specified site content type.
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo contenttype field list --webUrl https://contoso.sharepoint.com/sites/contoso-sales --contentTypeId "0x01"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Retrieves fields for the specified list content type in the Documents library.
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo contenttype field list --webUrl https://contoso.sharepoint.com/sites/contoso-sales --contentTypeName "Document" --listTitle "Documents"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="JSON">
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
[
|
|
63
|
+
{
|
|
64
|
+
"AutoIndexed": false,
|
|
65
|
+
"CanBeDeleted": false,
|
|
66
|
+
"ClientSideComponentId": "00000000-0000-0000-0000-000000000000",
|
|
67
|
+
"ClientSideComponentProperties": null,
|
|
68
|
+
"ClientValidationFormula": null,
|
|
69
|
+
"ClientValidationMessage": null,
|
|
70
|
+
"CustomFormatter": null,
|
|
71
|
+
"DefaultFormula": null,
|
|
72
|
+
"DefaultValue": null,
|
|
73
|
+
"Description": "",
|
|
74
|
+
"Direction": "none",
|
|
75
|
+
"EnforceUniqueValues": false,
|
|
76
|
+
"EntityPropertyName": "Title",
|
|
77
|
+
"Filterable": true,
|
|
78
|
+
"FromBaseType": true,
|
|
79
|
+
"Group": "_Hidden",
|
|
80
|
+
"Hidden": false,
|
|
81
|
+
"Id": "fa564e0f-0c70-4ab9-b863-0177e6ddd247",
|
|
82
|
+
"Indexed": false,
|
|
83
|
+
"IndexStatus": 0,
|
|
84
|
+
"InternalName": "Title",
|
|
85
|
+
"IsModern": false,
|
|
86
|
+
"JSLink": "clienttemplates.js",
|
|
87
|
+
"PinnedToFiltersPane": false,
|
|
88
|
+
"ReadOnlyField": false,
|
|
89
|
+
"Required": true,
|
|
90
|
+
"SchemaXml": "<Field ID=\"{fa564e0f-0c70-4ab9-b863-0177e6ddd247}\" Name=\"Title\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"Title\" Group=\"_Hidden\" Type=\"Text\" DisplayName=\"Title\" Required=\"TRUE\" FromBaseType=\"TRUE\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\" ShowInNewForm=\"TRUE\" ShowInEditForm=\"TRUE\"></Field>",
|
|
91
|
+
"Scope": "/",
|
|
92
|
+
"Sealed": false,
|
|
93
|
+
"ShowInFiltersPane": 0,
|
|
94
|
+
"Sortable": true,
|
|
95
|
+
"StaticName": "Title",
|
|
96
|
+
"Title": "Title",
|
|
97
|
+
"FieldTypeKind": 2,
|
|
98
|
+
"TypeAsString": "Text",
|
|
99
|
+
"TypeDisplayName": "Single line of text",
|
|
100
|
+
"TypeShortDescription": "Single line of text",
|
|
101
|
+
"ValidationFormula": null,
|
|
102
|
+
"ValidationMessage": null,
|
|
103
|
+
"MaxLength": 255
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
</TabItem>
|
|
109
|
+
<TabItem value="Text">
|
|
110
|
+
|
|
111
|
+
```text
|
|
112
|
+
Id Title InternalName Hidden
|
|
113
|
+
------------------------------------ ------ ------------ ------
|
|
114
|
+
5ee2dd25-d941-455a-9bdb-7f2c54aed11b Title Title false
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
</TabItem>
|
|
118
|
+
<TabItem value="CSV">
|
|
119
|
+
|
|
120
|
+
```csv
|
|
121
|
+
AutoIndexed,CanBeDeleted,ClientSideComponentId,ClientSideComponentProperties,ClientValidationFormula,ClientValidationMessage,CustomFormatter,DefaultFormula,DefaultValue,Description,Direction,EnforceUniqueValues,EntityPropertyName,Filterable,FromBaseType,Group,Hidden,Id,Indexed,IndexStatus,InternalName,IsModern,JSLink,PinnedToFiltersPane,ReadOnlyField,Required,SchemaXml,Scope,Sealed,ShowInFiltersPane,Sortable,StaticName,Title,FieldTypeKind,TypeAsString,TypeDisplayName,TypeShortDescription,ValidationFormula,ValidationMessage,EnableLookup
|
|
122
|
+
,,00000000-0000-0000-0000-000000000000,,,,,,,,none,,ContentType,1,,_Hidden,,c042a256-787d-4a6f-8a8a-cf6ab767f12d,,0,ContentType,,,,,,"<Field ID=""{c042a256-787d-4a6f-8a8a-cf6ab767f12d}"" Name=""ContentType"" SourceID=""http://schemas.microsoft.com/sharepoint/v3"" StaticName=""ContentType"" Group=""_Hidden"" Type=""Computed"" DisplayName=""Content Type"" Sealed=""TRUE"" Sortable=""FALSE"" RenderXMLUsingPattern=""TRUE"" PITarget=""MicrosoftWindowsSharePointServices"" PIAttribute=""ContentTypeID"" DelayActivateTemplateBinding=""GROUP,SPSPERS,SITEPAGEPUBLISHING"" Customization=""""><FieldRefs><FieldRef ID=""{03e45e84-1992-4d42-9116-26f756012634}"" Name=""ContentTypeId"" /></FieldRefs><DisplayPattern><MapToContentType><Column Name=""ContentTypeId"" /></MapToContentType></DisplayPattern></Field>",/,1,0,,ContentType,Content Type,12,Computed,Computed,Computed,,,
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
</TabItem>
|
|
126
|
+
<TabItem value="Markdown">
|
|
127
|
+
|
|
128
|
+
```md
|
|
129
|
+
# spo contenttype field list --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --contentTypeId "0x01"
|
|
130
|
+
|
|
131
|
+
Date: 10/04/2024
|
|
132
|
+
|
|
133
|
+
## Title (fa564e0f-0c70-4ab9-b863-0177e6ddd247)
|
|
134
|
+
|
|
135
|
+
Property | Value
|
|
136
|
+
---------|-------
|
|
137
|
+
AutoIndexed | false
|
|
138
|
+
CanBeDeleted | false
|
|
139
|
+
ClientSideComponentId | 00000000-0000-0000-0000-000000000000
|
|
140
|
+
Description |
|
|
141
|
+
Direction | none
|
|
142
|
+
EnforceUniqueValues | false
|
|
143
|
+
EntityPropertyName | Title
|
|
144
|
+
Filterable | true
|
|
145
|
+
FromBaseType | true
|
|
146
|
+
Group | \_Hidden
|
|
147
|
+
Hidden | false
|
|
148
|
+
Id | fa564e0f-0c70-4ab9-b863-0177e6ddd247
|
|
149
|
+
Indexed | false
|
|
150
|
+
IndexStatus | 0
|
|
151
|
+
InternalName | Title
|
|
152
|
+
IsModern | false
|
|
153
|
+
JSLink | clienttemplates.js
|
|
154
|
+
PinnedToFiltersPane | false
|
|
155
|
+
ReadOnlyField | false
|
|
156
|
+
Required | true
|
|
157
|
+
SchemaXml | <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" Group="\_Hidden" Type="Text" DisplayName="Title" Required="TRUE" FromBaseType="TRUE" DelayActivateTemplateBinding="GROUP,SPSPERS,SITEPAGEPUBLISHING" Customization="" ShowInNewForm="TRUE" ShowInEditForm="TRUE"></Field>
|
|
158
|
+
Scope | /
|
|
159
|
+
Sealed | false
|
|
160
|
+
ShowInFiltersPane | 0
|
|
161
|
+
Sortable | true
|
|
162
|
+
StaticName | Title
|
|
163
|
+
Title | Title
|
|
164
|
+
FieldTypeKind | 2
|
|
165
|
+
TypeAsString | Text
|
|
166
|
+
TypeDisplayName | Single line of text
|
|
167
|
+
TypeShortDescription | Single line of text
|
|
168
|
+
MaxLength | 255
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
</TabItem>
|
|
172
|
+
</Tabs>
|
|
@@ -88,9 +88,9 @@ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso
|
|
|
88
88
|
<TabItem value="Text">
|
|
89
89
|
|
|
90
90
|
```text
|
|
91
|
-
StringId
|
|
92
|
-
|
|
93
|
-
0x01007926A45D687BA842B947286090B8F67D
|
|
91
|
+
StringId Name Hidden ReadOnly Sealed
|
|
92
|
+
-------------------------------------- --------- ------ -------- ------
|
|
93
|
+
0x01007926A45D687BA842B947286090B8F67D PnP Alert false false false
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
</TabItem>
|
|
@@ -116,9 +116,9 @@ m365 spo field list --webUrl https://contoso.sharepoint.com/sites/contoso-sales
|
|
|
116
116
|
<TabItem value="Text">
|
|
117
117
|
|
|
118
118
|
```text
|
|
119
|
-
Id Title
|
|
120
|
-
------------------------------------
|
|
121
|
-
5ee2dd25-d941-455a-9bdb-7f2c54aed11b Start date-time
|
|
119
|
+
Id Title InternalName Hidden
|
|
120
|
+
------------------------------------ --------------- --------------------- ------
|
|
121
|
+
5ee2dd25-d941-455a-9bdb-7f2c54aed11b Start date-time PnPAlertStartDateTime false
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
</TabItem>
|
|
@@ -110,17 +110,21 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
|
|
|
110
110
|
```json
|
|
111
111
|
[
|
|
112
112
|
{
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"Email": "
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
113
|
+
"Id": 11,
|
|
114
|
+
"IsHiddenInUI": false,
|
|
115
|
+
"LoginName": "i:0#.f|membership|adelev@contoso.onmicrosoft.com",
|
|
116
|
+
"Title": "Adele Vance",
|
|
117
|
+
"PrincipalType": 1,
|
|
118
|
+
"Email": "Adele.Vance@contoso.onmicrosoft.com",
|
|
119
|
+
"Expiration": "",
|
|
120
|
+
"IsEmailAuthenticationGuestUser": false,
|
|
121
|
+
"IsShareByEmailGuestUser": false,
|
|
122
|
+
"IsSiteAdmin": false,
|
|
123
|
+
"UserId": {
|
|
124
|
+
"NameId": "10032001f5ac2029",
|
|
125
|
+
"NameIdIssuer": "urn:federation:microsoftonline"
|
|
126
|
+
},
|
|
127
|
+
"UserPrincipalName": "adelev@contoso.onmicrosoft.com"
|
|
124
128
|
}
|
|
125
129
|
]
|
|
126
130
|
```
|
|
@@ -129,39 +133,42 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
|
|
|
129
133
|
<TabItem value="Text">
|
|
130
134
|
|
|
131
135
|
```text
|
|
132
|
-
|
|
133
|
-
-----------
|
|
134
|
-
|
|
136
|
+
Title UserPrincipalName
|
|
137
|
+
----------- -------------------------------------
|
|
138
|
+
Adele Vance Adele.Vance@contoso.onmicrosoft.com
|
|
135
139
|
```
|
|
136
140
|
|
|
137
141
|
</TabItem>
|
|
138
142
|
<TabItem value="CSV">
|
|
139
143
|
|
|
140
144
|
```csv
|
|
141
|
-
|
|
142
|
-
|
|
145
|
+
Id,IsHiddenInUI,LoginName,Title,PrincipalType,Email,Expiration,IsEmailAuthenticationGuestUser,IsShareByEmailGuestUser,IsSiteAdmin,UserPrincipalName
|
|
146
|
+
11,,i:0#.f|membership|adelev@contoso.onmicrosoft.com,Adele Vance,1,Adele.Vance@contoso.onmicrosoft.com,,,,,adelev@contoso.onmicrosoft.com
|
|
143
147
|
```
|
|
144
148
|
|
|
145
149
|
</TabItem>
|
|
146
150
|
<TabItem value="Markdown">
|
|
147
151
|
|
|
148
152
|
```md
|
|
149
|
-
# spo group member add --webUrl "https://contoso.sharepoint.com" --groupId "5" --
|
|
153
|
+
# spo group member add --webUrl "https://contoso.sharepoint.com/sites/Marketing" --groupId "5" --userNames "AdeleV@contoso.onmicrosoft.com"
|
|
150
154
|
|
|
151
|
-
Date:
|
|
155
|
+
Date: 10/07/2024
|
|
152
156
|
|
|
153
|
-
##
|
|
157
|
+
## Adele Vance (11)
|
|
154
158
|
|
|
155
159
|
Property | Value
|
|
156
160
|
---------|-------
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
Id | 11
|
|
162
|
+
IsHiddenInUI | false
|
|
163
|
+
LoginName | i:0#.f\|membership\|adelev@contoso.onmicrosoft.com
|
|
164
|
+
Title | Adele Vance
|
|
165
|
+
PrincipalType | 1
|
|
166
|
+
Email | Adele.Vance@contoso.onmicrosoft.com
|
|
167
|
+
Expiration |
|
|
168
|
+
IsEmailAuthenticationGuestUser | false
|
|
169
|
+
IsShareByEmailGuestUser | false
|
|
170
|
+
IsSiteAdmin | false
|
|
171
|
+
UserPrincipalName | adelev@contoso.onmicrosoft.com
|
|
165
172
|
```
|
|
166
173
|
|
|
167
174
|
</TabItem>
|
|
@@ -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
|
+
|
|
@@ -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.
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# viva engage community add
|
|
6
|
+
|
|
7
|
+
Creates a new community in Viva Engage
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 viva engage community add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--displayName <displayName>`
|
|
19
|
+
: The name of the community. The maximum length is 255 characters.
|
|
20
|
+
|
|
21
|
+
`--description <description>`
|
|
22
|
+
: The description of the community. The maximum length is 1024 characters.
|
|
23
|
+
|
|
24
|
+
`--privacy <privacy>`
|
|
25
|
+
: Defines the privacy level of the community. The possible values are: `public`, `private`.
|
|
26
|
+
|
|
27
|
+
`--adminEntraIds [adminEntraIds]`
|
|
28
|
+
: Comma-separated list of Microsoft Entra IDs, assigning admin privileges to the designated individuals. Required when using application permissions. Specify either `adminEntraIds` or `adminEntraUserNames`, but not both.
|
|
29
|
+
|
|
30
|
+
`--adminEntraUserNames [adminEntraUserNames]`
|
|
31
|
+
: Comma-separated list of Microsoft Entra UPNs, assigning admin privileges to the designated individuals. Required when using application permissions. Specify either `adminEntraIds` or `adminEntraUserNames`, but not both.
|
|
32
|
+
|
|
33
|
+
`--wait`
|
|
34
|
+
: Wait for the operation to finish.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Global />
|
|
38
|
+
|
|
39
|
+
## Remarks
|
|
40
|
+
|
|
41
|
+
:::warning
|
|
42
|
+
|
|
43
|
+
This command is based on an API that is currently in preview and is subject to change once the API reaches general availability.
|
|
44
|
+
|
|
45
|
+
:::
|
|
46
|
+
|
|
47
|
+
Creating a community is limited to networks in Native mode only - legacy and external Yammer networks will not be able to use this API for community creation.
|
|
48
|
+
|
|
49
|
+
## Examples
|
|
50
|
+
|
|
51
|
+
Create a public community and wait for the community to be created
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
m365 viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy public --wait
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Create a private community
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
m365 viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy private
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Create a private community with owners
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
m365 viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy private --adminEntraUserNames "john.doe@contoso.onmicrosoft.com,jane.doe@contoso.onmicrosoft.com"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Response
|
|
70
|
+
|
|
71
|
+
### Standard response
|
|
72
|
+
|
|
73
|
+
<Tabs>
|
|
74
|
+
<TabItem value="JSON">
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
"https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI4ZmM2NzEyZS0wMWY4LTQxN2YtYWNmMS1iZTJiYmMxY2FjNGQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ')"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
</TabItem>
|
|
81
|
+
<TabItem value="Text">
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI4ZmM2NzEyZS0wMWY4LTQxN2YtYWNmMS1iZTJiYmMxY2FjNGQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ')
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
</TabItem>
|
|
88
|
+
<TabItem value="CSV">
|
|
89
|
+
|
|
90
|
+
```csv
|
|
91
|
+
https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI4ZmM2NzEyZS0wMWY4LTQxN2YtYWNmMS1iZTJiYmMxY2FjNGQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ')
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
</TabItem>
|
|
95
|
+
<TabItem value="Markdown">
|
|
96
|
+
|
|
97
|
+
```md
|
|
98
|
+
https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI4ZmM2NzEyZS0wMWY4LTQxN2YtYWNmMS1iZTJiYmMxY2FjNGQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ')
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</TabItem>
|
|
102
|
+
</Tabs>
|
|
103
|
+
|
|
104
|
+
### `wait` response
|
|
105
|
+
|
|
106
|
+
When we make use of the option `wait` the response will differ.
|
|
107
|
+
|
|
108
|
+
<Tabs>
|
|
109
|
+
<TabItem value="JSON">
|
|
110
|
+
|
|
111
|
+
```json
|
|
112
|
+
{
|
|
113
|
+
"id": "eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI2ODgxMGQ4ZS1lODk2LTRhNzEtYWM5NC02NGIyZThlMmMyOGUiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ",
|
|
114
|
+
"createdDateTime": "2024-04-10T12:16:18.0240578Z",
|
|
115
|
+
"lastActionDateTime": "2024-04-10T12:16:18.0240592Z",
|
|
116
|
+
"status": "succeeded",
|
|
117
|
+
"statusDetail": null,
|
|
118
|
+
"resourceLocation": "https://graph.microsoft.com/beta/employeeExperience/communities('eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTMxNTAyMDgifQ')",
|
|
119
|
+
"operationType": "createCommunity",
|
|
120
|
+
"resourceId": "eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTMxNTAyMDgifQ"
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
</TabItem>
|
|
125
|
+
<TabItem value="Text">
|
|
126
|
+
|
|
127
|
+
```text
|
|
128
|
+
createdDateTime : 2024-04-10T12:45:03.4020639Z
|
|
129
|
+
id : eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI5NzRkMjUzZS1jMGUzLTQ2YjgtYTkzMy0zZDZhODU1NGE0OWUiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ
|
|
130
|
+
lastActionDateTime: 2024-04-10T12:45:03.4020656Z
|
|
131
|
+
operationType : createCommunity
|
|
132
|
+
resourceId : eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTUwNTA3NTIifQ
|
|
133
|
+
resourceLocation : https://graph.microsoft.com/beta/employeeExperience/communities('eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTUwNTA3NTIifQ')
|
|
134
|
+
status : succeeded
|
|
135
|
+
statusDetail : null
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
</TabItem>
|
|
139
|
+
<TabItem value="CSV">
|
|
140
|
+
|
|
141
|
+
```csv
|
|
142
|
+
id,createdDateTime,lastActionDateTime,status,statusDetail,resourceLocation,operationType,resourceId
|
|
143
|
+
eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiJiMDU0MjFmNC0zNzU5LTQ3NzgtOTVhYi01NzhiYjAzZGNiMWQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ,2024-04-12T11:24:29.074105Z,2024-04-12T11:24:29.0741064Z,succeeded,,https://graph.microsoft.com/beta/employeeExperience/communities('eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODUwMTc2NzE2ODAifQ'),createCommunity,eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODUwMTc2NzE2ODAifQ
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
</TabItem>
|
|
147
|
+
<TabItem value="Markdown">
|
|
148
|
+
|
|
149
|
+
```md
|
|
150
|
+
# viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy "private" --wait "true"
|
|
151
|
+
|
|
152
|
+
Date: 10/04/2024
|
|
153
|
+
|
|
154
|
+
## eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI5ZTgzMDRjMC1mZmY0LTRkODgtYTM4OS1mNDY0MmQ3OGZlMTciLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ
|
|
155
|
+
|
|
156
|
+
Property | Value
|
|
157
|
+
---------|-------
|
|
158
|
+
id | eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI5ZTgzMDRjMC1mZmY0LTRkODgtYTM4OS1mNDY0MmQ3OGZlMTciLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ
|
|
159
|
+
createdDateTime | 2024-04-10T12:47:47.3488087Z
|
|
160
|
+
lastActionDateTime | 2024-04-10T12:47:47.3488107Z
|
|
161
|
+
status | succeeded
|
|
162
|
+
resourceLocation | https://graph.microsoft.com/beta/employeeExperience/communities('eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTUyMzkxNjgifQ')
|
|
163
|
+
operationType | createCommunity
|
|
164
|
+
resourceId | eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTUyMzkxNjgifQ
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
</TabItem>
|
|
168
|
+
</Tabs>
|