@pnp/cli-microsoft365 11.12.0-beta.8589b73 → 12.0.0-beta.10c5833

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 (180) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/Auth.js +2 -6
  4. package/dist/auth/FileTokenStorage.js +0 -3
  5. package/dist/auth/msalCachePlugin.js +201 -12
  6. package/dist/m365/commands/logout.js +2 -4
  7. package/dist/m365/entra/commands/m365group/m365group-remove.js +4 -3
  8. package/dist/m365/spe/commands/container/container-remove.js +6 -7
  9. package/dist/m365/spfx/commands/project/DeployWorkflow.js +7 -15
  10. package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +30 -2
  11. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +12 -2
  12. package/dist/m365/spo/commands/cdn/cdn-get.js +8 -35
  13. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +9 -36
  14. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +8 -34
  15. package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +10 -39
  16. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +8 -34
  17. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +10 -45
  18. package/dist/m365/spo/commands/cdn/cdn-set.js +10 -46
  19. package/dist/m365/spo/commands/contenttype/contenttype-sync.js +12 -24
  20. package/dist/m365/spo/commands/file/file-add.js +2 -6
  21. package/dist/m365/spo/commands/file/file-archive.js +1 -1
  22. package/dist/m365/spo/commands/file/file-remove.js +5 -5
  23. package/dist/m365/spo/commands/file/file-unarchive.js +1 -1
  24. package/dist/m365/spo/commands/folder/folder-archive.js +1 -1
  25. package/dist/m365/spo/commands/folder/folder-remove.js +5 -5
  26. package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-get.js +5 -0
  27. package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +8 -26
  28. package/dist/m365/spo/commands/homesite/homesite-list.js +5 -0
  29. package/dist/m365/spo/commands/list/list-remove.js +4 -4
  30. package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +5 -4
  31. package/dist/m365/spo/commands/listitem/listitem-get.js +15 -7
  32. package/dist/m365/spo/commands/listitem/listitem-remove.js +8 -5
  33. package/dist/m365/spo/commands/page/page-header-set.js +123 -64
  34. package/dist/m365/spo/commands/page/page-remove.js +7 -7
  35. package/dist/m365/spo/commands/site/site-list.js +60 -49
  36. package/dist/m365/spo/commands/site/site-remove.js +7 -7
  37. package/dist/m365/spo/commands/spo-get.js +5 -0
  38. package/dist/m365/spo/commands/spo-set.js +10 -21
  39. package/dist/m365/spo/commands/storageentity/storageentity-get.js +23 -17
  40. package/dist/m365/spo/commands/storageentity/storageentity-list.js +39 -36
  41. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +26 -33
  42. package/dist/m365/spo/commands/storageentity/storageentity-set.js +26 -36
  43. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +1 -1
  44. package/dist/m365/spo/commands/user/user-ensure.js +24 -60
  45. package/dist/m365/spo/commands/user/user-get.js +25 -65
  46. package/dist/m365/spo/commands/user/user-list.js +10 -18
  47. package/dist/m365/spo/commands/user/user-remove.js +26 -68
  48. package/dist/m365/spo/commands/userprofile/userprofile-get.js +10 -23
  49. package/dist/m365/spo/commands/userprofile/userprofile-set.js +10 -19
  50. package/dist/m365/spo/commands/web/web-add.js +20 -55
  51. package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +10 -18
  52. package/dist/m365/spo/commands/web/web-get.js +12 -30
  53. package/dist/m365/spo/commands/web/web-installedlanguage-list.js +10 -18
  54. package/dist/m365/spo/commands/web/web-list.js +10 -18
  55. package/dist/m365/spo/commands/web/web-reindex.js +10 -18
  56. package/dist/m365/spo/commands/web/web-remove.js +11 -27
  57. package/dist/m365/spo/commands/web/web-retentionlabel-list.js +10 -18
  58. package/dist/m365/spo/commands/web/web-roleassignment-add.js +40 -64
  59. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +31 -58
  60. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +12 -36
  61. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +11 -29
  62. package/dist/m365/spo/commands/web/web-rule-get.js +47 -0
  63. package/dist/m365/spo/commands/web/web-rule-list.js +6 -4
  64. package/dist/m365/spo/commands/web/web-rule-remove.js +0 -3
  65. package/dist/m365/spo/commands/web/web-set.js +26 -96
  66. package/dist/m365/spo/commands.js +1 -2
  67. package/dist/m365/teams/commands/channel/channel-list.js +2 -6
  68. package/dist/m365/teams/commands/channel/channel-member-add.js +2 -6
  69. package/dist/m365/teams/commands/channel/channel-member-list.js +2 -6
  70. package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -6
  71. package/dist/m365/teams/commands/channel/channel-member-set.js +2 -6
  72. package/dist/m365/teams/commands/channel/channel-remove.js +2 -8
  73. package/dist/m365/teams/commands/channel/channel-set.js +2 -8
  74. package/dist/m365/teams/commands/tab/tab-get.js +2 -6
  75. package/dist/m365/teams/commands/team/team-archive.js +2 -6
  76. package/dist/m365/teams/commands/team/team-remove.js +2 -6
  77. package/dist/m365/teams/commands/team/team-unarchive.js +2 -6
  78. package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +4 -4
  79. package/docs/docs/cmd/spe/container/container-remove.mdx +5 -5
  80. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +4 -4
  81. package/docs/docs/cmd/spo/file/file-add.mdx +2 -2
  82. package/docs/docs/cmd/spo/file/file-archive.mdx +8 -0
  83. package/docs/docs/cmd/spo/file/file-checkin.mdx +21 -0
  84. package/docs/docs/cmd/spo/file/file-checkout.mdx +21 -0
  85. package/docs/docs/cmd/spo/file/file-copy.mdx +19 -0
  86. package/docs/docs/cmd/spo/file/file-get.mdx +19 -0
  87. package/docs/docs/cmd/spo/file/file-list.mdx +19 -0
  88. package/docs/docs/cmd/spo/file/file-move.mdx +19 -0
  89. package/docs/docs/cmd/spo/file/file-remove.mdx +25 -4
  90. package/docs/docs/cmd/spo/file/file-rename.mdx +19 -0
  91. package/docs/docs/cmd/spo/file/file-unarchive.mdx +8 -0
  92. package/docs/docs/cmd/spo/folder/folder-archive.mdx +6 -0
  93. package/docs/docs/cmd/spo/folder/folder-remove.mdx +4 -4
  94. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +21 -0
  95. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +21 -0
  96. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +21 -0
  97. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +21 -0
  98. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +21 -0
  99. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +21 -0
  100. package/docs/docs/cmd/spo/list/list-add.mdx +19 -0
  101. package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +19 -0
  102. package/docs/docs/cmd/spo/list/list-contenttype-default-set.mdx +21 -0
  103. package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +19 -0
  104. package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +21 -0
  105. package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +21 -0
  106. package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +19 -0
  107. package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +21 -0
  108. package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +21 -0
  109. package/docs/docs/cmd/spo/list/list-get.mdx +19 -0
  110. package/docs/docs/cmd/spo/list/list-list.mdx +19 -0
  111. package/docs/docs/cmd/spo/list/list-remove.mdx +25 -4
  112. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +21 -0
  113. package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +19 -0
  114. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +21 -0
  115. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +21 -0
  116. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +21 -0
  117. package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +21 -0
  118. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +21 -0
  119. package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +23 -0
  120. package/docs/docs/cmd/spo/list/list-set.mdx +21 -0
  121. package/docs/docs/cmd/spo/list/list-sitescript-get.mdx +19 -0
  122. package/docs/docs/cmd/spo/list/list-view-add.mdx +19 -0
  123. package/docs/docs/cmd/spo/list/list-view-field-add.mdx +21 -0
  124. package/docs/docs/cmd/spo/list/list-view-field-remove.mdx +21 -0
  125. package/docs/docs/cmd/spo/list/list-view-field-set.mdx +21 -0
  126. package/docs/docs/cmd/spo/list/list-view-get.mdx +19 -0
  127. package/docs/docs/cmd/spo/list/list-view-list.mdx +19 -0
  128. package/docs/docs/cmd/spo/list/list-view-remove.mdx +21 -0
  129. package/docs/docs/cmd/spo/list/list-view-set.mdx +19 -0
  130. package/docs/docs/cmd/spo/list/list-webhook-add.mdx +19 -0
  131. package/docs/docs/cmd/spo/list/list-webhook-get.mdx +19 -0
  132. package/docs/docs/cmd/spo/list/list-webhook-list.mdx +19 -0
  133. package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +21 -0
  134. package/docs/docs/cmd/spo/list/list-webhook-set.mdx +21 -0
  135. package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +19 -0
  136. package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +19 -0
  137. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +19 -0
  138. package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +19 -0
  139. package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +19 -0
  140. package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +8 -2
  141. package/docs/docs/cmd/spo/listitem/listitem-get.mdx +13 -7
  142. package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +8 -2
  143. package/docs/docs/cmd/spo/page/page-header-set.mdx +9 -9
  144. package/docs/docs/cmd/spo/page/page-remove.mdx +4 -4
  145. package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +52 -21
  146. package/docs/docs/cmd/spo/site/site-list.mdx +22 -1
  147. package/docs/docs/cmd/spo/site/site-remove.mdx +3 -3
  148. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +11 -2
  149. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +9 -3
  150. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +6 -6
  151. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +10 -4
  152. package/docs/docs/cmd/spo/web/web-rule-get.mdx +108 -0
  153. package/docs/docs/cmd/spo/web/web-rule-list.mdx +8 -12
  154. package/docs/docs/cmd/spo/web/web-rule-remove.mdx +0 -6
  155. package/docs/docs/cmd/teams/app/app-install.mdx +21 -0
  156. package/docs/docs/cmd/teams/app/app-list.mdx +19 -0
  157. package/docs/docs/cmd/teams/app/app-publish.mdx +17 -0
  158. package/docs/docs/cmd/teams/app/app-remove.mdx +19 -0
  159. package/docs/docs/cmd/teams/app/app-uninstall.mdx +21 -0
  160. package/docs/docs/cmd/teams/app/app-update.mdx +19 -0
  161. package/docs/docs/cmd/tenant/id/id-get.mdx +15 -0
  162. package/docs/docs/cmd/tenant/info/info-get.mdx +19 -0
  163. package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +19 -0
  164. package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +19 -0
  165. package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +19 -0
  166. package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +19 -0
  167. package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +19 -0
  168. package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +19 -0
  169. package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +19 -0
  170. package/docs/docs/cmd/tenant/report/report-settings-get.mdx +19 -0
  171. package/docs/docs/cmd/tenant/report/report-settings-set.mdx +21 -0
  172. package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +19 -0
  173. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.mdx +19 -0
  174. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.mdx +19 -0
  175. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.mdx +19 -0
  176. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +19 -0
  177. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +19 -0
  178. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +19 -0
  179. package/npm-shrinkwrap.json +1541 -1163
  180. package/package.json +22 -17
@@ -21,6 +21,25 @@ m365 tenant people pronouns set [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|------------------------------|
31
+ | Microsoft Graph | PeopleSettings.ReadWrite.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|------------------------------|
38
+ | Microsoft Graph | PeopleSettings.ReadWrite.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Enable pronouns in the organization
@@ -16,6 +16,25 @@ m365 tenant report settings get [options]
16
16
 
17
17
  <Global />
18
18
 
19
+ ## Permissions
20
+
21
+ <Tabs>
22
+ <TabItem value="Delegated">
23
+
24
+ | Resource | Permissions |
25
+ |-----------------|-------------------------|
26
+ | Microsoft Graph | ReportSettings.Read.All |
27
+
28
+ </TabItem>
29
+ <TabItem value="Application">
30
+
31
+ | Resource | Permissions |
32
+ |-----------------|-------------------------|
33
+ | Microsoft Graph | ReportSettings.Read.All |
34
+
35
+ </TabItem>
36
+ </Tabs>
37
+
19
38
  ## Examples
20
39
 
21
40
  Get the tenant-level settings for Microsoft 365 reports.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # tenant report settings set
4
6
 
@@ -19,6 +21,25 @@ m365 tenant report settings set [options]
19
21
 
20
22
  <Global />
21
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|------------------------------|
31
+ | Microsoft Graph | ReportSettings.ReadWrite.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|------------------------------|
38
+ | Microsoft Graph | ReportSettings.ReadWrite.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
22
43
  ## Examples
23
44
 
24
45
  Configure the tenant to display concealed user information in Microsoft 365 reports
@@ -21,6 +21,25 @@ m365 tenant security alerts list [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|------------------------|
31
+ | Microsoft Graph | SecurityEvents.Read.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|------------------------|
38
+ | Microsoft Graph | SecurityEvents.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Get all security alerts for a tenant
@@ -24,6 +24,25 @@ m365 tenant serviceannouncement health get [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |-----------------|------------------------|
34
+ | Microsoft Graph | ServiceHealth.Read.All |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |-----------------|------------------------|
41
+ | Microsoft Graph | ServiceHealth.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
27
46
  ## Examples
28
47
 
29
48
  Get the health report for the service _Exchange Online_
@@ -21,6 +21,25 @@ m365 tenant serviceannouncement health list [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|------------------------|
31
+ | Microsoft Graph | ServiceHealth.Read.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|------------------------|
38
+ | Microsoft Graph | ServiceHealth.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Get the health report of all subscribed services for a tenant
@@ -21,6 +21,25 @@ m365 tenant serviceannouncement healthissue get [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|------------------------|
31
+ | Microsoft Graph | ServiceHealth.Read.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|------------------------|
38
+ | Microsoft Graph | ServiceHealth.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Gets information about issue with ID _MO226784_
@@ -21,6 +21,25 @@ m365 tenant serviceannouncement healthissue list [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|------------------------|
31
+ | Microsoft Graph | ServiceHealth.Read.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|------------------------|
38
+ | Microsoft Graph | ServiceHealth.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Get service health issues of all services in Microsoft 365
@@ -21,6 +21,25 @@ m365 tenant serviceannouncement message get [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|-------------------------|
31
+ | Microsoft Graph | ServiceMessage.Read.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|-------------------------|
38
+ | Microsoft Graph | ServiceMessage.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Get service update message with ID MC001337
@@ -21,6 +21,25 @@ m365 tenant serviceannouncement message list [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|-------------------------|
31
+ | Microsoft Graph | ServiceMessage.Read.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|-------------------------|
38
+ | Microsoft Graph | ServiceMessage.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Get service update messages of all services in Microsoft 365