@pnp/cli-microsoft365 7.0.0-beta.90ef876 → 7.0.0-beta.e25bf4a

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/dist/Command.js +1 -1
  2. package/dist/cli/Cli.js +23 -8
  3. package/dist/m365/aad/commands/user/user-get.js +7 -1
  4. package/dist/m365/aad/commands/user/user-set.js +20 -20
  5. package/dist/m365/booking/commands/business/business-get.js +14 -15
  6. package/dist/m365/cli/commands/config/config-set.js +1 -1
  7. package/dist/m365/pa/commands/app/app-consent-set.js +2 -2
  8. package/dist/m365/pa/commands/app/app-export.js +3 -3
  9. package/dist/m365/pa/commands/app/app-list.js +5 -5
  10. package/dist/m365/pa/commands/app/app-owner-set.js +115 -0
  11. package/dist/m365/pa/commands/app/app-permission-list.js +104 -0
  12. package/dist/m365/pa/commands.js +2 -0
  13. package/dist/m365/planner/commands/bucket/bucket-add.js +14 -10
  14. package/dist/m365/planner/commands/bucket/bucket-get.js +25 -19
  15. package/dist/m365/planner/commands/bucket/bucket-list.js +14 -10
  16. package/dist/m365/planner/commands/bucket/bucket-remove.js +26 -20
  17. package/dist/m365/planner/commands/bucket/bucket-set.js +26 -28
  18. package/dist/m365/planner/commands/roster/roster-member-add.js +3 -14
  19. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +2 -2
  20. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +2 -2
  21. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +3 -3
  22. package/dist/m365/pp/commands/card/card-clone.js +3 -3
  23. package/dist/m365/pp/commands/card/card-get.js +2 -2
  24. package/dist/m365/pp/commands/card/card-list.js +2 -2
  25. package/dist/m365/pp/commands/card/card-remove.js +3 -3
  26. package/dist/m365/pp/commands/chatbot/chatbot-get.js +2 -2
  27. package/dist/m365/pp/commands/chatbot/chatbot-list.js +3 -3
  28. package/dist/m365/pp/commands/chatbot/chatbot-remove.js +3 -3
  29. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +2 -2
  30. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +2 -2
  31. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +2 -2
  32. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +2 -2
  33. package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +2 -2
  34. package/dist/m365/pp/commands/solution/solution-get.js +2 -2
  35. package/dist/m365/pp/commands/solution/solution-list.js +2 -2
  36. package/dist/m365/pp/commands/solution/solution-publish.js +3 -3
  37. package/dist/m365/pp/commands/solution/solution-publisher-add.js +2 -2
  38. package/dist/m365/pp/commands/solution/solution-publisher-get.js +2 -2
  39. package/dist/m365/pp/commands/solution/solution-publisher-list.js +2 -2
  40. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +3 -3
  41. package/dist/m365/pp/commands/solution/solution-remove.js +3 -3
  42. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +19 -17
  43. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +19 -17
  44. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +35 -34
  45. package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +59 -51
  46. package/dist/m365/spo/commands/file/file-list.js +3 -14
  47. package/dist/m365/spo/commands/folder/folder-remove.js +30 -28
  48. package/dist/m365/spo/commands/list/list-add.js +0 -9
  49. package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +0 -4
  50. package/dist/m365/spo/commands/list/list-retentionlabel-get.js +0 -4
  51. package/dist/m365/spo/commands/list/list-roleassignment-add.js +9 -47
  52. package/dist/m365/spo/commands/list/list-set.js +0 -9
  53. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +4 -4
  54. package/dist/m365/spo/commands/page/page-remove.js +33 -31
  55. package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +25 -23
  56. package/dist/m365/spo/commands/site/site-apppermission-add.js +3 -3
  57. package/dist/m365/spo/commands/site/site-commsite-enable.js +9 -18
  58. package/dist/m365/spo/commands/site/site-set.js +10 -2
  59. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +13 -16
  60. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +80 -2
  61. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +48 -48
  62. package/dist/m365/spo/commands/theme/theme-get.js +1 -2
  63. package/dist/m365/spo/commands/user/user-get.js +5 -5
  64. package/dist/m365/spo/commands.js +0 -2
  65. package/dist/m365/teams/commands/chat/chat-get.js +4 -4
  66. package/dist/m365/teams/commands/chat/chat-member-add.js +117 -0
  67. package/dist/m365/teams/commands/chat/chat-message-send.js +4 -4
  68. package/dist/m365/teams/commands/meeting/meeting-get.js +16 -24
  69. package/dist/m365/teams/commands/meeting/meeting-list.js +2 -15
  70. package/dist/m365/teams/commands/team/team-app-list.js +1 -1
  71. package/dist/m365/teams/commands.js +1 -0
  72. package/dist/utils/spo.js +74 -0
  73. package/docs/docs/_clisettings.mdx +1 -1
  74. package/docs/docs/cmd/_global.mdx +1 -1
  75. package/docs/docs/cmd/aad/user/user-get.mdx +118 -25
  76. package/docs/docs/cmd/aad/user/user-set.mdx +11 -11
  77. package/docs/docs/cmd/pa/app/app-consent-set.mdx +3 -3
  78. package/docs/docs/cmd/pa/app/app-export.mdx +3 -3
  79. package/docs/docs/cmd/pa/app/app-list.mdx +2 -2
  80. package/docs/docs/cmd/pa/app/app-owner-set.mdx +60 -0
  81. package/docs/docs/cmd/pa/app/app-permission-list.mdx +132 -0
  82. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +21 -4
  83. package/docs/docs/cmd/planner/bucket/bucket-get.mdx +22 -5
  84. package/docs/docs/cmd/planner/bucket/bucket-list.mdx +21 -4
  85. package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +21 -4
  86. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +22 -5
  87. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +4 -4
  88. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -4
  89. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-remove.mdx +4 -4
  90. package/docs/docs/cmd/pp/card/card-clone.mdx +6 -6
  91. package/docs/docs/cmd/pp/card/card-get.mdx +6 -6
  92. package/docs/docs/cmd/pp/card/card-list.mdx +4 -4
  93. package/docs/docs/cmd/pp/card/card-remove.mdx +9 -9
  94. package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +6 -6
  95. package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +4 -4
  96. package/docs/docs/cmd/pp/chatbot/chatbot-remove.mdx +4 -4
  97. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +2 -2
  98. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +2 -2
  99. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
  100. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +5 -5
  101. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +5 -5
  102. package/docs/docs/cmd/pp/solution/solution-get.mdx +6 -6
  103. package/docs/docs/cmd/pp/solution/solution-list.mdx +4 -4
  104. package/docs/docs/cmd/pp/solution/solution-publish.mdx +4 -4
  105. package/docs/docs/cmd/pp/solution/solution-publisher-add.mdx +3 -3
  106. package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +6 -6
  107. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +4 -4
  108. package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +5 -5
  109. package/docs/docs/cmd/pp/solution/solution-remove.mdx +9 -9
  110. package/docs/docs/cmd/spo/file/file-list.mdx +6 -10
  111. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  112. package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
  113. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +0 -6
  114. package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +0 -6
  115. package/docs/docs/cmd/spo/list/list-set.mdx +0 -3
  116. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +7 -7
  117. package/docs/docs/cmd/spo/site/site-add.mdx +35 -0
  118. package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +5 -1
  119. package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +14 -0
  120. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +4 -0
  121. package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +68 -0
  122. package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +55 -0
  123. package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +55 -0
  124. package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +4 -0
  125. package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +66 -0
  126. package/docs/docs/cmd/spo/site/site-chrome-set.mdx +4 -0
  127. package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +11 -1
  128. package/docs/docs/cmd/spo/site/site-ensure.mdx +70 -0
  129. package/docs/docs/cmd/spo/site/site-get.mdx +179 -0
  130. package/docs/docs/cmd/spo/site/site-groupify.mdx +54 -0
  131. package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +4 -0
  132. package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +4 -0
  133. package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +5 -1
  134. package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +4 -0
  135. package/docs/docs/cmd/spo/site/site-list.mdx +303 -0
  136. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +80 -0
  137. package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +4 -0
  138. package/docs/docs/cmd/spo/site/site-remove.mdx +4 -0
  139. package/docs/docs/cmd/spo/site/site-rename.mdx +92 -0
  140. package/docs/docs/cmd/spo/site/site-set.mdx +13 -0
  141. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +116 -0
  142. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +125 -0
  143. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +117 -0
  144. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +94 -0
  145. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +4 -0
  146. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +4 -0
  147. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +54 -0
  148. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +4 -0
  149. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +66 -0
  150. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +65 -0
  151. package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +117 -0
  152. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +61 -0
  153. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +60 -0
  154. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +4 -0
  155. package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +75 -0
  156. package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +62 -0
  157. package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +60 -0
  158. package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +4 -0
  159. package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +63 -0
  160. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +53 -0
  161. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +54 -0
  162. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +4 -0
  163. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +4 -0
  164. package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +4 -0
  165. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +35 -0
  166. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +12 -3
  167. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +67 -0
  168. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +4 -0
  169. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +50 -0
  170. package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +729 -0
  171. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +5 -0
  172. package/docs/docs/cmd/spo/theme/theme-apply.mdx +35 -0
  173. package/docs/docs/cmd/spo/theme/theme-get.mdx +74 -0
  174. package/docs/docs/cmd/spo/theme/theme-list.mdx +52 -0
  175. package/docs/docs/cmd/spo/theme/theme-remove.mdx +4 -0
  176. package/docs/docs/cmd/spo/theme/theme-set.mdx +4 -0
  177. package/docs/docs/cmd/spo/user/user-get.mdx +6 -6
  178. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +66 -0
  179. package/npm-shrinkwrap.json +212 -212
  180. package/package.json +10 -10
@@ -311,3 +311,8 @@ Disable comments on list items for SharePoint and Microsoft Lists
311
311
  ```sh
312
312
  m365 spo tenant settings set --CommentsOnListItemsDisabled true
313
313
  ```
314
+
315
+ ```
316
+ ## Response
317
+
318
+ The command won't return a response on success.
@@ -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 theme apply
4
6
 
@@ -49,6 +51,39 @@ Apply a standard SharePoint theme to the specified site
49
51
  m365 spo theme apply --name Blue --webUrl https://contoso.sharepoint.com/sites/project-x --sharePointTheme
50
52
  ```
51
53
 
54
+ ## Response
55
+
56
+ <Tabs>
57
+ <TabItem value="JSON">
58
+
59
+ ```json
60
+ "/sites/team1/_catalogs/theme/Themed/BFCFD35C"
61
+ ```
62
+
63
+ </TabItem>
64
+ <TabItem value="Text">
65
+
66
+ ```text
67
+ /sites/team1/_catalogs/theme/Themed/BFCFD35C
68
+ ```
69
+
70
+ </TabItem>
71
+ <TabItem value="CSV">
72
+
73
+ ```csv
74
+ /sites/team1/_catalogs/theme/Themed/BFCFD35C
75
+ ```
76
+
77
+ </TabItem>
78
+ <TabItem value="Markdown">
79
+
80
+ ```md
81
+ /sites/team1/_catalogs/theme/Themed/BFCFD35C
82
+ ```
83
+
84
+ </TabItem>
85
+ </Tabs>
86
+
52
87
  ## More information
53
88
 
54
89
  - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
@@ -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 theme get
4
6
 
@@ -35,6 +37,78 @@ Get information about a theme
35
37
  m365 spo theme get --name Contoso-Blue
36
38
  ```
37
39
 
40
+ ## Response
41
+
42
+ <Tabs>
43
+ <TabItem value="JSON">
44
+
45
+ ```json
46
+ {
47
+ "IsInverted": false,
48
+ "Name": "Contoso-Blue",
49
+ "Palette": {
50
+ "themePrimary": "#d81e05",
51
+ "themeLighterAlt": "#fdf5f4",
52
+ "themeLighter": "#f9d6d2",
53
+ "themeLight": "#f4b4ac",
54
+ "themeTertiary": "#e87060",
55
+ "themeSecondary": "#dd351e",
56
+ "themeDarkAlt": "#c31a04",
57
+ "themeDark": "#a51603",
58
+ "themeDarker": "#791002",
59
+ "neutralLighterAlt": "#eeeeee",
60
+ "neutralLighter": "#f5f5f5",
61
+ "neutralLight": "#e1e1e1",
62
+ "neutralQuaternaryAlt": "#d1d1d1",
63
+ "neutralQuaternary": "#c8c8c8",
64
+ "neutralTertiaryAlt": "#c0c0c0",
65
+ "neutralTertiary": "#c2c2c2",
66
+ "neutralSecondary": "#858585",
67
+ "neutralPrimaryAlt": "#4b4b4b",
68
+ "neutralPrimary": "#333333",
69
+ "neutralDark": "#272727",
70
+ "black": "#1d1d1d",
71
+ "white": "#f5f5f5"
72
+ }
73
+ }
74
+ ```
75
+
76
+ </TabItem>
77
+ <TabItem value="Text">
78
+
79
+ ```text
80
+ IsInverted: false
81
+ Name : Contoso-Blue
82
+ Palette : {"themePrimary":"#d81e05","themeLighterAlt":"#fdf5f4","themeLighter":"#f9d6d2","themeLight":"#f4b4ac","themeTertiary":"#e87060","themeSecondary":"#dd351e","themeDarkAlt":"#c31a04","themeDark":"#a51603","themeDarker":"#791002","neutralLighterAlt":"#eeeeee","neutralLighter":"#f5f5f5","neutralLight":"#e1e1e1","neutralQuaternaryAlt":"#d1d1d1","neutralQuaternary":"#c8c8c8","neutralTertiaryAlt":"#c0c0c0","neutralTertiary":"#c2c2c2","neutralSecondary":"#858585","neutralPrimaryAlt":"#4b4b4b","neutralPrimary":"#333333","neutralDark":"#272727","black":"#1d1d1d","white":"#f5f5f5"}
83
+ ```
84
+
85
+ </TabItem>
86
+ <TabItem value="CSV">
87
+
88
+ ```csv
89
+ IsInverted,Name
90
+ ,Contoso-Blue
91
+ ```
92
+
93
+ </TabItem>
94
+ <TabItem value="Markdown">
95
+
96
+ ```md
97
+ # spo theme get --name "Contoso-Blue"
98
+
99
+ Date: 2023-06-22
100
+
101
+ ## Contoso-Blue
102
+
103
+ Property | Value
104
+ ---------|-------
105
+ IsInverted | false
106
+ Name | Contoso-Blue
107
+ ```
108
+
109
+ </TabItem>
110
+ </Tabs>
111
+
38
112
  ## More information
39
113
 
40
114
  - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
@@ -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 theme list
4
6
 
@@ -30,6 +32,56 @@ List available themes
30
32
  m365 spo theme list
31
33
  ```
32
34
 
35
+ ## Response
36
+
37
+ <Tabs>
38
+ <TabItem value="JSON">
39
+
40
+ ```json
41
+ [
42
+ {
43
+ "name": "Contoso-Blue",
44
+ "themeJson": "{\"isInverted\":false,\"name\":\"Contoso-Blue\",\"palette\":{\"themePrimary\":\"#d81e05\",\"themeLighterAlt\":\"#fdf5f4\",\"themeLighter\":\"#f9d6d2\",\"themeLight\":\"#f4b4ac\",\"themeTertiary\":\"#e87060\",\"themeSecondary\":\"#dd351e\",\"themeDarkAlt\":\"#c31a04\",\"themeDark\":\"#a51603\",\"themeDarker\":\"#791002\",\"neutralLighterAlt\":\"#eeeeee\",\"neutralLighter\":\"#f5f5f5\",\"neutralLight\":\"#e1e1e1\",\"neutralQuaternaryAlt\":\"#d1d1d1\",\"neutralQuaternary\":\"#c8c8c8\",\"neutralTertiaryAlt\":\"#c0c0c0\",\"neutralTertiary\":\"#c2c2c2\",\"neutralSecondary\":\"#858585\",\"neutralPrimaryAlt\":\"#4b4b4b\",\"neutralPrimary\":\"#333333\",\"neutralDark\":\"#272727\",\"black\":\"#1d1d1d\",\"white\":\"#f5f5f5\"}}"
45
+ }
46
+ ]
47
+ ```
48
+
49
+ </TabItem>
50
+ <TabItem value="Text">
51
+
52
+ ```text
53
+ name
54
+ --------------
55
+ Contoso-Blue
56
+ ```
57
+
58
+ </TabItem>
59
+ <TabItem value="CSV">
60
+
61
+ ```csv
62
+ name,themeJson
63
+ Contoso-Blue,"{""isInverted"":false,""name"":""Contoso-Blue"",""palette"":{""themePrimary"":""#d81e05"",""themeLighterAlt"":""#fdf5f4"",""themeLighter"":""#f9d6d2"",""themeLight"":""#f4b4ac"",""themeTertiary"":""#e87060"",""themeSecondary"":""#dd351e"",""themeDarkAlt"":""#c31a04"",""themeDark"":""#a51603"",""themeDarker"":""#791002"",""neutralLighterAlt"":""#eeeeee"",""neutralLighter"":""#f5f5f5"",""neutralLight"":""#e1e1e1"",""neutralQuaternaryAlt"":""#d1d1d1"",""neutralQuaternary"":""#c8c8c8"",""neutralTertiaryAlt"":""#c0c0c0"",""neutralTertiary"":""#c2c2c2"",""neutralSecondary"":""#858585"",""neutralPrimaryAlt"":""#4b4b4b"",""neutralPrimary"":""#333333"",""neutralDark"":""#272727"",""black"":""#1d1d1d"",""white"":""#f5f5f5""}}"
64
+ ```
65
+
66
+ </TabItem>
67
+ <TabItem value="Markdown">
68
+
69
+ ```md
70
+ # spo theme list
71
+
72
+ Date: 2023-06-22
73
+
74
+ ## Contoso-Blue
75
+
76
+ Property | Value
77
+ ---------|-------
78
+ name | Contoso-Blue
79
+ themeJson | {"isInverted":false,"name":"Contoso-Blue","palette":{"themePrimary":"#d81e05","themeLighterAlt":"#fdf5f4","themeLighter":"#f9d6d2","themeLight":"#f4b4ac","themeTertiary":"#e87060","themeSecondary":"#dd351e","themeDarkAlt":"#c31a04","themeDark":"#a51603","themeDarker":"#791002","neutralLighterAlt":"#eeeeee","neutralLighter":"#f5f5f5","neutralLight":"#e1e1e1","neutralQuaternaryAlt":"#d1d1d1","neutralQuaternary":"#c8c8c8","neutralTertiaryAlt":"#c0c0c0","neutralTertiary":"#c2c2c2","neutralSecondary":"#858585","neutralPrimaryAlt":"#4b4b4b","neutralPrimary":"#333333","neutralDark":"#272727","black":"#1d1d1d","white":"#f5f5f5"}}
80
+ ```
81
+
82
+ </TabItem>
83
+ </Tabs>
84
+
33
85
  ## More information
34
86
 
35
87
  - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
@@ -44,6 +44,10 @@ Remove theme without prompting for confirmation
44
44
  m365 spo theme remove --name Contoso-Blue --force
45
45
  ```
46
46
 
47
+ ## Response
48
+
49
+ The command won't return a response on success.
50
+
47
51
  ## More information
48
52
 
49
53
  - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
@@ -85,6 +85,10 @@ Add or update an inverted theme from a theme JSON file
85
85
  m365 spo theme set --name Contoso-Blue --theme @/Users/rjesh/themes/contoso-blue.json --isInverted
86
86
  ```
87
87
 
88
+ ## Response
89
+
90
+ The command won't return a response on success.
91
+
88
92
  ## More information
89
93
 
90
94
  - SharePoint site theming: [https://docs.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
@@ -19,13 +19,13 @@ m365 spo user get [options]
19
19
  : URL of the web to get the user within
20
20
 
21
21
  `-i, --id [id]`
22
- : ID of the user to retrieve information for. Use either `email`, `id` or `loginName`, but not all.
22
+ : ID of the user to retrieve information for. Use either `email`, `id` or `userName`, but not all.
23
23
 
24
24
  `--email [email]`
25
- : Email of the user to retrieve information for. Use either `email`, `id` or `loginName`, but not all.
25
+ : Email of the user to retrieve information for. Use either `email`, `id` or `userName`, but not all.
26
26
 
27
- `--loginName [loginName]`
28
- : Login name of the user to retrieve information for. Use either `email`, `id` or `loginName`, but not all.
27
+ `--userName [userName]`
28
+ : Login name of the user to retrieve information for. Use either `email`, `id` or `userName`, but not all.
29
29
  ```
30
30
 
31
31
  <Global />
@@ -47,7 +47,7 @@ m365 spo user get --webUrl https://contoso.sharepoint.com/sites/project-x --id 6
47
47
  Get user with login name 'i:0#.f|membership|john.doe@mytenant.onmicrosoft.com' for a web
48
48
 
49
49
  ```sh
50
- m365 spo user get --webUrl https://contoso.sharepoint.com/sites/project-x --loginName "i:0#.f|membership|john.doe@mytenant.onmicrosoft.com"
50
+ m365 spo user get --webUrl https://contoso.sharepoint.com/sites/project-x --userName "i:0#.f|membership|john.doe@mytenant.onmicrosoft.com"
51
51
  ```
52
52
 
53
53
  ## Response
@@ -105,7 +105,7 @@ m365 spo user get --webUrl https://contoso.sharepoint.com/sites/project-x --logi
105
105
  <TabItem value="Markdown">
106
106
 
107
107
  ```md
108
- # spo user get --webUrl "https://contoso.sharepoint.com" --loginName "i:0#.f|membership|john.doe@contoso.onmicrosoft.com"
108
+ # spo user get --webUrl "https://contoso.sharepoint.com" --userName "i:0#.f|membership|john.doe@contoso.onmicrosoft.com"
109
109
 
110
110
  Date: 4/10/2023
111
111
 
@@ -0,0 +1,66 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # teams chat member add
4
+
5
+ Adds a member to a Microsoft Teams chat conversation.
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 teams chat member add [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-i, --chatId <chatId>`
17
+ : The ID of the chat conversation.
18
+
19
+ `--userId [userId]`
20
+ : The ID of the user. Specify either `userId` or `userName` but not both.
21
+
22
+ `--userName [userName]`
23
+ : User's UPN (user principal name, e.g. johndoe@example.com). Specify either `userId` or `userName` but not both.
24
+
25
+ `--role [role]`
26
+ : The role for the user to add. Valid values are: `owner`, `guest`. Defaults to `owner`.
27
+
28
+ `--visibleHistoryStartDateTime [visibleHistoryStartDateTime]`
29
+ : Include chat history until a certain point in time. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, or neither.
30
+
31
+ `--includeAllHistory`
32
+ : Include all chat history. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, or neither.
33
+ ```
34
+
35
+ <Global />
36
+
37
+ ## Remarks
38
+
39
+ When you specify a value for `role`, consider the following:
40
+
41
+ - `owner` can only be used for internal users.
42
+ - `guest` can only be used for guest users.
43
+
44
+ ## Examples
45
+
46
+ Add a member by ID to a Teams chat without sharing any chat history.
47
+
48
+ ```sh
49
+ m365 teams chat member add --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --userId bd94e214-7852-48b0-a326-5a34b2a02183
50
+ ```
51
+
52
+ Add a member by UPN to a Teams chat and share chat history until a specific point in time.
53
+
54
+ ```sh
55
+ m365 teams chat member add --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --userName john.doe@contoso.com --visibleHistoryStartDateTime 2023-05-03T12:00:00Z
56
+ ```
57
+
58
+ Add a guest member by UPN to a Teams chat and share all chat history.
59
+
60
+ ```sh
61
+ m365 teams chat member add --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --userName nelson.wilke@fabrikam.com --role guest --includeAllHistory
62
+ ```
63
+
64
+ ## Response
65
+
66
+ The command won't return a response on success.