@pnp/cli-microsoft365 7.0.0-beta.9229cf8 → 7.0.0-beta.99e75a7

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 (135) hide show
  1. package/.eslintrc.cjs +1 -1
  2. package/dist/Auth.js +2 -1
  3. package/dist/Command.js +1 -1
  4. package/dist/m365/aad/commands/{o365group/o365group-add.js → m365group/m365group-add.js} +17 -17
  5. package/dist/m365/aad/commands/{o365group/o365group-conversation-list.js → m365group/m365group-conversation-list.js} +10 -10
  6. package/dist/m365/aad/commands/{o365group/o365group-conversation-post-list.js → m365group/m365group-conversation-post-list.js} +14 -14
  7. package/dist/m365/aad/commands/{o365group/o365group-get.js → m365group/m365group-get.js} +13 -10
  8. package/dist/m365/aad/commands/{o365group/o365group-list.js → m365group/m365group-list.js} +13 -28
  9. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-clear.js → m365group/m365group-recyclebinitem-clear.js} +15 -15
  10. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-list.js → m365group/m365group-recyclebinitem-list.js} +10 -10
  11. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-remove.js → m365group/m365group-recyclebinitem-remove.js} +14 -14
  12. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-restore.js → m365group/m365group-recyclebinitem-restore.js} +14 -14
  13. package/dist/m365/aad/commands/{o365group/o365group-remove.js → m365group/m365group-remove.js} +12 -12
  14. package/dist/m365/aad/commands/{o365group/o365group-renew.js → m365group/m365group-renew.js} +10 -10
  15. package/dist/m365/aad/commands/{o365group/o365group-report-activitycounts.js → m365group/m365group-report-activitycounts.js} +4 -4
  16. package/dist/m365/aad/commands/{o365group/o365group-report-activitydetail.js → m365group/m365group-report-activitydetail.js} +4 -4
  17. package/dist/m365/aad/commands/{o365group/o365group-report-activityfilecounts.js → m365group/m365group-report-activityfilecounts.js} +4 -4
  18. package/dist/m365/aad/commands/{o365group/o365group-report-activitygroupcounts.js → m365group/m365group-report-activitygroupcounts.js} +4 -4
  19. package/dist/m365/aad/commands/{o365group/o365group-report-activitystorage.js → m365group/m365group-report-activitystorage.js} +4 -4
  20. package/dist/m365/aad/commands/{o365group/o365group-set.js → m365group/m365group-set.js} +17 -17
  21. package/dist/m365/aad/commands/{o365group/o365group-teamify.js → m365group/m365group-teamify.js} +14 -14
  22. package/dist/m365/aad/commands/{o365group/o365group-user-add.js → m365group/m365group-user-add.js} +14 -14
  23. package/dist/m365/aad/commands/{o365group/o365group-user-list.js → m365group/m365group-user-list.js} +12 -12
  24. package/dist/m365/aad/commands/{o365group/o365group-user-remove.js → m365group/m365group-user-remove.js} +14 -14
  25. package/dist/m365/aad/commands/{o365group/o365group-user-set.js → m365group/m365group-user-set.js} +15 -15
  26. package/dist/m365/aad/commands.js +22 -22
  27. package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
  28. package/dist/m365/pa/commands/app/app-permission-list.js +2 -2
  29. package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
  30. package/dist/m365/pa/commands.js +2 -0
  31. package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -2
  32. package/dist/m365/spfx/commands/spfx-doctor.js +73 -103
  33. package/dist/m365/spo/commands/file/file-add.js +13 -13
  34. package/dist/m365/spo/commands/file/file-checkin.js +1 -1
  35. package/dist/m365/spo/commands/file/file-checkout.js +1 -1
  36. package/dist/m365/spo/commands/file/file-copy.js +36 -4
  37. package/dist/m365/spo/commands/file/file-list.js +4 -4
  38. package/dist/m365/spo/commands/file/file-move.js +2 -2
  39. package/dist/m365/spo/commands/file/file-remove.js +6 -6
  40. package/dist/m365/spo/commands/file/file-rename.js +2 -2
  41. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -1
  42. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -1
  43. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
  44. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +1 -1
  45. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
  46. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  47. package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
  48. package/dist/m365/spo/commands/file/file-version-get.js +1 -1
  49. package/dist/m365/spo/commands/file/file-version-list.js +1 -1
  50. package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
  51. package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
  52. package/dist/m365/spo/commands/folder/folder-add.js +2 -4
  53. package/dist/m365/spo/commands/folder/folder-get.js +1 -1
  54. package/dist/m365/spo/commands/folder/folder-list.js +2 -2
  55. package/dist/m365/spo/commands/folder/folder-remove.js +7 -4
  56. package/dist/m365/spo/commands/folder/folder-rename.js +13 -17
  57. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
  58. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -1
  59. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +1 -1
  60. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
  61. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
  62. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
  63. package/dist/m365/spo/commands/group/group-list.js +0 -1
  64. package/dist/m365/spo/commands/site/site-set.js +2 -2
  65. package/dist/m365/spo/commands/theme/theme-list.js +1 -9
  66. package/dist/utils/spo.js +1 -1
  67. package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +13 -13
  68. package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
  69. package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
  70. package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
  71. package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
  72. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +5 -5
  73. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
  74. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +6 -6
  75. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
  76. package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +6 -6
  77. package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
  78. package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +6 -6
  79. package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +7 -7
  80. package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +6 -6
  81. package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +6 -6
  82. package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +6 -6
  83. package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
  84. package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
  85. package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
  86. package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
  87. package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +5 -5
  88. package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
  89. package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
  90. package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
  91. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  92. package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
  93. package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
  94. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -9
  95. package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
  96. package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
  97. package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
  98. package/docs/docs/cmd/spo/file/file-list.mdx +2 -2
  99. package/docs/docs/cmd/spo/file/file-move.mdx +2 -2
  100. package/docs/docs/cmd/spo/file/file-remove.mdx +8 -8
  101. package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
  102. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +2 -2
  103. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +3 -3
  104. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
  105. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  106. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  107. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  108. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
  109. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
  110. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
  111. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
  112. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
  113. package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
  114. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
  115. package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
  116. package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
  117. package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
  118. package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
  119. package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
  120. package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
  121. package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
  122. package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
  123. package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
  124. package/docs/docs/cmd/spo/folder/folder-rename.mdx +5 -1
  125. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  126. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
  127. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +2 -2
  128. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
  129. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
  130. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
  131. package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
  132. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  133. package/npm-shrinkwrap.json +142 -88
  134. package/package.json +13 -13
  135. /package/dist/m365/aad/commands/{o365group → m365group}/GroupExtended.js +0 -0
@@ -17,7 +17,7 @@ m365 spo file roleassignment add [options]
17
17
  : URL of the site where the file is located.
18
18
 
19
19
  `--fileUrl [fileUrl]`
20
- : The server- or site-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
20
+ : The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
21
21
 
22
22
  `i, --fileId [fileId]`
23
23
  : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
@@ -17,7 +17,7 @@ m365 spo file roleassignment remove [options]
17
17
  : URL of the site where the file is located.
18
18
 
19
19
  `--fileUrl [fileUrl]`
20
- : The server- or site-relative URL of the file. Specify either `fileUrl` or `fileId` but not both.
20
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
21
21
 
22
22
  `-i, --fileId [fileId]`
23
23
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
@@ -17,7 +17,7 @@ m365 spo file roleinheritance break [options]
17
17
  : URL of the site where the file is located
18
18
 
19
19
  `--fileUrl [fileUrl]`
20
- : The server- or site-relative URL of the file. Specify either `fileUrl` or `fileId` but not both
20
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both
21
21
 
22
22
  `i, --fileId [fileId]`
23
23
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both
@@ -17,7 +17,7 @@ m365 spo file roleinheritance reset [options]
17
17
  : URL of the site where the file is located
18
18
 
19
19
  `--fileUrl [fileUrl]`
20
- : The server- or site-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
20
+ : The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
21
21
 
22
22
  `i, --fileId [fileId]`
23
23
  : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
@@ -17,7 +17,7 @@ m365 spo file sharinginfo get [options]
17
17
  : The URL of the site where the file is located
18
18
 
19
19
  `--fileUrl [fileUrl]`
20
- : The server- or site-relative URL of the file for which to build the report. Specify either `fileUrl` or `fileId` but not both
20
+ : The server- or site-relative decoded URL of the file for which to build the report. Specify either `fileUrl` or `fileId` but not both
21
21
 
22
22
  `-i, --fileId [fileId]`
23
23
  : The UniqueId (GUID) of the file for which to build the report. Specify either `fileUrl` or `fileId` but not both
@@ -19,7 +19,7 @@ m365 spo file sharinglink add [options]
19
19
  : The URL of the site where the file is located.
20
20
 
21
21
  `--fileUrl [fileUrl]`
22
- : The server- or site-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
22
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `--fileId [fileId]`
25
25
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
@@ -17,7 +17,7 @@ m365 spo file sharinglink clear [options]
17
17
  : The URL of the site where the file is located.
18
18
 
19
19
  `--fileUrl [fileUrl]`
20
- : The server- or site-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
20
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
21
21
 
22
22
  `--fileId [fileId]`
23
23
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
@@ -19,7 +19,7 @@ m365 spo file sharinglink get [options]
19
19
  : The URL of the site where the file is located.
20
20
 
21
21
  `--fileUrl [fileUrl]`
22
- : The server- or site-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
22
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `--fileId [fileId]`
25
25
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
@@ -19,7 +19,7 @@ m365 spo file sharinglink list [options]
19
19
  : The URL of the site where the file is located.
20
20
 
21
21
  `--fileUrl [fileUrl]`
22
- : The server- or site-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
22
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `--fileId [fileId]`
25
25
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
@@ -17,7 +17,7 @@ m365 spo file sharinglink remove [options]
17
17
  : The URL of the site where the file is located.
18
18
 
19
19
  `--fileUrl [fileUrl]`
20
- : The server- or site-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
20
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
21
21
 
22
22
  `--fileId [fileId]`
23
23
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
@@ -19,7 +19,7 @@ m365 spo file sharinglink set [options]
19
19
  : The URL of the site where the file is located.
20
20
 
21
21
  `--fileUrl [fileUrl]`
22
- : The server- or site-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
22
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `--fileId [fileId]`
25
25
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
@@ -17,7 +17,7 @@ m365 spo file version clear [options]
17
17
  : The URL of the site where the file is located
18
18
 
19
19
  `-u, --fileUrl [fileUrl]`
20
- : The server- or site-relative URL of the file. Specify either `fileUrl` or `fileId` but not both
20
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both
21
21
 
22
22
  `-i, --fileId [fileId]`
23
23
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both
@@ -22,7 +22,7 @@ m365 spo file version get [options]
22
22
  : Label of version which will be retrieved
23
23
 
24
24
  `-u, --fileUrl [fileUrl]`
25
- : The server- or site-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
25
+ : The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
26
26
 
27
27
  `-i, --fileId [fileId]`
28
28
  : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
@@ -19,7 +19,7 @@ m365 spo file version list [options]
19
19
  : The URL of the site where the file is located
20
20
 
21
21
  `-u, --fileUrl [fileUrl]`
22
- : The server- or site-relative URL of the file. Specify either `fileUrl` or `fileId` but not both
22
+ : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both
23
23
 
24
24
  `-i, --fileId [fileId]`
25
25
  : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both
@@ -20,7 +20,7 @@ m365 spo file version remove [options]
20
20
  : Label of version which will be removed
21
21
 
22
22
  `-u, --fileUrl [fileUrl]`
23
- : The server- or site-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
23
+ : The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
24
24
 
25
25
  `-i, --fileId [fileId]`
26
26
  : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
@@ -20,7 +20,7 @@ m365 spo file version restore [options]
20
20
  : Label of version which will be restored
21
21
 
22
22
  `-u, --fileUrl [fileUrl]`
23
- : The server- or site-relative URL of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
23
+ : The server- or site-relative decoded URL of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
24
24
 
25
25
  `-i, --fileId [fileId]`
26
26
  : The UniqueId (GUID) of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo folder add
4
6
 
@@ -17,7 +19,7 @@ m365 spo folder add [options]
17
19
  : The URL of the site where the folder will be created.
18
20
 
19
21
  `-p, --parentFolderUrl <parentFolderUrl>`
20
- : The server- or site-relative URL of the parent folder.
22
+ : The server- or site-relative decoded URL of the parent folder.
21
23
 
22
24
  `-n, --name <name>`
23
25
  : Name of the new folder to be created
@@ -38,3 +40,76 @@ Creates folder in a specific folder within the site
38
40
  ```sh
39
41
  m365 spo folder add --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/sites/project-x/Shared Documents/Reports' --name 'Financial reports'
40
42
  ```
43
+
44
+ ## Response
45
+
46
+ <Tabs>
47
+ <TabItem value="JSON">
48
+
49
+ ```json
50
+ {
51
+ "Exists": true,
52
+ "ExistsAllowThrowForPolicyFailures": true,
53
+ "IsWOPIEnabled": false,
54
+ "ItemCount": 0,
55
+ "Name": "My new folder",
56
+ "ProgID": null,
57
+ "ServerRelativeUrl": "/sites/project-x/Shared Documents/My new folder",
58
+ "TimeCreated": "2023-07-20T19:29:16Z",
59
+ "TimeLastModified": "2023-07-20T19:29:16Z",
60
+ "UniqueId": "94a9aa56-f0b5-4268-941f-737c841ba7c7",
61
+ "WelcomePage": ""
62
+ }
63
+ ```
64
+
65
+ </TabItem>
66
+ <TabItem value="Text">
67
+
68
+ ```text
69
+ Exists : true
70
+ ExistsAllowThrowForPolicyFailures: true
71
+ IsWOPIEnabled : false
72
+ ItemCount : 0
73
+ Name : My new folder
74
+ ProgID : null
75
+ ServerRelativeUrl : /sites/project-x/Shared Documents/My new folder
76
+ TimeCreated : 2023-07-20T19:29:16Z
77
+ TimeLastModified : 2023-07-20T19:29:16Z
78
+ UniqueId : 94a9aa56-f0b5-4268-941f-737c841ba7c7
79
+ WelcomePage :
80
+ ```
81
+
82
+ </TabItem>
83
+ <TabItem value="CSV">
84
+
85
+ ```csv
86
+ Exists,ExistsAllowThrowForPolicyFailures,IsWOPIEnabled,ItemCount,Name,ServerRelativeUrl,TimeCreated,TimeLastModified,UniqueId,WelcomePage
87
+ 1,1,,0,My new folder,/sites/project-x/Shared Documents/My new folder,2023-07-20T19:29:16Z,2023-07-20T19:29:16Z,94a9aa56-f0b5-4268-941f-737c841ba7c7,
88
+ ```
89
+
90
+ </TabItem>
91
+ <TabItem value="Markdown">
92
+
93
+ ```md
94
+ # spo folder add --webUrl "https://contoso.sharepoint.com/sites/project-x" --parentFolderUrl "/sites/project-x/Shared Documents" --name "My new folder"
95
+
96
+ Date: 20/7/2023
97
+
98
+ ## My new folder (94a9aa56-f0b5-4268-941f-737c841ba7c7)
99
+
100
+ Property | Value
101
+ ---------|-------
102
+ Exists | true
103
+ ExistsAllowThrowForPolicyFailures | true
104
+ IsWOPIEnabled | false
105
+ ItemCount | 0
106
+ Name | My new folder
107
+ ServerRelativeUrl | /sites/project-x/Shared Documents/My new folder
108
+ TimeCreated | 2023-07-20T19:29:16Z
109
+ TimeLastModified | 2023-07-20T19:29:16Z
110
+ UniqueId | 94a9aa56-f0b5-4268-941f-737c841ba7c7
111
+ WelcomePage |
112
+ ```
113
+
114
+ </TabItem>
115
+ </Tabs>
@@ -17,7 +17,7 @@ m365 spo folder get [options]
17
17
  : The URL of the site where the folder is located.
18
18
 
19
19
  `--url [url]`
20
- : The server- or site-relative URL of the folder to retrieve. Specify either `folderUrl` or `id` but not both.
20
+ : The server- or site-relative decoded URL of the folder to retrieve. Specify either `folderUrl` or `id` but not both.
21
21
 
22
22
  `-i, --id [id]`
23
23
  : The UniqueId (GUID) of the folder to retrieve. Specify either `url` or `id` but not both.
@@ -19,7 +19,7 @@ m365 spo folder list [options]
19
19
  : The URL of the site where the folders to list are located.
20
20
 
21
21
  `-p, --parentFolderUrl <parentFolderUrl>`
22
- : The server- or site-relative URL of the parent folder.
22
+ : The server- or site-relative decoded URL of the parent folder.
23
23
 
24
24
  `--fields [fields]`
25
25
  : Comma-separated list of fields to retrieve. Will retrieve all fields if not specified and json output is requested.
@@ -17,7 +17,7 @@ m365 spo folder remove [options]
17
17
  : The URL of the site where the folder to be deleted is located.
18
18
 
19
19
  `--url <url>`
20
- : The server- or site-relative URL of the folder to delete.
20
+ : The server- or site-relative decoded URL of the folder to delete.
21
21
 
22
22
  `--recycle`
23
23
  : Recycles the folder instead of actually deleting it.
@@ -17,7 +17,7 @@ m365 spo folder rename [options]
17
17
  : The URL of the site where the folder to be renamed is located.
18
18
 
19
19
  `--url <url>`
20
- : The server- or site-relative URL of the folder (including the folder).
20
+ : The server- or site-relative decoded URL of the folder (including the folder).
21
21
 
22
22
  `-n, --name <name>`
23
23
  : New name for the target folder.
@@ -38,3 +38,7 @@ Renames a folder with a specific server-relative URL
38
38
  ```sh
39
39
  m365 spo folder rename --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/Shared Documents/My Folder 1' --name 'My Folder 2'
40
40
  ```
41
+
42
+ ## Response
43
+
44
+ The command won't return a response on success.
@@ -17,7 +17,7 @@ m365 spo folder retentionlabel ensure [options]
17
17
  : URL of the site where the retention label from a file to apply is located
18
18
 
19
19
  `--folderUrl [folderUrl]`
20
- : The server- or site-relative URL of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
20
+ : The server- or site-relative decoded URL of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
21
21
 
22
22
  `i, --folderId [folderId]`
23
23
  : The UniqueId (GUID) of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
@@ -17,7 +17,7 @@ m365 spo folder retentionlabel remove [options]
17
17
  : The url of the web.
18
18
 
19
19
  `--folderUrl [folderUrl]`
20
- : The server- or site-relative URL of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
20
+ : The server- or site-relative decoded URL of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
21
21
 
22
22
  `-i, --folderId [folderId]`
23
23
  : The UniqueId (GUID) of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
@@ -17,7 +17,7 @@ m365 spo folder roleassignment add [options]
17
17
  : The URL of the site where the folder is located.
18
18
 
19
19
  `--folderUrl <folderUrl>`
20
- : The server- or site-relative URL of the folder.
20
+ : The server- or site-relative decoded URL of the folder.
21
21
 
22
22
  `--principalId [principalId]`
23
23
  : The SharePoint principal id. It may be either an user id or group id for which the role assignment will be addd. Specify either upn, groupName or principalId but not multiple.
@@ -32,7 +32,7 @@ m365 spo folder roleassignment add [options]
32
32
  : ID of the role definition. Specify either roleDefinitionId or roleDefinitionName but not both.
33
33
 
34
34
  `--roleDefinitionName [roleDefinitionName]`
35
- : The name of the role definition. E.g. 'Contribute', 'Read'. Specify either roleDefinitionId or roleDefinitionName but not both
35
+ : The name of the role definition. E.g. 'Contribute', 'Read'. Specify either roleDefinitionId or roleDefinitionName but not both.
36
36
  ```
37
37
 
38
38
  <Global />
@@ -17,7 +17,7 @@ m365 spo folder roleassignment remove [options]
17
17
  : The URL of the site where the folder is located.
18
18
 
19
19
  `--folderUrl <folderUrl>`
20
- : The server- or site-relative URL of the folder.
20
+ : The server- or site-relative decoded URL of the folder.
21
21
 
22
22
  `--principalId [principalId]`
23
23
  : The SharePoint principal id. It may be either an user id or group id for which the role assignment will be removed. Specify either upn, groupName or principalId but not multiple.
@@ -17,7 +17,7 @@ m365 spo folder roleinheritance break [options]
17
17
  : URL of the site where the folder is located.
18
18
 
19
19
  `--folderUrl <folderUrl>`
20
- : The server- or site-relative URL of the folder.
20
+ : The server- or site-relative decoded URL of the folder.
21
21
 
22
22
  `-c, --clearExistingPermissions`
23
23
  : Clear all existing permissions from the folder.
@@ -17,7 +17,7 @@ m365 spo folder roleinheritance reset [options]
17
17
  : URL of the site where the folder is located.
18
18
 
19
19
  `--folderUrl <folderUrl>`
20
- : The server- or site-relative URL of the folder.
20
+ : The server- or site-relative decoded URL of the folder.
21
21
 
22
22
  `-f, --force`
23
23
  : Don't prompt for confirmation to reset role inheritance of the folder.
@@ -98,7 +98,7 @@ Deleting and creating classic site collections is by default asynchronous and de
98
98
 
99
99
  The `--owners` option is mandatory for creating `CommunicationSite` sites with app-only permissions.
100
100
 
101
- When trying to create a team site using app-only permissions, you will get an _Insufficient privileges to complete the operation._ error. As a workaround, you can use the [`aad o365group add`](../../aad/o365group/o365group-add.mdx) command, followed by [`spo site set`](./site-set.mdx) to further configure the Team site.
101
+ When trying to create a team site using app-only permissions, you will get an _Insufficient privileges to complete the operation._ error. As a workaround, you can use the [`aad m365group add`](../../aad/m365group/m365group-add.mdx) command, followed by [`spo site set`](./site-set.mdx) to further configure the Team site.
102
102
 
103
103
  ## Examples
104
104
 
@@ -32,7 +32,7 @@ m365 teams team add [options]
32
32
 
33
33
  ## Remarks
34
34
 
35
- If you want to add a Team to an existing Microsoft 365 Group use the [aad o365group teamify](../../aad/o365group/o365group-teamify.mdx) command instead.
35
+ If you want to add a Team to an existing Microsoft 365 Group use the [aad m365group teamify](../../aad/m365group/m365group-teamify.mdx) command instead.
36
36
 
37
37
  This command will return different responses based on the presence of the `--wait` option. If present, the command will return a `group` resource in the response. If not present, the command will return a `teamsAsyncOperation` resource in the response.
38
38