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

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 (47) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/Auth.js +1 -9
  5. package/dist/chili/chili.js +0 -23
  6. package/dist/cli/cli.js +1 -63
  7. package/dist/m365/commands/setup.js +0 -4
  8. package/dist/m365/entra/commands/m365group/m365group-set.js +66 -29
  9. package/dist/m365/entra/commands/multitenant/MultitenantOrganization.js +2 -0
  10. package/dist/m365/entra/commands/multitenant/multitenant-get.js +32 -0
  11. package/dist/m365/entra/commands.js +1 -0
  12. package/dist/m365/external/commands/connection/connection-doctor.js +10 -24
  13. package/dist/m365/flow/commands/flow-list.js +23 -24
  14. package/dist/m365/graph/commands/subscription/subscription-add.js +4 -2
  15. package/dist/m365/spfx/commands/project/base-project-command.js +36 -126
  16. package/dist/m365/spo/commands/cdn/cdn-get.js +12 -15
  17. package/dist/m365/spo/commands/cdn/cdn-set.js +6 -4
  18. package/dist/m365/spo/commands/contenttype/contenttype-field-list.js +124 -0
  19. package/dist/m365/spo/commands/field/field-list.js +1 -1
  20. package/dist/m365/spo/commands/group/group-member-add.js +103 -99
  21. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -3
  22. package/dist/m365/spo/commands/page/page-text-add.js +2 -3
  23. package/dist/m365/spo/commands/spo-search.js +3 -4
  24. package/dist/m365/spo/commands.js +1 -0
  25. package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
  26. package/dist/m365/teams/commands/message/message-remove.js +112 -0
  27. package/dist/m365/teams/commands.js +2 -0
  28. package/dist/m365/viva/commands/engage/engage-community-add.js +166 -0
  29. package/dist/m365/viva/commands.js +1 -0
  30. package/dist/utils/formatting.js +14 -1
  31. package/dist/utils/teams.js +49 -0
  32. package/dist/utils/validation.js +19 -0
  33. package/docs/docs/cmd/entra/m365group/m365group-set.mdx +37 -7
  34. package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +94 -0
  35. package/docs/docs/cmd/external/connection/connection-doctor.mdx +9 -9
  36. package/docs/docs/cmd/flow/flow-list.mdx +114 -56
  37. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +18 -0
  38. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +3 -3
  39. package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +172 -0
  40. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +3 -3
  41. package/docs/docs/cmd/spo/field/field-list.mdx +3 -3
  42. package/docs/docs/cmd/spo/group/group-member-add.mdx +34 -27
  43. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +138 -0
  44. package/docs/docs/cmd/teams/message/message-remove.mdx +63 -0
  45. package/docs/docs/cmd/viva/engage/engage-community-add.mdx +168 -0
  46. package/npm-shrinkwrap.json +0 -195
  47. package/package.json +2 -2
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
4
4
 
5
5
  # flow list
6
6
 
7
- Lists Power Automate flow in the given environment
7
+ Lists Power Automate flows in the given environment
8
8
 
9
9
  ## Usage
10
10
 
@@ -83,85 +83,61 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
83
83
  ```json
84
84
  [
85
85
  {
86
- "name": "00afcb83-df7b-4fe0-ab9c-1542a1dc66a9",
87
- "id": "/providers/Microsoft.ProcessSimple/environments/Default-00000000-0000-0000-0000-000000000000/flows/00afcb83-df7b-4fe0-ab9c-1542a1dc66a9",
86
+ "name": "fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
87
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
88
88
  "type": "Microsoft.ProcessSimple/environments/flows",
89
89
  "properties": {
90
90
  "apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
91
- "displayName": "Contoso Invoicing Flow",
91
+ "displayName": "Invoicing flow",
92
92
  "userType": "Owner",
93
93
  "state": "Started",
94
94
  "connectionReferences": {
95
- "shared_contoso-20invoicing-5fdd00e4805bfffb8f-5fbaee43593a7efda0": {
96
- "connectionName": "bd877f62e4224011aa936d706fc68902",
97
- "source": "Invoker",
98
- "id": "/providers/Microsoft.PowerApps/apis/shared_contoso-20invoicing-5fdd00e4805bfffb8f-5fbaee43593a7efda0",
99
- "displayName": "Contoso Invoicing",
100
- "iconUri": "https://az787822.vo.msecnd.net/defaulticons/api-dedicated.png",
101
- "brandColor": "#007ee5",
102
- "tier": "NotSpecified"
103
- },
104
- "shared_flowpush": {
105
- "connectionName": "shared-flowpush-d2c01136-3f7d-4449-b4f1-cb2d03a35ba8",
106
- "source": "Invoker",
107
- "id": "/providers/Microsoft.PowerApps/apis/shared_flowpush",
108
- "displayName": "Notifications",
109
- "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1599/1.0.1599.3017/flowpush/icon.png",
110
- "brandColor": "#FF3B30",
95
+ "shared_office365": {
96
+ "connectionName": "shared-office365-19528cc4-23c1-4b39-abea-f010eb9fe3f9",
97
+ "source": "Embedded",
98
+ "id": "/providers/Microsoft.PowerApps/apis/shared_office365",
99
+ "displayName": "Office 365 Outlook",
100
+ "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1686/1.0.1686.3706/office365/icon.png",
101
+ "brandColor": "#0078D4",
111
102
  "tier": "Standard"
112
103
  }
113
104
  },
114
- "createdTime": "2022-06-11T10:34:03.7241198Z",
115
- "lastModifiedTime": "2022-06-11T10:35:54.1920032Z",
105
+ "createdTime": "2024-07-09T21:32:14.5918501Z",
106
+ "lastModifiedTime": "2024-07-09T21:32:15.2349507Z",
116
107
  "environment": {
117
- "name": "Default-00000000-0000-0000-0000-000000000000",
108
+ "name": "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
118
109
  "type": "Microsoft.ProcessSimple/environments",
119
- "id": "/providers/Microsoft.ProcessSimple/environments/Default-00000000-0000-0000-0000-000000000000"
110
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
120
111
  },
121
112
  "definitionSummary": {
122
113
  "triggers": [
123
114
  {
124
- "type": "Request",
125
- "kind": "Button",
115
+ "type": "Recurrence",
126
116
  "metadata": {
127
- "operationMetadataId": "0cc0490e-e1b6-4a19-b313-f54862d64f02"
117
+ "operationMetadataId": "57317efe-4f87-47bc-b69c-179452c75f87"
128
118
  }
129
119
  }
130
120
  ],
131
121
  "actions": [
132
122
  {
133
123
  "type": "OpenApiConnection",
134
- "swaggerOperationId": "ListInvoices",
124
+ "swaggerOperationId": "SendEmailV2",
135
125
  "metadata": {
136
- "operationMetadataId": "d76a7b54-48bb-49a0-86b8-dd3d21b3d5ce"
137
- }
138
- },
139
- {
140
- "type": "Table",
141
- "metadata": {
142
- "operationMetadataId": "1164ebc4-b501-46bc-bc88-cc99660f92c3"
143
- }
144
- },
145
- {
146
- "type": "OpenApiConnection",
147
- "swaggerOperationId": "SendEmailNotification",
148
- "metadata": {
149
- "operationMetadataId": "9febe29f-2e36-4765-81ab-83645d28332d"
126
+ "operationMetadataId": "474e8016-6a45-466a-a021-3fedf5a766be"
150
127
  }
151
128
  }
152
129
  ]
153
130
  },
154
131
  "creator": {
155
- "tenantId": "00000000-0000-0000-0000-000000000000",
156
- "objectId": "00000000-0000-0000-0000-000000000000",
157
- "userId": "00000000-0000-0000-0000-000000000000",
132
+ "tenantId": "1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
133
+ "objectId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
134
+ "userId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
158
135
  "userType": "ActiveDirectory"
159
136
  },
160
137
  "provisioningMethod": "FromDefinition",
161
138
  "flowFailureAlertSubscribed": true,
162
139
  "isManaged": false
163
- },
164
- "displayName": "Contoso Invoicing Flow"
140
+ }
165
141
  }
166
142
  ]
167
143
  ```
@@ -171,16 +147,16 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
171
147
 
172
148
  ```text
173
149
  name displayName
174
- ------------------------------------ -----------------------------------------------
175
- 00afcb83-df7b-4fe0-ab9c-1542a1dc66a9 Contoso Invoicing Flow
150
+ ------------------------------------ --------------
151
+ fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d Invoicing Flow
176
152
  ```
177
153
 
178
154
  </TabItem>
179
155
  <TabItem value="CSV">
180
156
 
181
157
  ```csv
182
- name,displayName
183
- 00afcb83-df7b-4fe0-ab9c-1542a1dc66a9,Contoso Invoicing Flow
158
+ name,id,type,displayName
159
+ fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,Microsoft.ProcessSimple/environments/flows,Invoicing flow
184
160
  ```
185
161
 
186
162
  </TabItem>
@@ -189,18 +165,100 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
189
165
  ```md
190
166
  # flow list --environmentName "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
191
167
 
192
- Date: 2023-05-18
168
+ Date: 09/07/2024
193
169
 
194
- ## Contoso Invoicing Flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/00afcb83-df7b-4fe0-ab9c-1542a1dc66a9)
170
+ ## Invoicing flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d)
195
171
 
196
172
  Property | Value
197
173
  ---------|-------
198
- name | 00afcb83-df7b-4fe0-ab9c-1542a1dc66a9
199
- id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/00afcb83-df7b-4fe0-ab9c-1542a1dc66a9
174
+ name | fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
175
+ id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
200
176
  type | Microsoft.ProcessSimple/environments/flows
201
- displayName | Contoso Invoicing Flow
177
+ displayName | Invoicing flow
202
178
  ```
203
179
 
204
180
  </TabItem>
205
181
  </Tabs>
206
182
 
183
+ ### `asAdmin` response
184
+
185
+ <Tabs>
186
+ <TabItem value="JSON">
187
+
188
+ ```json
189
+ [
190
+ {
191
+ "name": "fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
192
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
193
+ "type": "Microsoft.ProcessSimple/environments/flows",
194
+ "properties": {
195
+ "apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
196
+ "displayName": "Invoicing flow",
197
+ "state": "Started",
198
+ "createdTime": "2024-07-09T21:32:15Z",
199
+ "lastModifiedTime": "2024-07-09T21:32:15Z",
200
+ "flowSuspensionReason": "None",
201
+ "environment": {
202
+ "name": "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
203
+ "type": "Microsoft.ProcessSimple/environments",
204
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
205
+ },
206
+ "definitionSummary": {
207
+ "triggers": [],
208
+ "actions": []
209
+ },
210
+ "creator": {
211
+ "tenantId": "1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
212
+ "objectId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
213
+ "userId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
214
+ "userType": "ActiveDirectory"
215
+ },
216
+ "flowFailureAlertSubscribed": false,
217
+ "isManaged": false,
218
+ "machineDescriptionData": {},
219
+ "flowOpenAiData": {
220
+ "isConsequential": false,
221
+ "isConsequentialFlagOverwritten": false
222
+ }
223
+ }
224
+ }
225
+ ]
226
+ ```
227
+
228
+ </TabItem>
229
+ <TabItem value="Text">
230
+
231
+ ```text
232
+ name displayName
233
+ ------------------------------------ --------------
234
+ fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d Invoicing Flow
235
+ ```
236
+
237
+ </TabItem>
238
+ <TabItem value="CSV">
239
+
240
+ ```csv
241
+ name,id,type,displayName
242
+ fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,Microsoft.ProcessSimple/environments/flows,Invoicing flow
243
+ ```
244
+
245
+ </TabItem>
246
+ <TabItem value="Markdown">
247
+
248
+ ```md
249
+ # flow list --environmentName "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
250
+
251
+ Date: 09/07/2024
252
+
253
+ ## Invoicing flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d)
254
+
255
+ Property | Value
256
+ ---------|-------
257
+ name | fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
258
+ id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
259
+ type | Microsoft.ProcessSimple/environments/flows
260
+ displayName | Invoicing flow
261
+ ```
262
+
263
+ </TabItem>
264
+ </Tabs>
@@ -67,6 +67,24 @@ Create a subscription using the maximum allowed expiration for Group resources
67
67
  m365 graph subscription add --resource groups --changeTypes "updated" --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient"
68
68
  ```
69
69
 
70
+ Create a subscription for Event Hub location if you are using Key Vault
71
+
72
+ ```sh
73
+ m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventHub:https://azureKeyVaultName.vault.azure.net/secrets/secretName?tenantId=contoso.com"
74
+ ```
75
+
76
+ Create a subscription for Event Hub location if you are using role-based access control
77
+
78
+ ```sh
79
+ m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventHub:https://eventHubNamespace.servicebus.windows.net/eventhubname/eventHubName?tenantId=contoso.com"
80
+ ```
81
+
82
+ Create a subscription for Event Grid Partner Topic.
83
+
84
+ ```sh
85
+ m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventGrid:?azuresubscriptionid=8A8A8A8A-4B4B-4C4C-4D4D-12E12E12E12E&resourcegroup=resourceGroupName&partnertopic=partnerTopicName&location=partnerTopicAzureRegionName"
86
+ ```
87
+
70
88
  ## Response
71
89
 
72
90
  <Tabs>
@@ -17,10 +17,10 @@ m365 spo cdn set [options]
17
17
  : Set to true to enable CDN or to false to disable it. Allowed values: `true`, `false`.
18
18
 
19
19
  `-t, --type [type]`
20
- : Type of CDN to manage. Allowed values: `Public`, `Private`, `Both`. Defaults to `Public`.
20
+ : Type of CDN to update. Allowed values: `Public`, `Private`, `Both`. Defaults to `Public`.
21
21
 
22
22
  `--noDefaultOrigins`
23
- : pass to not create the default origins.
23
+ : Specify this flag to not create the default origins.
24
24
  ```
25
25
 
26
26
  <Global />
@@ -35,7 +35,7 @@ Using the `--noDefaultOrigins` option you can specify to skip the creation of th
35
35
 
36
36
  :::info
37
37
 
38
- To use this command you have to have permissions to access the tenant admin site.
38
+ To use this command you must be a Global or SharePoint administrator.
39
39
 
40
40
  :::
41
41
 
@@ -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 Name Hidden ReadOnly Sealed
92
- -------------------------------------------------------------------------- ------------------------------- ------ -------- ------
93
- 0x01007926A45D687BA842B947286090B8F67D PnP Alert false false false 0x01007CE30DD1206047728BAFD1C39A850120 Official Notice false false false 0x0100807FBAC5EB8A4653B8D24775195B5463 Phone Call Memo false false false
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 Group Hidden
120
- ------------------------------------ --------------------------------------- -------------------------------------- ------
121
- 5ee2dd25-d941-455a-9bdb-7f2c54aed11b Start date-time PnP Columns false
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
- "AllowedRoles": [
114
- 0
115
- ],
116
- "CurrentRole": 0,
117
- "DisplayName": "John Doe",
118
- "Email": "john.doe@contoso.onmicrosoft.com",
119
- "InvitationLink": null,
120
- "IsUserKnown": true,
121
- "Message": null,
122
- "Status": true,
123
- "User": "i:0#.f|membership|john.doe@contoso.onmicrosoft.com"
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
- DisplayName Email
133
- ----------- ---------------------------------
134
- John Doe john.doe@contoso.onmicrosoft.com
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
- DisplayName,Email
142
- John Doe,john.doe@contoso.onmicrosoft.com
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" --aadGroupIds "f2fb2f10-cfd2-4054-8ffd-64533657a5ab"
153
+ # spo group member add --webUrl "https://contoso.sharepoint.com/sites/Marketing" --groupId "5" --userNames "AdeleV@contoso.onmicrosoft.com"
150
154
 
151
- Date: 13/2/2023
155
+ Date: 10/07/2024
152
156
 
153
- ## All Company Members
157
+ ## Adele Vance (11)
154
158
 
155
159
  Property | Value
156
160
  ---------|-------
157
- CurrentRole | 0
158
- DisplayName | All Company Members
159
- Email | allcompany@contoso.onmicrosoft.com
160
- InvitationLink | null
161
- IsUserKnown | true
162
- Message | null
163
- Status | true
164
- User | c:0o.c\|federateddirectoryclaimprovider\|f2fb2f10-cfd2-4054-8ffd-64533657a5ab
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>