@pnp/cli-microsoft365 6.3.0-beta.fee5cdb → 6.4.0-beta.3946b02

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 (107) hide show
  1. package/.eslintrc.js +1 -0
  2. package/dist/Command.js +1 -0
  3. package/dist/appInsights.js +2 -1
  4. package/dist/cli/Cli.js +70 -2
  5. package/dist/m365/aad/commands/license/license-list.js +41 -0
  6. package/dist/m365/aad/commands/user/user-add.js +223 -0
  7. package/dist/m365/aad/commands/user/user-license-add.js +88 -0
  8. package/dist/m365/aad/commands/user/user-license-list.js +99 -0
  9. package/dist/m365/aad/commands/user/user-license-remove.js +115 -0
  10. package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +1 -1
  11. package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
  12. package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
  13. package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +70 -0
  14. package/dist/m365/aad/commands/user/user-remove.js +107 -0
  15. package/dist/m365/aad/commands.js +9 -0
  16. package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
  17. package/dist/m365/flow/commands/environment/environment-get.js +26 -11
  18. package/dist/m365/flow/commands/flow-disable.js +9 -2
  19. package/dist/m365/flow/commands/flow-enable.js +9 -2
  20. package/dist/m365/flow/commands/flow-get.js +9 -2
  21. package/dist/m365/flow/commands/flow-list.js +1 -1
  22. package/dist/m365/flow/commands/flow-remove.js +2 -2
  23. package/dist/m365/flow/commands/owner/owner-list.js +89 -0
  24. package/dist/m365/flow/commands/run/run-cancel.js +9 -2
  25. package/dist/m365/flow/commands.js +1 -0
  26. package/dist/m365/pp/commands/environment/environment-get.js +18 -9
  27. package/dist/m365/spo/commands/file/file-move.js +0 -2
  28. package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
  29. package/dist/m365/spo/commands/folder/folder-move.js +0 -2
  30. package/dist/m365/spo/commands/site/site-add.js +0 -3
  31. package/dist/m365/spo/commands/site/site-remove.js +0 -3
  32. package/dist/m365/spo/commands/site/site-set.js +0 -2
  33. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
  34. package/dist/m365/spo/commands/term/term-get.js +68 -48
  35. package/dist/m365/teams/commands/team/team-add.js +3 -8
  36. package/dist/utils/session.js +18 -0
  37. package/dist/utils/spo.js +3 -12
  38. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
  39. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +3 -3
  40. package/docs/docs/cmd/aad/license/license-list.md +87 -0
  41. package/docs/docs/cmd/aad/user/user-add.md +168 -0
  42. package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
  43. package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
  44. package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
  45. package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +1 -1
  46. package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
  47. package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
  48. package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
  49. package/docs/docs/cmd/aad/user/user-remove.md +51 -0
  50. package/docs/docs/cmd/aad/user/user-set.md +1 -1
  51. package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
  52. package/docs/docs/cmd/flow/owner/owner-list.md +90 -0
  53. package/docs/docs/cmd/spo/group/group-member-add.md +4 -4
  54. package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
  55. package/docs/docs/cmd/spo/homesite/homesite-remove.md +8 -2
  56. package/docs/docs/cmd/spo/homesite/homesite-set.md +8 -2
  57. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
  58. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
  59. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
  60. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
  61. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
  62. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
  63. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
  64. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
  65. package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
  66. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
  67. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +7 -1
  68. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +9 -3
  69. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +8 -2
  70. package/docs/docs/cmd/spo/list/list-add.md +123 -57
  71. package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
  72. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
  73. package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
  74. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
  75. package/docs/docs/cmd/spo/list/list-get.md +70 -4
  76. package/docs/docs/cmd/spo/list/list-list.md +70 -2
  77. package/docs/docs/cmd/spo/list/list-remove.md +6 -6
  78. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
  79. package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
  80. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
  81. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
  82. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
  83. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
  84. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
  85. package/docs/docs/cmd/spo/list/list-set.md +61 -61
  86. package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
  87. package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
  88. package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
  89. package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
  90. package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
  91. package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
  92. package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
  93. package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
  94. package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
  95. package/docs/docs/cmd/spo/listitem/listitem-add.md +29 -0
  96. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +17 -2
  97. package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
  98. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +6 -0
  99. package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
  100. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
  101. package/docs/docs/cmd/spo/listitem/listitem-set.md +30 -0
  102. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +23 -1
  103. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +1 -1
  104. package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +26 -26
  105. package/docs/docs/cmd/teams/channel/channel-member-add.md +2 -2
  106. package/npm-shrinkwrap.json +3 -2
  107. package/package.json +2 -1
@@ -121,3 +121,64 @@ m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x
121
121
  Id,Title,DefaultView,Hidden,BaseViewId
122
122
  3cd2e934-f482-4d4a-a9b8-a13b49b3d226,All events,,,1
123
123
  ```
124
+
125
+ === "Markdown"
126
+
127
+ ```md
128
+ # spo list view list --webUrl "https://contoso.sharepoint.com" --listTitle "My List"
129
+
130
+ Date: 2/20/2023
131
+
132
+ ## All Items (6275ed5c-8e4f-4e81-8060-2d9162b29952)
133
+
134
+ Property | Value
135
+ ---------|-------
136
+ Aggregations | null
137
+ AggregationsStatus | null
138
+ AssociatedContentTypeId | null
139
+ BaseViewId | 1
140
+ CalendarViewStyles | null
141
+ ColumnWidth | null
142
+ ContentTypeId | {"StringValue":"0x"}
143
+ CustomFormatter |
144
+ CustomOrder | null
145
+ DefaultView | true
146
+ DefaultViewForContentType | false
147
+ EditorModified | false
148
+ Formats | null
149
+ GridLayout | null
150
+ Hidden | false
151
+ HtmlSchemaXml | <View Name="{6275ED5C-8E4F-4E81-8060-2D9162B29952}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/teams/AllStars/Lists/My List/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/\_layouts/15/images/generic.png?rev=47"><Query /><ViewFields><FieldRef Name="LinkTitle" /><FieldRef Name="FieldName1" /></ViewFields><Toolbar Type="Standard" /><CustomFormatter /><XslLink Default="TRUE">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><RowLimit Paged="TRUE">30</RowLimit><ParameterBindings><ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY\_LIST)" /><ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY\_DEFAULT)" /></ParameterBindings></View>
152
+ Id | 6275ed5c-8e4f-4e81-8060-2d9162b29952
153
+ ImageUrl | /\_layouts/15/images/generic.png?rev=47
154
+ IncludeRootFolder | false
155
+ ViewJoins | null
156
+ JSLink | clienttemplates.js
157
+ ListViewXml | <View Name="{6275ED5C-8E4F-4E81-8060-2D9162B29952}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/teams/AllStars/Lists/My List/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/\_layouts/15/images/generic.png?rev=47" ><Query /><ViewFields><FieldRef Name="LinkTitle" /><FieldRef Name="FieldName1" /></ViewFields><RowLimit Paged="TRUE">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default="TRUE">main.xsl</XslLink><CustomFormatter /><Toolbar Type="Standard"/></View>
158
+ Method | null
159
+ MobileDefaultView | true
160
+ MobileView | true
161
+ ModerationType | null
162
+ NewDocumentTemplates | null
163
+ OrderedView | false
164
+ Paged | true
165
+ PersonalView | false
166
+ ViewProjectedFields | null
167
+ ViewQuery |
168
+ ReadOnlyView | false
169
+ RequiresClientIntegration | false
170
+ RowLimit | 30
171
+ Scope | 0
172
+ ServerRelativePath | {"DecodedUrl":"/teams/AllStars/Lists/My List/AllItems.aspx"}
173
+ ServerRelativeUrl | /teams/AllStars/Lists/My List/AllItems.aspx
174
+ StyleId | null
175
+ TabularView | true
176
+ Threaded | false
177
+ Title | All Items
178
+ Toolbar |
179
+ ToolbarTemplateName | null
180
+ ViewType | HTML
181
+ ViewData | null
182
+ ViewType2 | null
183
+ VisualizationInfo | null
184
+ ```
@@ -19,7 +19,7 @@ m365 spo list view set [options]
19
19
  `--listTitle [listTitle]`
20
20
  : Title of the list where the view is located. Specify either `listId`, `listTitle`, or `listUrl`.
21
21
 
22
- `--listUrl [listUrl]`
22
+ `--listUrl [listUrl]`
23
23
  : Server- or site-relative URL of the list. Specify either `listId` , `listTitle` or `listUrl`.
24
24
 
25
25
  `--id [id]`
@@ -86,3 +86,22 @@ m365 spo list webhook add --webUrl https://contoso.sharepoint.com/sites/ninja --
86
86
  clientState,expirationDateTime,id,notificationUrl,resource,resourceData
87
87
  random client state,2019-05-29T23:00:00.000Z,ef69c37d-cb0e-46d9-9758-5ebdeffd6959,https://contoso-funcions.azurewebsites.net/webhook,0987cfd9-f02c-479b-9fb4-3f0550462848,
88
88
  ```
89
+
90
+ === "Markdown"
91
+
92
+ ```md
93
+ # spo list webhook add --webUrl "https://contoso.sharepoint.com/sites/ninja" --listUrl "/sites/ninja/Documents" --notificationUrl "https://contoso-funcions.azurewebsites.net/webhook" --expirationDateTime "2019-01-21"
94
+
95
+ Date: 2/20/2023
96
+
97
+ ## ef69c37d-cb0e-46d9-9758-5ebdeffd6959
98
+
99
+ Property | Value
100
+ ---------|-------
101
+ clientState | random client state
102
+ expirationDateTime | 2019-05-29T23:00:00.000Z
103
+ id | ef69c37d-cb0e-46d9-9758-5ebdeffd6959
104
+ notificationUrl | https://contoso-funcions.azurewebsites.net/webhook
105
+ resource | 0987cfd9-f02c-479b-9fb4-3f0550462848
106
+ resourceData | null
107
+ ```
@@ -83,3 +83,22 @@ m365 spo list webhook get --webUrl https://contoso.sharepoint.com/sites/project-
83
83
  clientState,expirationDateTime,id,notificationUrl,resource,resourceData
84
84
  system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,b8838bbb-9ddb-44fb-9016-0aacb9e02b77,https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76,97d19285-b8a6-4c7f-9c6c-d6b850a6561a,
85
85
  ```
86
+
87
+ === "Markdown"
88
+
89
+ ```md
90
+ # spo list webhook get --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents" --id "b8838bbb-9ddb-44fb-9016-0aacb9e02b77"
91
+
92
+ Date: 2/20/2023
93
+
94
+ ## b8838bbb-9ddb-44fb-9016-0aacb9e02b77
95
+
96
+ Property | Value
97
+ ---------|-------
98
+ clientState| system-managed:8082D436-D8DA-458D-96AD-34C902B73F37
99
+ expirationDateTime| 2022-11-16T20:25:12.2735056Z
100
+ id| b8838bbb-9ddb-44fb-9016-0aacb9e02b77
101
+ notificationUrl| https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76
102
+ resource| 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
103
+ resourceData| null
104
+ ```
@@ -75,3 +75,22 @@ m365 spo list webhook list --webUrl https://contoso.sharepoint.com/sites/project
75
75
  id,clientState,expirationDateTime,resource
76
76
  b8838bbb-9ddb-44fb-9016-0aacb9e02b77,system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,97d19285-b8a6-4c7f-9c6c-d6b850a6561a
77
77
  ```
78
+
79
+ === "Markdown"
80
+
81
+ ```md
82
+ # spo list webhook list --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents"
83
+
84
+ Date: 2/20/2023
85
+
86
+ ## b8838bbb-9ddb-44fb-9016-0aacb9e02b77
87
+
88
+ Property | Value
89
+ ---------|-------
90
+ clientState| system-managed:8082D436-D8DA-458D-96AD-34C902B73F37
91
+ expirationDateTime| 2022-11-16T20:25:12.2735056Z
92
+ id| b8838bbb-9ddb-44fb-9016-0aacb9e02b77
93
+ notificationUrl| https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76
94
+ resource| 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
95
+ resourceData| null
96
+ ```
@@ -132,3 +132,32 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
132
132
  FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
133
133
  0,235,,,235,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
134
134
  ```
135
+
136
+ === "Markdown"
137
+
138
+ ```md
139
+ # spo listitem add --contentType "Item" --listTitle "My List" --webUrl "https://contoso.sharepoint.com/sites/project-x" --Title "Test"
140
+
141
+ Date: 2/20/2023
142
+
143
+ ## Test (234)
144
+
145
+ Property | Value
146
+ ---------|-------
147
+ FileSystemObjectType | 0
148
+ Id | 234
149
+ ServerRedirectedEmbedUri | null
150
+ ServerRedirectedEmbedUrl |
151
+ ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
152
+ Title | Test
153
+ ComplianceAssetId | null
154
+ FieldName1 | null
155
+ ID | 234
156
+ Modified | 2022-11-16T20:55:45Z
157
+ Created | 2022-11-16T20:55:45Z
158
+ AuthorId | 10
159
+ EditorId | 10
160
+ OData\_\_UIVersionString | 1.0
161
+ Attachments | false
162
+ GUID | 352e3855-56fa-4b68-b6be-4644d6adf204
163
+ ```
@@ -11,7 +11,7 @@ m365 spo listitem attachment list [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --webUrl <webUrl>`
14
- URL of the site from which the item should be retrieved
14
+ : URL of the site from which the item should be retrieved
15
15
 
16
16
  `--listId [listId]`
17
17
  : ID of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl`
@@ -23,7 +23,7 @@ URL of the site from which the item should be retrieved
23
23
  : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
24
24
 
25
25
  `--itemId <itemId>`
26
- ID of the list item to in question
26
+ : ID of the list item to in question
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
@@ -80,3 +80,18 @@ m365 spo listitem attachment list --webUrl https://contoso.sharepoint.com/sites/
80
80
  FileName,ServerRelativeUrl
81
81
  DummyDocument.docx,/Lists/Test/Attachments/236/DummyDocument.docx
82
82
  ```
83
+
84
+ === "Markdown"
85
+
86
+ ```md
87
+ # spo listitem attachment list --webUrl "https://contoso.sharepoint.com" --listTitle "Test" --itemId "236"
88
+
89
+ Date: 2/20/2023
90
+
91
+ Property | Value
92
+ ---------|-------
93
+ FileName | DummyDocument.docx
94
+ FileNameAsPath | {"DecodedUrl":"DummyDocument.docx"}
95
+ ServerRelativePath | {"DecodedUrl":"/Lists/Test/Attachments/236/DummyDocument.docx"}
96
+ ServerRelativeUrl | /Lists/Test/Attachments/236/DummyDocument.docx
97
+ ```
@@ -118,6 +118,34 @@ m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.
118
118
  0,147,,,0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126,Demo Item,2022-10-30T10:55:37Z,2022-10-30T10:55:22Z,10,10,3.0,,87f3138d-fac3-4126-97c0-543e55672261,
119
119
  ```
120
120
 
121
+ === "Markdown"
122
+
123
+ ```md
124
+ # spo listitem get --webUrl "https://contoso.sharepoint.com" --listTitle "My List" --id "147"
125
+
126
+ Date: 2/20/2023
127
+
128
+ ## Demo Item (147)
129
+
130
+ Property | Value
131
+ ---------|-------
132
+ FileSystemObjectType | 0
133
+ Id | 147
134
+ ServerRedirectedEmbedUri | null
135
+ ServerRedirectedEmbedUrl |
136
+ ContentTypeId | 0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126
137
+ Title | Demo Item
138
+ ComplianceAssetId | null
139
+ FieldName1 | null
140
+ Modified | 2022-10-30T10:55:37Z
141
+ Created | 2022-10-30T10:55:22Z
142
+ AuthorId | 10
143
+ EditorId | 10
144
+ OData\_\_UIVersionString | 3.0
145
+ Attachments | false
146
+ GUID | 87f3138d-fac3-4126-97c0-543e55672261
147
+ ```
148
+
121
149
  ### `withPermissions` response
122
150
 
123
151
  When we make use of the option `withPermissions` the response will differ.
@@ -242,3 +270,32 @@ When we make use of the option `withPermissions` the response will differ.
242
270
  FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,RoleAssignments
243
271
  0,147,,,0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126,Demo Item,2022-10-30T10:55:37Z,2022-10-30T10:55:22Z,10,10,3.0,,87f3138d-fac3-4126-97c0-543e55672261,"[{""Member"":{""Id"":3,""IsHiddenInUI"":false,""LoginName"":""Communication site Owners"",""Title"":""Communication site Owners"",""PrincipalType"":8,""AllowMembersEditMembership"":false,""AllowRequestToJoinLeave"":false,""AutoAcceptRequestToJoinLeave"":false,""Description"":null,""OnlyAllowMembersViewMembership"":false,""OwnerTitle"":""Communication site Owners"",""RequestToJoinLeaveEmailSetting"":""""},""RoleDefinitionBindings"":[{""BasePermissions"":{""High"":""2147483647"",""Low"":""4294967295""},""Description"":""Has full control."",""Hidden"":false,""Id"":1073741829,""Name"":""Full Control"",""Order"":1,""RoleTypeKind"":5,""BasePermissionsValue"":[""ViewListItems"",""AddListItems"",""EditListItems"",""DeleteListItems"",""ApproveItems"",""OpenItems"",""ViewVersions"",""DeleteVersions"",""CancelCheckout"",""ManagePersonalViews"",""ManageLists"",""ViewFormPages"",""AnonymousSearchAccessList"",""Open"",""ViewPages"",""AddAndCustomizePages"",""ApplyThemeAndBorder"",""ApplyStyleSheets"",""ViewUsageData"",""CreateSSCSite"",""ManageSubwebs"",""CreateGroups"",""ManagePermissions"",""BrowseDirectories"",""BrowseUserInfo"",""AddDelPrivateWebParts"",""UpdatePersonalWebParts"",""ManageWeb"",""AnonymousSearchAccessWebLists"",""UseClientIntegration"",""UseRemoteAPIs"",""ManageAlerts"",""CreateAlerts"",""EditMyUserInfo"",""EnumeratePermissions""],""RoleTypeKindValue"":""Administrator""}],""PrincipalId"":3}]"
244
272
  ```
273
+
274
+ === "Markdown"
275
+
276
+ ```md
277
+ # spo listitem get --webUrl "https://contoso.sharepoint.com" --listTitle "My List" --id "147" --withPermissions "true"
278
+
279
+ Date: 2/20/2023
280
+
281
+ ## Demo Item (1)
282
+
283
+ Property | Value
284
+ ---------|-------
285
+ FileSystemObjectType | 0
286
+ Id | 147
287
+ ServerRedirectedEmbedUri | null
288
+ ServerRedirectedEmbedUrl |
289
+ ContentTypeId | 0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126
290
+ Title | Demo Item
291
+ ComplianceAssetId | null
292
+ FieldName1 | null
293
+ Modified | 2022-10-30T10:55:37Z
294
+ Created | 2022-10-30T10:55:22Z
295
+ AuthorId | 10
296
+ EditorId | 10
297
+ OData\_\_UIVersionString | 3.0
298
+ Attachments | false
299
+ GUID | 87f3138d-fac3-4126-97c0-543e55672261
300
+ RoleAssignments | [{"Member":{"Id":3,"IsHiddenInUI":false,"LoginName":"Communication site Owners","Title":"Communication site Owners","PrincipalType":8,"AllowMembersEditMembership":false,"AllowRequestToJoinLeave":false,"AutoAcceptRequestToJoinLeave":false,"Description":null,"OnlyAllowMembersViewMembership":false,"OwnerTitle":"Communication site Owners","RequestToJoinLeaveEmailSetting":""},"RoleDefinitionBindings":[{"BasePermissions":{"High":"2147483647","Low":"4294967295"},"Description":"Has full control.","Hidden":false,"Id":1073741829,"Name":"Full Control","Order":1,"RoleTypeKind":5,"BasePermissionsValue":["ViewListItems","AddListItems","EditListItems","DeleteListItems","ApproveItems","OpenItems","ViewVersions","DeleteVersions","CancelCheckout","ManagePersonalViews","ManageLists","ViewFormPages","AnonymousSearchAccessList","Open","ViewPages","AddAndCustomizePages","ApplyThemeAndBorder","ApplyStyleSheets","ViewUsageData","CreateSSCSite","ManageSubwebs","CreateGroups","ManagePermissions","BrowseDirectories","BrowseUserInfo","AddDelPrivateWebParts","UpdatePersonalWebParts","ManageWeb","AnonymousSearchAccessWebLists","UseClientIntegration","UseRemoteAPIs","ManageAlerts","CreateAlerts","EditMyUserInfo","EnumeratePermissions"],"RoleTypeKindValue":"Administrator"}],"PrincipalId":3}]
301
+ ```
@@ -66,3 +66,9 @@ m365 spo listitem isrecord --webUrl https://contoso.sharepoint.com/sites/project
66
66
  ```csv
67
67
  false
68
68
  ```
69
+
70
+ === "Markdown"
71
+
72
+ ```md
73
+ false
74
+ ```
@@ -135,3 +135,31 @@ m365 spo listitem list --listUrl /sites/project-x/documents --webUrl https://con
135
135
  FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
136
136
  0,236,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T21:00:03Z,2022-11-16T20:56:31Z,10,10,6.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
137
137
  ```
138
+
139
+ === "Markdown"
140
+
141
+ ```md
142
+ # spo listitem list --webUrl "https://contoso.sharepoint.com" --listTitle "My List"
143
+
144
+ Date: 2/20/2023
145
+
146
+ ## Demo Item (147)
147
+
148
+ Property | Value
149
+ ---------|-------
150
+ FileSystemObjectType | 0
151
+ Id | 236
152
+ ServerRedirectedEmbedUri | null
153
+ ServerRedirectedEmbedUrl |
154
+ ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
155
+ Title | Test
156
+ ComplianceAssetId | null
157
+ Modified | 2022-11-16T21:00:03Z
158
+ Created | 2022-11-16T20:56:31Z
159
+ AuthorId | 10
160
+ EditorId | 10
161
+ OData\_\_UIVersionString | 6.0
162
+ Attachments | false
163
+ GUID | cac57513-e870-4e7a-9f23-f4ea10e14f4e
164
+ OData__vti_ItemDeclaredRecord | null
165
+ ```
@@ -84,3 +84,18 @@ m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/p
84
84
  SchemaVersion,LibraryVersion,ErrorInfo,TraceCorrelationId
85
85
  15.0.0.0,16.0.23102.12004,,0d4779a0-609c-5000-843d-c98e4764c937
86
86
  ```
87
+
88
+ === "Markdown"
89
+
90
+ ```md
91
+ # spo listitem record declare --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Demo List" --listItemId "1" --date "2012-03-14"
92
+
93
+ Date: 2/20/2023
94
+
95
+ Property | Value
96
+ ---------|-------
97
+ SchemaVersion | 15.0.0.0
98
+ LibraryVersion | 16.0.23102.12004
99
+ ErrorInfo | null
100
+ TraceCorrelationId | 064779a0-d05b-5000-843d-c36803e58f12
101
+ ```
@@ -129,3 +129,33 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
129
129
  FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
130
130
  0,236,,,236,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
131
131
  ```
132
+
133
+ === "Markdown"
134
+
135
+ ```md
136
+ # spo listitem set --listTitle "My List" --id "236" --webUrl "https://contoso.sharepoint.com" --Title "Updated Title"
137
+
138
+ Date: 2/20/2023
139
+
140
+ ## Updated Title (236)
141
+
142
+ Property | Value
143
+ ---------|-------
144
+ FileSystemObjectType | 0
145
+ Id | 236
146
+ ServerRedirectedEmbedUri | null
147
+ ServerRedirectedEmbedUrl |
148
+ ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
149
+ Title | Updated Title
150
+ ComplianceAssetId | null
151
+ FieldName1 | null
152
+ ID | 236
153
+ Modified | 2022-11-16T21:10:06Z
154
+ Created | 2022-11-16T20:56:31Z
155
+ AuthorId | 10
156
+ EditorId | 10
157
+ OData\_\_UIVersionString | 7.0
158
+ Attachments | true
159
+ GUID | cac57513-e870-4e7a-9f23-f4ea10e14f4e
160
+ OData__vti_ItemDeclaredRecord | null
161
+ ```
@@ -29,7 +29,7 @@ m365 spo navigation node add [options]
29
29
  : Set, if the navigation node points to an external URL.
30
30
 
31
31
  `--audienceIds [audienceIds]`
32
- : Comma separated list of group IDs that will be used for audience targeting. The limit is 10 ids per navigation node.
32
+ : Comma-separated list of group IDs that will be used for audience targeting. The limit is 10 ids per navigation node.
33
33
 
34
34
  --8<-- "docs/cmd/_global.md"
35
35
 
@@ -103,3 +103,25 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
103
103
  AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
104
104
  "[""7aa4a1ca-4035-4f2f-bac7-7beada59b5ba""]",1033,2032,1,1,1,0,Navigation Link,https://contoso.sharepoint.com
105
105
  ```
106
+
107
+ === "Markdown"
108
+
109
+ ```md
110
+ # spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/team-a" --location "TopNavigationBar" --title "Navigation Link" --url "https://contoso.sharepoint.com"
111
+
112
+ Date: 2/20/2023
113
+
114
+ ## Navigation Link (2030)
115
+
116
+ Property | Value
117
+ ---------|-------
118
+ AudienceIds | ["7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"]
119
+ CurrentLCID | 1033
120
+ Id | 2030
121
+ IsDocLib | true
122
+ IsExternal | false
123
+ IsVisible | true
124
+ ListTemplateType | 0
125
+ Title | Navigation Link
126
+ Url | https://contoso.sharepoint.com
127
+ ```
@@ -23,7 +23,7 @@ m365 spo navigation node set [options]
23
23
  : New URL of the navigation node.
24
24
 
25
25
  `--audienceIds [audienceIds]`
26
- : Comma separated list of group IDs that will be used for audience targeting. Speficy an empty string `""` to clear this value. The limit is 10 ids per navigation node.
26
+ : Comma-separated list of group IDs that will be used for audience targeting. Speficy an empty string `""` to clear this value. The limit is 10 ids per navigation node.
27
27
 
28
28
  `--isExternal [isExternal]`
29
29
  : Whether the navigation node points to an external URL. Valid values: `true` or `false`.
@@ -10,8 +10,6 @@ m365 spo tenant settings set [options]
10
10
 
11
11
  ## Options
12
12
 
13
- --8<-- "docs/cmd/_global.md"
14
-
15
13
  `--MinCompatibilityLevel [MinCompatibilityLevel]`
16
14
  : Specifies the lower bound on the compatibility level for new sites
17
15
 
@@ -19,7 +17,7 @@ m365 spo tenant settings set [options]
19
17
  : Specifies the upper bound on the compatibility level for new sites
20
18
 
21
19
  `--ExternalServicesEnabled [ExternalServicesEnabled]`
22
- : Enables external services for a tenant. External services are defined as services that are not in the Microsoft 365 datacenters. Allowed values `true,false`
20
+ : Enables external services for a tenant. External services are defined as services that are not in the Microsoft 365 data centers. Allowed values `true,false`
23
21
 
24
22
  `--NoAccessRedirectUrl [NoAccessRedirectUrl]`
25
23
  : Specifies the URL of the redirected site for those site collections which have the locked state "NoAccess"
@@ -34,43 +32,43 @@ m365 spo tenant settings set [options]
34
32
  : Specifies URL of the form to load in the Start a Site dialog. The valid values are: "" (default) - Blank by default, this will also remove or clear any value that has been set. Full URL - Example:"https://contoso.sharepoint.com/path/to/form"
35
33
 
36
34
  `--ShowEveryoneClaim [ShowEveryoneClaim]`
37
- : Enables the administrator to hide the Everyone claim in the People Picker. When users share an item with Everyone, it is accessible to all authenticated users in the tenant\'s Azure Active Directory, including any active external users who have previously accepted invitations. Note, that some SharePoint system resources such as templates and pages are required to be shared to Everyone and this type of sharing does not expose any user data or metadata. Allowed values `true,false`
35
+ : Enables the administrator to hide the Everyone claim in the People Picker. When users share an item with Everyone, it is accessible to all authenticated users in the tenant's Azure Active Directory, including any active external users who have previously accepted invitations. Note, that some SharePoint system resources such as templates and pages are required to be shared with Everyone and this type of sharing does not expose any user data or metadata. Allowed values `true,false`
38
36
 
39
37
  `--ShowAllUsersClaim [ShowAllUsersClaim]`
40
- : Enables the administrator to hide the All Users claim groups in People Picker. When users share an item with "All Users (x)", it is accessible to all organization members in the tenant\'s Azure Active Directory who have authenticated with via this method. When users share an item with "All Users (x)" it is accessible to all organization members in the tenant that used NTLM to authentication with SharePoint. Allowed values `true,false`
38
+ : Enables the administrator to hide the All Users claim groups in People Picker. When users share an item with "All Users (x)", it is accessible to all organization members in the tenant's Azure Active Directory who have authenticated via this method. When users share an item with "All Users (x)" it is accessible to all organization members in the tenant that used NTLM to authenticate with SharePoint. Allowed values `true,false`
41
39
 
42
40
  `--ShowEveryoneExceptExternalUsersClaim [ShowEveryoneExceptExternalUsersClaim]`
43
41
  : Enables the administrator to hide the "Everyone except external users" claim in the People Picker. When users share an item with "Everyone except external users", it is accessible to all organization members in the tenant's Azure Active Directory, but not to any users who have previously accepted invitations. Allowed values `true,false`
44
42
 
45
43
  `--SearchResolveExactEmailOrUPN [SearchResolveExactEmailOrUPN]`
46
- : Removes the search capability from People Picker. Note, recently resolved names will still appear in the list until browser cache is cleared or expired. SharePoint Administrators will still be able to use starts with or partial name matching when enabled. Allowed values `true,false`
44
+ : Removes the search capability from People Picker. Note, recently resolved names will still appear in the list until the browser cache is cleared or expired. SharePoint Administrators will still be able to use starts with or partial name matching when enabled. Allowed values `true,false`
47
45
 
48
46
  `--OfficeClientADALDisabled [OfficeClientADALDisabled]`
49
47
  : When set to true this will disable the ability to use Modern Authentication that leverages ADAL across the tenant. Allowed values `true,false`
50
48
 
51
49
  `--LegacyAuthProtocolsEnabled [LegacyAuthProtocolsEnabled]`
52
- : By default this value is set to true. Setting this parameter prevents Office clients using non-modern authentication protocols from accessing SharePoint Online resources. A value of true - Enables Office clients using non-modern authentication protocols (such as, Forms-Based Authentication (FBA) or Identity Client Runtime Library (IDCRL)) to access SharePoint resources. Allowed values `true,false`
50
+ : By default, this value is set to true. Setting this parameter prevents Office clients using non-modern authentication protocols from accessing SharePoint Online resources. A value of true - Enables Office clients using non-modern authentication protocols (such as Forms-Based Authentication (FBA) or Identity Client Runtime Library (IDCRL)) to access SharePoint resources. Allowed values `true,false`
53
51
 
54
52
  `--RequireAcceptingAccountMatchInvitedAccount [RequireAcceptingAccountMatchInvitedAccount]`
55
53
  : Ensures that an external user can only accept an external sharing invitation with an account matching the invited email address. Administrators who desire increased control over external collaborators should consider enabling this feature. Allowed values `true,false`
56
54
 
57
55
  `--ProvisionSharedWithEveryoneFolder [ProvisionSharedWithEveryoneFolder]`
58
- : Creates a Shared with Everyone folder in every user\'s new OneDrive for Business document library. The valid values are: True (default) - The Shared with Everyone folder is created. False - No folder is created when the site and OneDrive for Business document library is created. Allowed values `true,false`
56
+ : Creates a Shared with Everyone folder in every user's new OneDrive for Business document library. The valid values are: True (default) - The Shared with Everyone folder is created. False - No folder is created when the site and OneDrive for Business document library are created. Allowed values `true,false`
59
57
 
60
58
  `--SignInAccelerationDomain [SignInAccelerationDomain]`
61
- : Specifies the home realm discovery value to be sent to Azure Active Directory (AAD) during the user sign-in process. When the organization uses a third-party identity provider, this prevents the user from seeing the Azure Active Directory Home Realm Discovery web page and ensures the user only sees their company's Identity Provider's portal. This value can also be used with Azure Active Directory Premium to customize the Azure Active Directory login page. Acceleration will not occur on site collections that are shared externally. This value should be configured with the login domain that is used by your company (that is, example@contoso.com). If your company has multiple third-party identity providers, configuring the sign-in acceleration value will break sign-in for your organization. The valid values are: "" (default) - Blank by default, this will also remove or clear any value that has been set. Login Domain - For example: "contoso.com". No value assigned by default
59
+ : Specifies the home realm discovery value to be sent to Azure Active Directory (AAD) during the user sign-in process. When the organization uses a third-party identity provider, this prevents the user from seeing the Azure Active Directory Home Realm Discovery web page and ensures the user only sees their company's Identity Provider's portal. This value can also be used with Azure Active Directory Premium to customize the Azure Active Directory login page. Acceleration will not occur on-site collections that are shared externally. This value should be configured with the login domain that is used by your company (that is, example@contoso.com). If your company has multiple third-party identity providers, configuring the sign-in acceleration value will break sign-in for your organization. The valid values are: "" (default) - Blank by default, this will also remove or clear any value that has been set. Login Domain - For example: "contoso.com". No value assigned by default
62
60
 
63
61
  `--EnableGuestSignInAcceleration [EnableGuestSignInAcceleration]`
64
62
  : Accelerates guest-enabled site collections as well as member-only site collections when the SignInAccelerationDomain parameter is set. Allowed values `true,false`
65
63
 
66
64
  `--UsePersistentCookiesForExplorerView [UsePersistentCookiesForExplorerView]`
67
- : Lets SharePoint issue a special cookie that will allow this feature to work even when "Keep Me Signed In" is not selected. "Open with Explorer" requires persisted cookies to operate correctly. When the user does not select "Keep Me Signed in" at the time of sign -in, "Open with Explorer" will fail. This special cookie expires after 30 minutes and cannot be cleared by closing the browser or signing out of SharePoint Online.To clear this cookie, the user must log out of their Windows session. The valid values are: False(default) - No special cookie is generated and the normal Microsoft 365 sign -in length / timing applies. True - Generates a special cookie that will allow "Open with Explorer" to function if the "Keep Me Signed In" box is not checked at sign -in. Allowed values `true,false`
65
+ : Lets SharePoint issue a special cookie that will allow this feature to work even when "Keep Me Signed In" is not selected. "Open with Explorer" requires persisted cookies to operate correctly. When the user does not select "Keep Me Signed in" at the time of sign-in, "Open with Explorer" will fail. This special cookie expires after 30 minutes and cannot be cleared by closing the browser or signing out of SharePoint Online.To clear this cookie, the user must log out of their Windows session. The valid values are: False(default) - No special cookie is generated and the normal Microsoft 365 sign-in length/timing applies. True - Generates a special cookie that will allow "Open with Explorer" to function if the "Keep Me Signed In" box is not checked at sign-in. Allowed values `true,false`
68
66
 
69
67
  `--BccExternalSharingInvitations [BccExternalSharingInvitations]`
70
- : When the feature is enabled, all external sharing invitations that are sent will blind copy the e-mail messages listed in the BccExternalSharingsInvitationList. Allowed values `true,false`
68
+ : When the feature is enabled, all external sharing invitations that are sent will blindly copy the e-mail messages listed in the BccExternalSharingsInvitationList. Allowed values `true,false`
71
69
 
72
70
  `--BccExternalSharingInvitationsList [BccExternalSharingInvitationsList]`
73
- : Specifies a list of e-mail addresses to be BCC'd when the BCC for External Sharing feature is enabled. Multiple addresses can be specified by creating a comma separated list with no spaces
71
+ : Specifies a list of e-mail addresses to be BCC'd when the BCC for External Sharing feature is enabled. Multiple addresses can be specified by creating a comma-separated list with no spaces
74
72
 
75
73
  `--UserVoiceForFeedbackEnabled [UserVoiceForFeedbackEnabled]`
76
74
  : Enables or disables the User Voice Feedback button. Allowed values `true,false`
@@ -79,16 +77,16 @@ m365 spo tenant settings set [options]
79
77
  : Enables or disables the publish CDN. Allowed values `true,false`
80
78
 
81
79
  `--PublicCdnAllowedFileTypes [PublicCdnAllowedFileTypes]`
82
- : Sets public CDN allowed file types
80
+ : Sets public CDN-allowed file types
83
81
 
84
82
  `--RequireAnonymousLinksExpireInDays [RequireAnonymousLinksExpireInDays]`
85
83
  : Specifies all anonymous links that have been created (or will be created) will expire after the set number of days. To remove the expiration requirement, set the value to zero (0)
86
84
 
87
85
  `--SharingAllowedDomainList [SharingAllowedDomainList]`
88
- : Specifies a list of email domains that is allowed for sharing with the external collaborators. Use the space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com"
86
+ : Specifies a list of email domains that are allowed for sharing with external collaborators. Use the space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com"
89
87
 
90
88
  `--SharingBlockedDomainList [SharingBlockedDomainList]`
91
- : Specifies a list of email domains that is blocked or prohibited for sharing with the external collaborators. Use space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com"
89
+ : Specifies a list of email domains that are blocked or prohibited from sharing with external collaborators. Use space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com"
92
90
 
93
91
  `--SharingDomainRestrictionMode [SharingDomainRestrictionMode]`
94
92
  : Specifies the external sharing mode for domains. Allowed values `None,AllowList,BlockList`
@@ -97,7 +95,7 @@ m365 spo tenant settings set [options]
97
95
  : Sets a default OneDrive for Business storage quota for the tenant. It will be used for new OneDrive for Business sites created. A typical use will be to reduce the amount of storage associated with OneDrive for Business to a level below what the License entitles the users. For example, it could be used to set the quota to 10 gigabytes (GB) by default
98
96
 
99
97
  `--OneDriveForGuestsEnabled [OneDriveForGuestsEnabled]`
100
- : Lets OneDrive for Business creation for administrator managed guest users. Administrator managed Guest users use credentials in the resource tenant to access the resources. Allowed values `true,false`
98
+ : Lets OneDrive for Business creation for administrator-managed guest users. Administrator-managed Guest users use credentials in the resource tenant to access the resources. Allowed values `true,false`
101
99
 
102
100
  `--IPAddressEnforcement [IPAddressEnforcement]`
103
101
  : Allows access from network locations that are defined by an administrator. The values are true and false. The default value is false which means the setting is disabled. Before the iPAddressEnforcement parameter is set, make sure you add a valid IPv4 or IPv6 address to the iPAddressAllowList parameter. Allowed values `true,false`
@@ -109,10 +107,10 @@ m365 spo tenant settings set [options]
109
107
  : Sets IP Address WAC token lifetime'
110
108
 
111
109
  `--UseFindPeopleInPeoplePicker [UseFindPeopleInPeoplePicker]`
112
- : Sets use find people in PeoplePicker to true or false. Note: When set to true, users aren\'t able to share with security groups or SharePoint groups. Allowed values `true,false`
110
+ : Sets use to find people in PeoplePicker to true or false. Note: When set to true, users aren't able to share with security groups or SharePoint groups. Allowed values `true,false`
113
111
 
114
112
  `--DefaultSharingLinkType [DefaultSharingLinkType]`
115
- : Lets administrators choose what type of link appears is selected in the “Get a link” sharing dialog box in OneDrive for Business and SharePoint Online. Allowed values `None,Direct,Internal,AnonymousAccess`
113
+ : Let's administrators choose what type of link appears is selected in the “Get a link” sharing dialog box in OneDrive for Business and SharePoint Online. Allowed values `None,Direct,Internal,AnonymousAccess`
116
114
 
117
115
  `--ODBMembersCanShare [ODBMembersCanShare]`
118
116
  : Lets administrators set policy on re-sharing behavior in OneDrive for Business. Allowed values `Unspecified,On,Off`
@@ -145,7 +143,7 @@ m365 spo tenant settings set [options]
145
143
  : Enables or disables notifications in SharePoint. Allowed values `true,false`
146
144
 
147
145
  `--OwnerAnonymousNotification [OwnerAnonymousNotification]`
148
- : Enables or disables owner anonymous notification. Allowed values `true,false`
146
+ : Enables or disables owner-anonymous notification. Allowed values `true,false`
149
147
 
150
148
  `--CommentsOnSitePagesDisabled [CommentsOnSitePagesDisabled]`
151
149
  : Enables or disables comments on site pages. Allowed values `true,false`
@@ -160,19 +158,19 @@ m365 spo tenant settings set [options]
160
158
  : Prevents the Download button from being displayed on the Virus Found warning page. Allowed values `true,false`
161
159
 
162
160
  `--DefaultLinkPermission [DefaultLinkPermission]`
163
- : Choose the dafault permission that is selected when users share. This applies to anonymous access, internal and direct links. Allowed values `None,View,Edit`
161
+ : Choose the default permission that is selected when users share. This applies to anonymous access, internal and direct links. Allowed values `None,View,Edit`
164
162
 
165
163
  `--ConditionalAccessPolicy [ConditionalAccessPolicy]`
166
164
  : Configures conditional access policy. Allowed values `AllowFullAccess,AllowLimitedAccess,BlockAccess`
167
165
 
168
166
  `--AllowDownloadingNonWebViewableFiles [AllowDownloadingNonWebViewableFiles]`
169
- : Allows downloading non web viewable files. The Allowed values `true,false`
167
+ : Allows downloading non-web viewable files. The Allowed values `true,false`
170
168
 
171
169
  `--AllowEditing [AllowEditing]`
172
170
  : Allows editing. Allowed values `true,false`
173
171
 
174
172
  `--ApplyAppEnforcedRestrictionsToAdHocRecipients [ApplyAppEnforcedRestrictionsToAdHocRecipients]`
175
- : Applies app enforced restrictions to AdHoc recipients. Allowed values `true,false`
173
+ : Applies app-enforced restrictions to AdHoc recipients. Allowed values `true,false`
176
174
 
177
175
  `--FilePickerExternalImageSearchEnabled [FilePickerExternalImageSearchEnabled]`
178
176
  : Enables file picker external image search. Allowed values `true,false`
@@ -190,7 +188,7 @@ m365 spo tenant settings set [options]
190
188
  : Blocks access on unmanaged devices. Allowed values `true,false`
191
189
 
192
190
  `--AllowLimitedAccessOnUnmanagedDevices [AllowLimitedAccessOnUnmanagedDevices]`
193
- : Allows limited access on unmanaged devices blocks. Allowed values `true,false`
191
+ : Allows limited access on unmanaged device blocks. Allowed values `true,false`
194
192
 
195
193
  `--BlockDownloadOfAllFilesForGuests [BlockDownloadOfAllFilesForGuests]`
196
194
  : Blocks download of all files for guests. Allowed values `true,false`
@@ -211,7 +209,7 @@ m365 spo tenant settings set [options]
211
209
  : Disables report problem dialog. Allowed values `true,false`
212
210
 
213
211
  `--DisplayNamesOfFileViewers [DisplayNamesOfFileViewers]`
214
- : Displayes names of file viewers. Allowed values `true,false`
212
+ : Displays names of file viewers. Allowed values `true,false`
215
213
 
216
214
  `--EnableMinimumVersionRequirement [EnableMinimumVersionRequirement]`
217
215
  : Enables minimum version requirement. Allowed values `true,false`
@@ -235,7 +233,7 @@ m365 spo tenant settings set [options]
235
233
  : Organization news site url'
236
234
 
237
235
  `--PermissiveBrowserFileHandlingOverride [PermissiveBrowserFileHandlingOverride]`
238
- : Permissive browser fileHandling override. Allowed values `true,false`
236
+ : Permissive browser file handling override. Allowed values `true,false`
239
237
 
240
238
  `--ShowNGSCDialogForSyncOnODB [ShowNGSCDialogForSyncOnODB]`
241
239
  : Show NGSC dialog for sync on OneDrive for Business. Allowed values `true,false`
@@ -264,8 +262,10 @@ m365 spo tenant settings set [options]
264
262
  `--SyncAadB2BManagementPolicy [SyncAadB2BManagementPolicy]`
265
263
  : Syncs Azure B2B Management Policies. Allowed values `true,false`. For more information, see [SharePoint and OneDrive integration with Azure AD B2B](https://aka.ms/spo-b2b-integration).
266
264
 
265
+ --8<-- "docs/cmd/_global.md"
266
+
267
267
  !!! important
268
- To use this command you have to have permissions to access the tenant admin site.
268
+ To use this command you have to have permission to access the tenant admin site.
269
269
 
270
270
  ## Examples
271
271
 
@@ -23,10 +23,10 @@ m365 teams channel member add [options]
23
23
  : The display name of the Microsoft Teams team channel. Specify either `channelId` or `channelName`, but not both.
24
24
 
25
25
  `--userId [userId]`
26
- : The user's ID or principal name. You can also pass a comma separated list of userIds.
26
+ : The user's ID or principal name. You can also pass a comma-separated list of userIds.
27
27
 
28
28
  `--userDisplayName [userDisplayName]`
29
- : The display name of a user. You can also pass a comma separated list of display names.
29
+ : The display name of a user. You can also pass a comma-separated list of display names.
30
30
 
31
31
  `--owner`
32
32
  : Assign the user the owner role. Defaults to member permissions.