@pnp/cli-microsoft365 7.5.0 → 7.6.0-beta.480812d

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 (209) hide show
  1. package/.eslintrc.cjs +3 -0
  2. package/README.md +1 -1
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/Auth.js +12 -10
  6. package/dist/AuthServer.js +1 -1
  7. package/dist/cli/cli.js +1 -1
  8. package/dist/config.js +2 -2
  9. package/dist/m365/app/commands/app-get.js +1 -1
  10. package/dist/m365/app/commands/app-open.js +1 -1
  11. package/dist/m365/app/commands/permission/permission-add.js +2 -2
  12. package/dist/m365/app/commands/permission/permission-list.js +2 -2
  13. package/dist/m365/cli/commands/cli-consent.js +2 -2
  14. package/dist/m365/cli/commands/cli-reconsent.js +3 -3
  15. package/dist/m365/commands/login.js +1 -1
  16. package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +1 -0
  17. package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +1 -0
  18. package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +1 -0
  19. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +1 -0
  20. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +1 -0
  21. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +1 -0
  22. package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +1 -0
  23. package/dist/m365/entra/commands/app/app-add.js +7 -6
  24. package/dist/m365/entra/commands/app/app-get.js +4 -3
  25. package/dist/m365/entra/commands/app/app-list.js +1 -0
  26. package/dist/m365/entra/commands/app/app-permission-add.js +3 -2
  27. package/dist/m365/entra/commands/app/app-permission-list.js +1 -1
  28. package/dist/m365/entra/commands/app/app-remove.js +5 -4
  29. package/dist/m365/entra/commands/app/app-role-add.js +6 -5
  30. package/dist/m365/entra/commands/app/app-role-list.js +4 -3
  31. package/dist/m365/entra/commands/app/app-role-remove.js +6 -5
  32. package/dist/m365/entra/commands/app/app-set.js +8 -7
  33. package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +2 -1
  34. package/dist/m365/entra/commands/approleassignment/approleassignment-list.js +1 -0
  35. package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +1 -0
  36. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +1 -0
  37. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +1 -0
  38. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -0
  39. package/dist/m365/entra/commands/group/group-get.js +1 -0
  40. package/dist/m365/entra/commands/group/group-list.js +1 -0
  41. package/dist/m365/entra/commands/group/group-remove.js +1 -0
  42. package/dist/m365/entra/commands/group/group-user-list.js +1 -0
  43. package/dist/m365/entra/commands/groupsetting/groupsetting-add.js +1 -0
  44. package/dist/m365/entra/commands/groupsetting/groupsetting-get.js +1 -0
  45. package/dist/m365/entra/commands/groupsetting/groupsetting-list.js +1 -0
  46. package/dist/m365/entra/commands/groupsetting/groupsetting-remove.js +1 -0
  47. package/dist/m365/entra/commands/groupsetting/groupsetting-set.js +1 -0
  48. package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-get.js +1 -0
  49. package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-list.js +1 -0
  50. package/dist/m365/entra/commands/license/license-list.js +1 -0
  51. package/dist/m365/entra/commands/m365group/m365group-add.js +1 -0
  52. package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +1 -0
  53. package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +1 -0
  54. package/dist/m365/entra/commands/m365group/m365group-get.js +1 -0
  55. package/dist/m365/entra/commands/m365group/m365group-list.js +1 -0
  56. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-clear.js +1 -0
  57. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +1 -0
  58. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +1 -0
  59. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +1 -0
  60. package/dist/m365/entra/commands/m365group/m365group-remove.js +1 -0
  61. package/dist/m365/entra/commands/m365group/m365group-renew.js +1 -0
  62. package/dist/m365/entra/commands/m365group/m365group-set.js +1 -0
  63. package/dist/m365/entra/commands/m365group/m365group-teamify.js +1 -0
  64. package/dist/m365/entra/commands/m365group/m365group-user-add.js +1 -0
  65. package/dist/m365/entra/commands/m365group/m365group-user-list.js +1 -0
  66. package/dist/m365/entra/commands/m365group/m365group-user-remove.js +1 -0
  67. package/dist/m365/entra/commands/m365group/m365group-user-set.js +1 -0
  68. package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +1 -0
  69. package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +1 -0
  70. package/dist/m365/entra/commands/oauth2grant/oauth2grant-remove.js +1 -0
  71. package/dist/m365/entra/commands/oauth2grant/oauth2grant-set.js +1 -0
  72. package/dist/m365/entra/commands/policy/policy-list.js +1 -0
  73. package/dist/m365/entra/commands/siteclassification/siteclassification-disable.js +1 -0
  74. package/dist/m365/entra/commands/siteclassification/siteclassification-enable.js +1 -0
  75. package/dist/m365/entra/commands/siteclassification/siteclassification-get.js +1 -0
  76. package/dist/m365/entra/commands/siteclassification/siteclassification-set.js +1 -0
  77. package/dist/m365/entra/commands/user/user-add.js +1 -0
  78. package/dist/m365/entra/commands/user/user-get.js +1 -0
  79. package/dist/m365/entra/commands/user/user-guest-add.js +1 -0
  80. package/dist/m365/entra/commands/user/user-hibp.js +1 -0
  81. package/dist/m365/entra/commands/user/user-license-add.js +1 -0
  82. package/dist/m365/entra/commands/user/user-license-list.js +1 -0
  83. package/dist/m365/entra/commands/user/user-license-remove.js +1 -0
  84. package/dist/m365/entra/commands/user/user-list.js +1 -0
  85. package/dist/m365/entra/commands/user/user-password-validate.js +1 -0
  86. package/dist/m365/entra/commands/user/user-recyclebinitem-clear.js +1 -0
  87. package/dist/m365/entra/commands/user/user-recyclebinitem-list.js +1 -0
  88. package/dist/m365/entra/commands/user/user-recyclebinitem-remove.js +2 -1
  89. package/dist/m365/entra/commands/user/user-recyclebinitem-restore.js +1 -0
  90. package/dist/m365/entra/commands/user/user-remove.js +1 -0
  91. package/dist/m365/entra/commands/user/user-set.js +1 -0
  92. package/dist/m365/entra/commands/user/user-signin-list.js +1 -0
  93. package/dist/m365/outlook/commands/message/message-remove.js +113 -0
  94. package/dist/m365/outlook/commands.js +1 -0
  95. package/dist/m365/pp/commands/managementapp/managementapp-add.js +7 -7
  96. package/dist/m365/purview/commands/threatassessment/threatassessment-add.js +123 -0
  97. package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +104 -0
  98. package/dist/m365/purview/commands.js +3 -1
  99. package/dist/m365/spfx/commands/project/DeployWorkflow.js +111 -0
  100. package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +183 -0
  101. package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-model.js +2 -0
  102. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +3 -4
  103. package/dist/m365/spfx/commands.js +1 -0
  104. package/dist/m365/spo/commands/folder/FolderColor.js +19 -0
  105. package/dist/m365/spo/commands/folder/folder-add.js +46 -17
  106. package/dist/m365/spo/commands/folder/folder-set.js +118 -0
  107. package/dist/m365/spo/commands/group/group-member-add.js +2 -2
  108. package/dist/m365/spo/commands/group/group-member-remove.js +1 -1
  109. package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -2
  110. package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +66 -27
  111. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +1 -1
  112. package/dist/m365/spo/commands/user/user-remove.js +93 -16
  113. package/dist/m365/spo/commands.js +1 -0
  114. package/dist/m365/teams/commands/tab/tab-get.js +1 -1
  115. package/dist/utils/spo.js +1 -1
  116. package/docs/docs/cmd/app/app-get.mdx +10 -10
  117. package/docs/docs/cmd/app/app-open.mdx +6 -6
  118. package/docs/docs/cmd/app/permission/permission-add.mdx +2 -2
  119. package/docs/docs/cmd/app/permission/permission-list.mdx +5 -5
  120. package/docs/docs/cmd/cli/cli-consent.mdx +2 -2
  121. package/docs/docs/cmd/cli/cli-reconsent.mdx +6 -6
  122. package/docs/docs/cmd/entra/app/app-permission-add.mdx +6 -6
  123. package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +1 -1
  124. package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +4 -4
  125. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +1 -1
  126. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +1 -1
  127. package/docs/docs/cmd/entra/group/group-user-add.mdx +7 -7
  128. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +1 -1
  129. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
  130. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +1 -1
  131. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +1 -1
  132. package/docs/docs/cmd/external/connection/connection-add.mdx +2 -2
  133. package/docs/docs/cmd/file/file-add.mdx +1 -1
  134. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +2 -2
  135. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  136. package/docs/docs/cmd/login.mdx +18 -18
  137. package/docs/docs/cmd/outlook/message/message-remove.mdx +67 -0
  138. package/docs/docs/cmd/pa/app/app-owner-set.mdx +1 -1
  139. package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +3 -3
  140. package/docs/docs/cmd/pa/app/app-permission-remove.mdx +3 -3
  141. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  142. package/docs/docs/cmd/planner/roster/roster-add.mdx +5 -5
  143. package/docs/docs/cmd/planner/roster/roster-get.mdx +7 -7
  144. package/docs/docs/cmd/planner/roster/roster-member-add.mdx +4 -4
  145. package/docs/docs/cmd/planner/roster/roster-member-get.mdx +4 -4
  146. package/docs/docs/cmd/planner/roster/roster-member-list.mdx +2 -2
  147. package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +5 -5
  148. package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +1 -1
  149. package/docs/docs/cmd/planner/roster/roster-remove.mdx +2 -2
  150. package/docs/docs/cmd/planner/task/task-add.mdx +1 -1
  151. package/docs/docs/cmd/planner/task/task-get.mdx +1 -1
  152. package/docs/docs/cmd/planner/task/task-list.mdx +1 -1
  153. package/docs/docs/cmd/planner/task/task-remove.mdx +1 -1
  154. package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
  155. package/docs/docs/cmd/pp/environment/environment-get.mdx +1 -1
  156. package/docs/docs/cmd/pp/environment/environment-list.mdx +1 -1
  157. package/docs/docs/cmd/pp/managementapp/managementapp-add.mdx +9 -9
  158. package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +1 -1
  159. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +1 -1
  160. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +1 -1
  161. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +1 -1
  162. package/docs/docs/cmd/purview/threatassessment/threatassessment-add.mdx +131 -0
  163. package/docs/docs/cmd/purview/threatassessment/threatassessment-list.mdx +110 -0
  164. package/docs/docs/cmd/request.mdx +1 -1
  165. package/docs/docs/cmd/spfx/project/project-azuredevops-pipeline-add.mdx +87 -0
  166. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +2 -2
  167. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +3 -3
  168. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +2 -2
  169. package/docs/docs/cmd/spo/folder/folder-add.mdx +38 -0
  170. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +1 -1
  171. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
  172. package/docs/docs/cmd/spo/folder/folder-set.mdx +88 -0
  173. package/docs/docs/cmd/spo/group/group-member-add.mdx +2 -2
  174. package/docs/docs/cmd/spo/group/group-member-remove.mdx +3 -3
  175. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +3 -3
  176. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +2 -2
  177. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +8 -8
  178. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +2 -2
  179. package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +2 -2
  180. package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +2 -2
  181. package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +29 -5
  182. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +89 -89
  183. package/docs/docs/cmd/spo/user/user-ensure.mdx +1 -1
  184. package/docs/docs/cmd/spo/user/user-remove.mdx +40 -9
  185. package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +3 -3
  186. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +2 -2
  187. package/docs/docs/cmd/teams/channel/channel-member-remove.mdx +1 -1
  188. package/docs/docs/cmd/teams/channel/channel-member-set.mdx +1 -1
  189. package/docs/docs/cmd/teams/chat/chat-member-remove.mdx +3 -3
  190. package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +1 -1
  191. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +1 -1
  192. package/docs/docs/cmd/teams/tab/tab-get.mdx +19 -12
  193. package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
  194. package/docs/docs/cmd/viva/engage/engage-group-list.mdx +1 -1
  195. package/docs/docs/cmd/viva/engage/engage-group-user-add.mdx +1 -1
  196. package/docs/docs/cmd/viva/engage/engage-group-user-remove.mdx +1 -1
  197. package/docs/docs/cmd/viva/engage/engage-message-add.mdx +1 -1
  198. package/docs/docs/cmd/viva/engage/engage-message-get.mdx +1 -1
  199. package/docs/docs/cmd/viva/engage/engage-message-like-set.mdx +1 -1
  200. package/docs/docs/cmd/viva/engage/engage-message-list.mdx +1 -1
  201. package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +1 -1
  202. package/docs/docs/cmd/viva/engage/engage-network-list.mdx +1 -1
  203. package/docs/docs/cmd/viva/engage/engage-search.mdx +1 -1
  204. package/docs/docs/cmd/viva/engage/engage-user-get.mdx +1 -1
  205. package/docs/docs/cmd/viva/engage/engage-user-list.mdx +1 -1
  206. package/npm-shrinkwrap.json +64 -60
  207. package/package.json +12 -12
  208. package/dist/m365/spo/commands/folder/folder-rename.js +0 -72
  209. package/docs/docs/cmd/spo/folder/folder-rename.mdx +0 -44
@@ -35,13 +35,13 @@ m365 spo group member remove [options]
35
35
  : The object Id of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
36
36
 
37
37
  `--aadGroupId [aadGroupId]`
38
- : (deprecated. Use `entraGroupId` instead) The object Id of the Azure AD group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
38
+ : (deprecated. Use `entraGroupId` instead) The object ID of the Microsoft Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
39
39
 
40
40
  `--entraGroupName [entraGroupName]`
41
41
  : The name of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
42
42
 
43
43
  `--aadGroupName [aadGroupName]`
44
- : (deprecated. Use `entraGroupName` instead) The name of the Azure AD group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
44
+ : (deprecated. Use `entraGroupName` instead) The name of the Microsoft Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
45
45
  ```
46
46
 
47
47
  <Global />
@@ -69,7 +69,7 @@ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA
69
69
  Remove an Entra group from a SharePoint group based on the Entra group name on a given web.
70
70
 
71
71
  ```sh
72
- m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --entraGroupName "Azure AD Security Group"
72
+ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --entraGroupName "Microsoft Entra ID Security Group"
73
73
  ```
74
74
 
75
75
  Remove an Entra group from a SharePoint group based on the Entra group ID on a given web.
@@ -29,16 +29,16 @@ m365 spo list roleassignment add [options]
29
29
  : SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
30
30
 
31
31
  `--upn [upn]`
32
- : Upn/email of user to assign role to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
32
+ : The upn/email of user to assign role to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
33
33
 
34
34
  `--groupName [groupName]`
35
- : Enter group name of Azure AD or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
35
+ : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
36
36
 
37
37
  `--roleDefinitionId [roleDefinitionId]`
38
38
  : ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
39
39
 
40
40
  `--roleDefinitionName [roleDefinitionName]`
41
- : Enter the name of a role definition, like 'Contribute', 'Read', etc. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
41
+ : The name of a role definition, like 'Contribute', 'Read', etc. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
42
42
  ```
43
43
 
44
44
  <Global />
@@ -29,10 +29,10 @@ m365 spo list roleassignment remove [options]
29
29
  : SharePoint ID of principal it may be either user id or group id you want to remove permissions. Specify either `principalId`, `upn`, or `groupName` but not multiple.
30
30
 
31
31
  `--upn [upn]`
32
- : upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
32
+ : The upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
33
33
 
34
34
  `--groupName [groupName]`
35
- : enter group name of Azure AD or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
35
+ : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
36
36
 
37
37
  `-f, --force`
38
38
  : Don't prompt for confirming removing the role assignment.
@@ -17,31 +17,31 @@ m365 spo listitem roleassignment add [options]
17
17
  : URL of the site where the listitem is located
18
18
 
19
19
  `--listId [listId]`
20
- : ID of the list. Specify either listId, listTitle or listUrl but not multiple.
20
+ : ID of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
21
21
 
22
22
  `--listTitle [listTitle]`
23
- : Title of the list. Specify either listId, listTitle or listUrl but not multiple.
23
+ : Title of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
24
24
 
25
25
  `--listUrl [listUrl]`
26
- : Relative URL of the list. Specify either listId, listTitle or listUrl but not multiple.
26
+ : Relative URL of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
27
27
 
28
28
  `--listItemId <listItemId>`
29
29
  : Id of the listitem to assign the role to.
30
30
 
31
31
  `--principalId [principalId]`
32
- : The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either upn, groupName or principalId.
32
+ : The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either `upn`, `groupName` or `principalId`.
33
33
 
34
34
  `--upn [upn]`
35
- : upn/email of user to assign role to. Specify either upn, groupName or principalId.
35
+ : The upn/email of user to assign role to. Specify either `upn`, `groupName` or `principalId`.
36
36
 
37
37
  `--groupName [groupName]`
38
- : The group name of Azure AD or SharePoint group. Specify either upn, groupName or principalId.
38
+ : The group name of Microsoft Entra or SharePoint group. Specify either `upn`, `groupName` or `principalId`.
39
39
 
40
40
  `--roleDefinitionId [roleDefinitionId]`
41
- : ID of role definition. Specify either roleDefinitionId or roleDefinitionName but not both
41
+ : ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
42
42
 
43
43
  `--roleDefinitionName [roleDefinitionName]`
44
- : Enter the name of a role definition, like 'Contribute', 'Read', etc. Specify either roleDefinitionId or roleDefinitionName but not both
44
+ : The name of a role definition, like 'Contribute', 'Read', etc. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
45
45
  ```
46
46
 
47
47
  <Global />
@@ -32,10 +32,10 @@ m365 spo listitem roleassignment remove [options]
32
32
  : SharePoint ID of principal it may be either user id or group id we want to remove permissions. Specify either `principalId`, `upn`, or `groupName` but not multiple.
33
33
 
34
34
  `--upn [upn]`
35
- : upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
35
+ : The upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
36
36
 
37
37
  `--groupName [groupName]`
38
- : enter group name of Azure AD or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
38
+ : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
39
39
 
40
40
  `-f, --force`
41
41
  : Don't prompt for confirming removing the role assignment.
@@ -22,10 +22,10 @@ m365 spo site apppermission add [options]
22
22
  : Permission to site (`read`, `write`, `manage` or `fullcontrol`)
23
23
 
24
24
  `-i, --appId [appId]`
25
- : Client ID of the Azure AD app for which to grant permissions
25
+ : Client ID of the Microsoft Entra app for which to grant permissions
26
26
 
27
27
  `-n, --appDisplayName [appDisplayName]`
28
- : Display name of the Azure AD app for which to grant permissions
28
+ : Display name of the Microsoft Entra app for which to grant permissions
29
29
  ```
30
30
 
31
31
  <Global />
@@ -22,10 +22,10 @@ m365 spo site apppermission set [options]
22
22
  : ID of the permission to update. Specify `id`, `appId` or `appDisplayName`
23
23
 
24
24
  `--appId [appId]`
25
- : Client ID of the Azure AD app for which to update permissions. Specify `id`, `appId` or `appDisplayName`
25
+ : Client ID of the Microsoft Entra app for which to update permissions. Specify `id`, `appId` or `appDisplayName`
26
26
 
27
27
  `-n, --appDisplayName [appDisplayName]`
28
- : Display name of the Azure AD app for which to update permissions. Specify `id`, `appId` or `appDisplayName`
28
+ : Display name of the Microsoft Entra app for which to update permissions. Specify `id`, `appId` or `appDisplayName`
29
29
 
30
30
  `-p, --permission <permission>`
31
31
  : Permission to site (`read`, `write`, `manage` or `fullcontrol`)
@@ -14,20 +14,44 @@ m365 spo site recyclebinitem restore [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --siteUrl <siteUrl>`
17
- : URL of the site for which to restore the recycle bin items
17
+ : URL of the site.
18
18
 
19
- `-i, --ids <ids>`
20
- : List of ids of items which will be restored from the site recycle bin
19
+ `-i, --ids [ids]`
20
+ : List of ids of items which will be restored from the site recycle bin. Specify `ids` or `allPrimary` and/or `allSecondary`.
21
+
22
+ `--allPrimary`
23
+ : Restore all items from the first-stage recycle bin. Specify `ids` or `allPrimary` and/or `allSecondary`.
24
+
25
+ `--allSecondary`
26
+ : Restore all items from the second-stage recycle bin. Specify `ids` or `allPrimary` and/or `allSecondary`.
21
27
  ```
22
28
 
23
29
  <Global />
24
30
 
25
31
  ## Examples
26
32
 
27
- Restore specific items by given ids from recycle bin for site _https://contoso.sharepoint.com/site_
33
+ Restore specific items by given ids from recycle bin of given site.
34
+
35
+ ```sh
36
+ m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/project --ids "ae6f97a7-280e-48d6-b481-0ea986c323da,aadbf916-1f71-42ee-abf2-8ee4802ae291"
37
+ ```
38
+
39
+ Restore all items from the first-stage recycle bin of a given site.
40
+
41
+ ```sh
42
+ m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/project --allPrimary
43
+ ```
44
+
45
+ Restore all items from the second-stage recycle bin of a given site.
46
+
47
+ ```sh
48
+ m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com --allSecondary
49
+ ```
50
+
51
+ Restore all items from both the first-stage and second-stage recycle bins of a given site.
28
52
 
29
53
  ```sh
30
- m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com/site --ids "ae6f97a7-280e-48d6-b481-0ea986c323da,aadbf916-1f71-42ee-abf2-8ee4802ae291"
54
+ m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com --allPrimary --allSecondary
31
55
  ```
32
56
 
33
57
  ## Response
@@ -14,259 +14,259 @@ m365 spo tenant settings set [options]
14
14
 
15
15
  ```md definition-list
16
16
  `--MinCompatibilityLevel [MinCompatibilityLevel]`
17
- : Specifies the lower bound on the compatibility level for new sites
17
+ : Specifies the lower bound on the compatibility level for new sites.
18
18
 
19
19
  `--MaxCompatibilityLevel [MaxCompatibilityLevel]`
20
- : Specifies the upper bound on the compatibility level for new sites
20
+ : Specifies the upper bound on the compatibility level for new sites.
21
21
 
22
22
  `--ExternalServicesEnabled [ExternalServicesEnabled]`
23
- : 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
+ : 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`.
24
24
 
25
25
  `--NoAccessRedirectUrl [NoAccessRedirectUrl]`
26
- : Specifies the URL of the redirected site for those site collections which have the locked state "NoAccess"
26
+ : Specifies the URL of the redirected site for those site collections which have the locked state "NoAccess".
27
27
 
28
28
  `--SharingCapability [SharingCapability]`
29
29
  : Determines what level of sharing is available for the site. The valid values are: ExternalUserAndGuestSharing (default) - External user sharing (share by email) and guest link sharing are both enabled. Disabled - External user sharing (share by email) and guest link sharing are both disabled. ExternalUserSharingOnly - External user sharing (share by email) is enabled, but guest link sharing is disabled. Allowed values `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
30
30
 
31
31
  `--DisplayStartASiteOption [DisplayStartASiteOption]`
32
- : Determines whether tenant users see the Start a Site menu option. Allowed values `true`, `false`
32
+ : Determines whether tenant users see the Start a Site menu option. Allowed values `true`, `false`.
33
33
 
34
34
  `--StartASiteFormUrl [StartASiteFormUrl]`
35
- : 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
+ : 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".
36
36
 
37
37
  `--ShowEveryoneClaim [ShowEveryoneClaim]`
38
- : 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
+ : 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 Microsoft Entra ID, 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`.
39
39
 
40
40
  `--ShowAllUsersClaim [ShowAllUsersClaim]`
41
- : 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
+ : 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 Microsoft Entra ID 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`.
42
42
 
43
43
  `--ShowEveryoneExceptExternalUsersClaim [ShowEveryoneExceptExternalUsersClaim]`
44
- : 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
+ : 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 Microsoft Entra ID, but not to any users who have previously accepted invitations. Allowed values `true`, `false`.
45
45
 
46
46
  `--SearchResolveExactEmailOrUPN [SearchResolveExactEmailOrUPN]`
47
- : 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
+ : 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`.
48
48
 
49
49
  `--OfficeClientADALDisabled [OfficeClientADALDisabled]`
50
- : When set to true this will disable the ability to use Modern Authentication that leverages ADAL across the tenant. Allowed values `true`, `false`
50
+ : When set to true this will disable the ability to use Modern Authentication that leverages ADAL across the tenant. Allowed values `true`, `false`.
51
51
 
52
52
  `--LegacyAuthProtocolsEnabled [LegacyAuthProtocolsEnabled]`
53
- : 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
+ : 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`.
54
54
 
55
55
  `--RequireAcceptingAccountMatchInvitedAccount [RequireAcceptingAccountMatchInvitedAccount]`
56
- : 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
+ : 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`.
57
57
 
58
58
  `--ProvisionSharedWithEveryoneFolder [ProvisionSharedWithEveryoneFolder]`
59
- : 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
+ : 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`.
60
60
 
61
61
  `--SignInAccelerationDomain [SignInAccelerationDomain]`
62
- : 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
+ : Specifies the home realm discovery value to be sent to Microsoft Entra ID during the user sign-in process. When the organization uses a third-party identity provider, this prevents the user from seeing the Microsoft Entra 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 Microsoft Entra ID Premium to customize the Microsoft Entra ID 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.
63
63
 
64
64
  `--EnableGuestSignInAcceleration [EnableGuestSignInAcceleration]`
65
- : Accelerates guest-enabled site collections as well as member-only site collections when the SignInAccelerationDomain parameter is set. Allowed values `true`, `false`
65
+ : Accelerates guest-enabled site collections as well as member-only site collections when the SignInAccelerationDomain parameter is set. Allowed values `true`, `false`.
66
66
 
67
67
  `--UsePersistentCookiesForExplorerView [UsePersistentCookiesForExplorerView]`
68
- : 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
+ : 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`.
69
69
 
70
70
  `--BccExternalSharingInvitations [BccExternalSharingInvitations]`
71
- : 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
+ : 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`.
72
72
 
73
73
  `--BccExternalSharingInvitationsList [BccExternalSharingInvitationsList]`
74
- : 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
+ : 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.
75
75
 
76
76
  `--UserVoiceForFeedbackEnabled [UserVoiceForFeedbackEnabled]`
77
- : Enables or disables the User Voice Feedback button. Allowed values `true`, `false`
77
+ : Enables or disables the User Voice Feedback button. Allowed values `true`, `false`.
78
78
 
79
79
  `--PublicCdnEnabled [PublicCdnEnabled]`
80
- : Enables or disables the publish CDN. Allowed values `true`, `false`
80
+ : Enables or disables the publish CDN. Allowed values `true`, `false`.
81
81
 
82
82
  `--PublicCdnAllowedFileTypes [PublicCdnAllowedFileTypes]`
83
- : Sets public CDN-allowed file types
83
+ : Sets public CDN-allowed file types.
84
84
 
85
85
  `--RequireAnonymousLinksExpireInDays [RequireAnonymousLinksExpireInDays]`
86
- : 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
+ : 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).
87
87
 
88
88
  `--SharingAllowedDomainList [SharingAllowedDomainList]`
89
- : 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
+ : 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".
90
90
 
91
91
  `--SharingBlockedDomainList [SharingBlockedDomainList]`
92
- : 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
+ : 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".
93
93
 
94
94
  `--SharingDomainRestrictionMode [SharingDomainRestrictionMode]`
95
- : Specifies the external sharing mode for domains. Allowed values `None`, `AllowList`, `BlockList`
95
+ : Specifies the external sharing mode for domains. Allowed values `None`, `AllowList`, `BlockList`.
96
96
 
97
97
  `--OneDriveStorageQuota [OneDriveStorageQuota]`
98
- : 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
+ : 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.
99
99
 
100
100
  `--OneDriveForGuestsEnabled [OneDriveForGuestsEnabled]`
101
- : 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
+ : 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`.
102
102
 
103
103
  `--IPAddressEnforcement [IPAddressEnforcement]`
104
- : 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`
104
+ : 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`.
105
105
 
106
106
  `--IPAddressAllowList [IPAddressAllowList]`
107
- : Configures multiple IP addresses or IP address ranges (IPv4 or IPv6). Use commas to separate multiple IP addresses or IP address ranges. Verify there are no overlapping IP addresses and ensure IP ranges use Classless Inter-Domain Routing (CIDR) notation. For example, `172.16.0.0, 192.168.1.0/27`. No value is assigned by default
107
+ : Configures multiple IP addresses or IP address ranges (IPv4 or IPv6). Use commas to separate multiple IP addresses or IP address ranges. Verify there are no overlapping IP addresses and ensure IP ranges use Classless Inter-Domain Routing (CIDR) notation. For example, `172.16.0.0, 192.168.1.0/27`. No value is assigned by default.
108
108
 
109
109
  `--IPAddressWACTokenLifetime [IPAddressWACTokenLifetime]`
110
- : Sets IP Address WAC token lifetime'
110
+ : Sets IP Address WAC token lifetime'.
111
111
 
112
112
  `--UseFindPeopleInPeoplePicker [UseFindPeopleInPeoplePicker]`
113
- : 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
+ : 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`.
114
114
 
115
115
  `--DefaultSharingLinkType [DefaultSharingLinkType]`
116
- : 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
+ : 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`.
117
117
 
118
118
  `--ODBMembersCanShare [ODBMembersCanShare]`
119
- : Lets administrators set policy on re-sharing behavior in OneDrive for Business. Allowed values `Unspecified`, `On`, `Off`
119
+ : Lets administrators set policy on re-sharing behavior in OneDrive for Business. Allowed values `Unspecified`, `On`, `Off`.
120
120
 
121
121
  `--ODBAccessRequests [ODBAccessRequests]`
122
- : Lets administrators set policy on access requests and requests to share in OneDrive for Business. Allowed values `Unspecified`, `On`,`Off`
122
+ : Lets administrators set policy on access requests and requests to share in OneDrive for Business. Allowed values `Unspecified`, `On`, `Off`.
123
123
 
124
124
  `--PreventExternalUsersFromResharing [PreventExternalUsersFromResharing]`
125
- : Prevents external users from resharing. Allowed values `true`, `false`
125
+ : Prevents external users from resharing. Allowed values `true`, `false`.
126
126
 
127
127
  `--ShowPeoplePickerSuggestionsForGuestUsers [ShowPeoplePickerSuggestionsForGuestUsers]`
128
- : Shows people picker suggestions for guest users. Allowed values `true`, `false`
128
+ : Shows people picker suggestions for guest users. Allowed values `true`, `false`.
129
129
 
130
130
  `--FileAnonymousLinkType [FileAnonymousLinkType]`
131
- : Sets the file anonymous link type to `None`, `View` or `Edit`
131
+ : Sets the file anonymous link type to `None`, `View` or `Edit`.
132
132
 
133
133
  `--FolderAnonymousLinkType [FolderAnonymousLinkType]`
134
- : Sets the folder anonymous link type to `None`, `View` or `Edit`
134
+ : Sets the folder anonymous link type to `None`, `View` or `Edit`.
135
135
 
136
136
  `--NotifyOwnersWhenItemsReshared [NotifyOwnersWhenItemsReshared]`
137
- : When this parameter is set to true and another user re-shares a document from a user's OneDrive for Business, the OneDrive for Business owner is notified by email. For additional information about how to configure notifications for external sharing, see Configure notifications for external sharing for OneDrive for Business. Allowed values `true`, `false`
137
+ : When this parameter is set to true and another user re-shares a document from a user's OneDrive for Business, the OneDrive for Business owner is notified by email. For additional information about how to configure notifications for external sharing, see Configure notifications for external sharing for OneDrive for Business. Allowed values `true`, `false`.
138
138
 
139
139
  `--NotifyOwnersWhenInvitationsAccepted [NotifyOwnersWhenInvitationsAccepted]`
140
- : When this parameter is set to true and when an external user accepts an invitation to a resource in a user's OneDrive for Business, the OneDrive for Business owner is notified by email. For additional information about how to configure notifications for external sharing, see Configure notifications for external sharing for OneDrive for Business. Allowed values `true`, `false`
140
+ : When this parameter is set to true and when an external user accepts an invitation to a resource in a user's OneDrive for Business, the OneDrive for Business owner is notified by email. For additional information about how to configure notifications for external sharing, see Configure notifications for external sharing for OneDrive for Business. Allowed values `true`, `false`.
141
141
 
142
142
  `--NotificationsInOneDriveForBusinessEnabled [NotificationsInOneDriveForBusinessEnabled]`
143
- : Enables or disables notifications in OneDrive for business. Allowed values `true`, `false`
143
+ : Enables or disables notifications in OneDrive for business. Allowed values `true`, `false`.
144
144
 
145
145
  `--NotificationsInSharePointEnabled [NotificationsInSharePointEnabled]`
146
- : Enables or disables notifications in SharePoint. Allowed values `true`, `false`
146
+ : Enables or disables notifications in SharePoint. Allowed values `true`, `false`.
147
147
 
148
148
  `--OwnerAnonymousNotification [OwnerAnonymousNotification]`
149
- : Enables or disables owner-anonymous notification. Allowed values `true`, `false`
149
+ : Enables or disables owner-anonymous notification. Allowed values `true`, `false`.
150
150
 
151
151
  `--CommentsOnSitePagesDisabled [CommentsOnSitePagesDisabled]`
152
- : Enables or disables comments on site pages. Allowed values `true`, `false`
152
+ : Enables or disables comments on site pages. Allowed values `true`, `false`.
153
153
 
154
154
  `--SocialBarOnSitePagesDisabled [SocialBarOnSitePagesDisabled]`
155
- : Enables or disables social bar on site pages. Allowed values `true`, `false`
155
+ : Enables or disables social bar on site pages. Allowed values `true`, `false`.
156
156
 
157
157
  `--OrphanedPersonalSitesRetentionPeriod [OrphanedPersonalSitesRetentionPeriod]`
158
- : Specifies the number of days after a user's Active Directory account is deleted that their OneDrive for Business content will be deleted. The value range is in days, between 30 and 3650. The default value is 30
158
+ : Specifies the number of days after a user's Active Directory account is deleted that their OneDrive for Business content will be deleted. The value range is in days, between 30 and 3650. The default value is 30.
159
159
 
160
160
  `--DisallowInfectedFileDownload [DisallowInfectedFileDownload]`
161
- : Prevents the Download button from being displayed on the Virus Found warning page. Allowed values `true`, `false`
161
+ : Prevents the Download button from being displayed on the Virus Found warning page. Allowed values `true`, `false`.
162
162
 
163
163
  `--DefaultLinkPermission [DefaultLinkPermission]`
164
- : 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
+ : Choose the default permission that is selected when users share. This applies to anonymous access, internal and direct links. Allowed values `None`, `View`, `Edit`.
165
165
 
166
166
  `--ConditionalAccessPolicy [ConditionalAccessPolicy]`
167
- : Configures conditional access policy. Allowed values `AllowFullAccess`, `AllowLimitedAccess`, `BlockAccess`
167
+ : Configures conditional access policy. Allowed values `AllowFullAccess`, `AllowLimitedAccess`, `BlockAccess`.
168
168
 
169
169
  `--AllowDownloadingNonWebViewableFiles [AllowDownloadingNonWebViewableFiles]`
170
- : Allows downloading non-web viewable files. The Allowed values `true`, `false`
170
+ : Allows downloading non-web viewable files. The Allowed values `true`, `false`.
171
171
 
172
172
  `--AllowEditing [AllowEditing]`
173
- : Allows editing. Allowed values `true`, `false`
173
+ : Allows editing. Allowed values `true`, `false`.
174
174
 
175
175
  `--ApplyAppEnforcedRestrictionsToAdHocRecipients [ApplyAppEnforcedRestrictionsToAdHocRecipients]`
176
- : Applies app-enforced restrictions to AdHoc recipients. Allowed values `true`, `false`
176
+ : Applies app-enforced restrictions to AdHoc recipients. Allowed values `true`, `false`.
177
177
 
178
178
  `--FilePickerExternalImageSearchEnabled [FilePickerExternalImageSearchEnabled]`
179
- : Enables file picker external image search. Allowed values `true`, `false`
179
+ : Enables file picker external image search. Allowed values `true`, `false`.
180
180
 
181
181
  `--EmailAttestationRequired [EmailAttestationRequired]`
182
- : Sets email attestation to required. Allowed values `true`, `false`
182
+ : Sets email attestation to required. Allowed values `true`, `false`.
183
183
 
184
184
  `--EmailAttestationReAuthDays [EmailAttestationReAuthDays]`
185
- : Sets email attestation re-auth days
185
+ : Sets email attestation re-auth days.
186
186
 
187
187
  `--HideDefaultThemes [HideDefaultThemes]`
188
- : Defines if the default themes are visible or hidden. Allowed values `true`, `false`
188
+ : Defines if the default themes are visible or hidden. Allowed values `true`, `false`.
189
189
 
190
190
  `--BlockAccessOnUnmanagedDevices [BlockAccessOnUnmanagedDevices]`
191
- : Blocks access on unmanaged devices. Allowed values `true`, `false`
191
+ : Blocks access on unmanaged devices. Allowed values `true`, `false`.
192
192
 
193
193
  `--AllowLimitedAccessOnUnmanagedDevices [AllowLimitedAccessOnUnmanagedDevices]`
194
- : Allows limited access on unmanaged device blocks. Allowed values `true`, `false`
194
+ : Allows limited access on unmanaged device blocks. Allowed values `true`, `false`.
195
195
 
196
196
  `--BlockDownloadOfAllFilesForGuests [BlockDownloadOfAllFilesForGuests]`
197
- : Blocks download of all files for guests. Allowed values `true`, `false`
197
+ : Blocks download of all files for guests. Allowed values `true`, `false`.
198
198
 
199
199
  `--BlockDownloadOfAllFilesOnUnmanagedDevices [BlockDownloadOfAllFilesOnUnmanagedDevices]`
200
- : Blocks download of all files on unmanaged devices. Allowed values `true`, `false`
200
+ : Blocks download of all files on unmanaged devices. Allowed values `true`, `false`.
201
201
 
202
202
  `--BlockDownloadOfViewableFilesForGuests [BlockDownloadOfViewableFilesForGuests]`
203
- : Blocks download of viewable files for guests. Allowed values `true`, `false`
203
+ : Blocks download of viewable files for guests. Allowed values `true`, `false`.
204
204
 
205
205
  `--BlockDownloadOfViewableFilesOnUnmanagedDevices [BlockDownloadOfViewableFilesOnUnmanagedDevices]`
206
- : Blocks download of viewable files on unmanaged devices. Allowed values `true`, `false`
206
+ : Blocks download of viewable files on unmanaged devices. Allowed values `true`, `false`.
207
207
 
208
208
  `--BlockMacSync [BlockMacSync]`
209
- : Blocks Mac sync. Allowed values `true`, `false`
209
+ : Blocks Mac sync. Allowed values `true`, `false`.
210
210
 
211
211
  `--DisableReportProblemDialog [DisableReportProblemDialog]`
212
- : Disables report problem dialog. Allowed values `true`, `false`
212
+ : Disables report problem dialog. Allowed values `true`, `false`.
213
213
 
214
214
  `--DisplayNamesOfFileViewers [DisplayNamesOfFileViewers]`
215
- : Displays names of file viewers. Allowed values `true`, `false`
215
+ : Displays names of file viewers. Allowed values `true`, `false`.
216
216
 
217
217
  `--EnableMinimumVersionRequirement [EnableMinimumVersionRequirement]`
218
- : Enables minimum version requirement. Allowed values `true`, `false`
218
+ : Enables minimum version requirement. Allowed values `true`, `false`.
219
219
 
220
220
  `--HideSyncButtonOnODB [HideSyncButtonOnODB]`
221
- : Hides the sync button on One Drive for Business. Allowed values `true`, `false`
221
+ : Hides the sync button on One Drive for Business. Allowed values `true`, `false`.
222
222
 
223
223
  `--IsUnmanagedSyncClientForTenantRestricted [IsUnmanagedSyncClientForTenantRestricted]`
224
- : Is unmanaged sync client for tenant restricted. Allowed values `true`, `false`
224
+ : Is unmanaged sync client for tenant restricted. Allowed values `true`, `false`.
225
225
 
226
226
  `--LimitedAccessFileType [LimitedAccessFileType]`
227
- : Allows users to preview only Office files in the browser. This option increases security but may be a barrier to user productivity. Allowed values `OfficeOnlineFilesOnly`, `WebPreviewableFiles`, `OtherFiles`
227
+ : Allows users to preview only Office files in the browser. This option increases security but may be a barrier to user productivity. Allowed values `OfficeOnlineFilesOnly`, `WebPreviewableFiles`, `OtherFiles`.
228
228
 
229
229
  `--OptOutOfGrooveBlock [OptOutOfGrooveBlock]`
230
- : Opts out of the groove block. Allowed values `true`, `false`
230
+ : Opts out of the groove block. Allowed values `true`, `false`.
231
231
 
232
232
  `--OptOutOfGrooveSoftBlock [OptOutOfGrooveSoftBlock]`
233
- : Opts out of Groove soft block. Allowed values `true`, `false`
233
+ : Opts out of Groove soft block. Allowed values `true`, `false`.
234
234
 
235
235
  `--OrgNewsSiteUrl [OrgNewsSiteUrl]`
236
- : Organization news site url'
236
+ : Organization news site url.
237
237
 
238
238
  `--PermissiveBrowserFileHandlingOverride [PermissiveBrowserFileHandlingOverride]`
239
- : Permissive browser file handling override. Allowed values `true`, `false`
239
+ : Permissive browser file handling override. Allowed values `true`, `false`.
240
240
 
241
241
  `--ShowNGSCDialogForSyncOnODB [ShowNGSCDialogForSyncOnODB]`
242
- : Show NGSC dialog for sync on OneDrive for Business. Allowed values `true`, `false`
242
+ : Show NGSC dialog for sync on OneDrive for Business. Allowed values `true`, `false`.
243
243
 
244
244
  `--SpecialCharactersStateInFileFolderNames [SpecialCharactersStateInFileFolderNames]`
245
- : Sets the special characters state in file and folder names in SharePoint and OneDrive for Business. Allowed values `NoPreference`, `Allowed`, `Disallowed`
245
+ : Sets the special characters state in file and folder names in SharePoint and OneDrive for Business. Allowed values `NoPreference`, `Allowed`, `Disallowed`.
246
246
 
247
247
  `--SyncPrivacyProfileProperties [SyncPrivacyProfileProperties]`
248
- : Syncs privacy profile properties. Allowed values `true`, `false`
248
+ : Syncs privacy profile properties. Allowed values `true`, `false`.
249
249
 
250
250
  `--ExcludedFileExtensionsForSyncClient [ExcludedFileExtensionsForSyncClient]`
251
- : Excluded file extensions for sync client. Array of strings split by comma
251
+ : Excluded file extensions for sync client. Array of strings split by comma.
252
252
 
253
253
  `--AllowedDomainListForSyncClient [AllowedDomainListForSyncClient]`
254
- : Sets allowed domain list for sync client. Array of GUIDs split by comma. Example: `c9b1909e-901a-0000-2cdb-e91c3f46320a,c9b1909e-901a-0000-2cdb-e91c3f463201`
254
+ : Sets allowed domain list for sync client. Array of GUIDs split by comma. Example: `c9b1909e-901a-0000-2cdb-e91c3f46320a,c9b1909e-901a-0000-2cdb-e91c3f463201`.
255
255
 
256
256
  `--DisabledWebPartIds [DisabledWebPartIds]`
257
- : Sets disabled web part Ids. Array of GUIDs split by comma. Example: `c9b1909e-901a-0000-2cdb-e91c3f46320a,c9b1909e-901a-0000-2cdb-e91c3f463201`
257
+ : Sets disabled web part Ids. Array of GUIDs split by comma. Example: `c9b1909e-901a-0000-2cdb-e91c3f46320a,c9b1909e-901a-0000-2cdb-e91c3f463201`.
258
258
 
259
259
  `--DisableCustomAppAuthentication [DisableCustomAppAuthentication]`
260
- : Configure if ACS-based app-only auth should be disabled or not. Allowed values `true`, `false`
260
+ : Configure if ACS-based app-only auth should be disabled or not. Allowed values `true`, `false`.
261
261
 
262
262
  `--CommentsOnListItemsDisabled [CommentsOnListItemsDisabled]`
263
- : Enables or disables comments on lists. Allowed values `true`, `false`
263
+ : Enables or disables comments on lists. Allowed values `true`, `false`.
264
264
 
265
265
  `--EnableAzureADB2BIntegration [EnableAzureADB2BIntegration]`
266
- : Enables the preview for OneDrive and SharePoint integration with Azure AD B2B. Allowed values `true`, `false`. Azure AD one-time passcode needs to be enabled for this integration to work. For more information see [http://aka.ms/spo-b2b-integration](https://aka.ms/spo-b2b-integration).
266
+ : Enables the preview for OneDrive and SharePoint integration with Microsoft Entra B2B. Allowed values `true`, `false`. Microsoft Entra one-time passcode needs to be enabled for this integration to work. For more information see [http://aka.ms/spo-b2b-integration](https://aka.ms/spo-b2b-integration).
267
267
 
268
268
  `--SyncAadB2BManagementPolicy [SyncAadB2BManagementPolicy]`
269
- : 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).
269
+ : Syncs Azure B2B Management Policies. Allowed values `true`, `false`. For more information, see [SharePoint and OneDrive integration with Microsoft Entra B2B](https://aka.ms/spo-b2b-integration).
270
270
  ```
271
271
 
272
272
  <Global />
@@ -281,32 +281,32 @@ To use this command you have to have permission to access the tenant admin site.
281
281
 
282
282
  ## Examples
283
283
 
284
- Sets single tenant global setting
284
+ Sets single tenant global setting.
285
285
 
286
286
  ```sh
287
287
  m365 spo tenant settings set --UserVoiceForFeedbackEnabled true
288
288
  ```
289
289
 
290
- Sets multiple tenant global settings at once
290
+ Sets multiple tenant global settings at once.
291
291
 
292
292
  ```sh
293
293
  m365 spo tenant settings set --UserVoiceForFeedbackEnabled true --HideSyncButtonOnODB true --AllowedDomainListForSyncClient c9b1909e-901a-0000-2cdb-e91c3f46320a,c9b1909e-901a-0000-2cdb-e91c3f463201
294
294
  ```
295
295
 
296
- Enable Azure AD B2B integration for SharePoint and OneDrive and sync the Azure AD B2B management policies
296
+ Enable Microsoft Entra B2B integration for SharePoint and OneDrive and sync the Microsoft Entra B2B management policies.
297
297
 
298
298
  ```sh
299
299
  m365 spo tenant settings set --EnableAzureADB2BIntegration true
300
300
  m365 spo tenant settings set --SyncAadB2BManagementPolicy true
301
301
  ```
302
302
 
303
- Disable Azure AD B2B integration for SharePoint and OneDrive
303
+ Disable Microsoft Entra B2B integration for SharePoint and OneDrive.
304
304
 
305
305
  ```sh
306
306
  m365 spo tenant settings set --EnableAzureADB2BIntegration false
307
307
  ```
308
308
 
309
- Disable comments on list items for SharePoint and Microsoft Lists
309
+ Disable comments on list items for SharePoint and Microsoft Lists.
310
310
 
311
311
  ```sh
312
312
  m365 spo tenant settings set --CommentsOnListItemsDisabled true
@@ -22,7 +22,7 @@ m365 spo user ensure [options]
22
22
  : Id of the user in Entra. Specify either `aadId`, `entraId`, or `userName`.
23
23
 
24
24
  `--aadId [--aadId]`
25
- : (deprecated. Use `entraId` instead) Id of the user in Azure AD. Specify either `aadId`, `entraId`, or `userName`.
25
+ : (deprecated. Use `entraId` instead) Id of the user in Microsoft Entra. Specify either `aadId`, `entraId`, or `userName`.
26
26
 
27
27
  `--userName [userName]`
28
28
  : User's UPN (user principal name, e.g. john@contoso.com). Specify either `aadId`, `entraId`, or `userName`.