@pnp/cli-microsoft365 6.4.0-beta.3946b02 → 6.4.0-beta.91f8cd3

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 (105) hide show
  1. package/README.md +12 -1
  2. package/dist/m365/aad/commands/user/user-get.js +3 -0
  3. package/dist/m365/aad/commands/user/user-set.js +3 -0
  4. package/dist/m365/aad/commands/user/user-signin-list.js +3 -0
  5. package/dist/m365/flow/commands/owner/owner-add.js +147 -0
  6. package/dist/m365/flow/commands/owner/owner-remove.js +147 -0
  7. package/dist/m365/flow/commands/run/run-list.js +5 -2
  8. package/dist/m365/flow/commands.js +2 -0
  9. package/dist/m365/planner/commands/roster/roster-member-add.js +3 -0
  10. package/dist/m365/planner/commands/roster/roster-member-get.js +98 -0
  11. package/dist/m365/planner/commands.js +1 -0
  12. package/dist/m365/spfx/commands/spfx-doctor.js +43 -29
  13. package/dist/m365/spo/commands/customaction/customaction-get.js +27 -7
  14. package/dist/m365/spo/commands/file/file-move.js +1 -1
  15. package/dist/m365/spo/commands/list/list-add.js +11 -8
  16. package/dist/m365/spo/commands/list/list-set.js +3 -3
  17. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +118 -0
  18. package/dist/m365/spo/commands.js +1 -0
  19. package/dist/utils/aadGroup.js +18 -0
  20. package/dist/utils/md.js +7 -0
  21. package/dist/utils/spo.js +14 -0
  22. package/docs/docs/cmd/flow/owner/owner-add.md +61 -0
  23. package/docs/docs/cmd/flow/owner/owner-remove.md +67 -0
  24. package/docs/docs/cmd/flow/run/run-list.md +28 -0
  25. package/docs/docs/cmd/onenote/page/page-list.md +1 -1
  26. package/docs/docs/cmd/outlook/mail/mail-send.md +4 -0
  27. package/docs/docs/cmd/outlook/message/message-get.md +143 -0
  28. package/docs/docs/cmd/outlook/message/message-list.md +119 -0
  29. package/docs/docs/cmd/outlook/message/message-move.md +4 -0
  30. package/docs/docs/cmd/outlook/report/report-mailactivitycounts.md +40 -0
  31. package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.md +40 -0
  32. package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.md +45 -0
  33. package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.md +43 -0
  34. package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.md +44 -0
  35. package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.md +48 -0
  36. package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.md +41 -0
  37. package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.md +49 -0
  38. package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.md +37 -0
  39. package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.md +40 -0
  40. package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.md +36 -0
  41. package/docs/docs/cmd/outlook/room/room-list.md +81 -0
  42. package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +58 -0
  43. package/docs/docs/cmd/planner/plan/plan-add.md +3 -3
  44. package/docs/docs/cmd/planner/plan/plan-set.md +73 -7
  45. package/docs/docs/cmd/planner/roster/roster-add.md +16 -1
  46. package/docs/docs/cmd/planner/roster/roster-member-get.md +87 -0
  47. package/docs/docs/cmd/planner/task/task-add.md +230 -0
  48. package/docs/docs/cmd/planner/task/task-checklistitem-add.md +55 -0
  49. package/docs/docs/cmd/planner/task/task-checklistitem-list.md +55 -0
  50. package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +4 -0
  51. package/docs/docs/cmd/planner/task/task-get.md +131 -0
  52. package/docs/docs/cmd/planner/task/task-list.md +92 -0
  53. package/docs/docs/cmd/planner/task/task-reference-add.md +46 -0
  54. package/docs/docs/cmd/planner/task/task-reference-list.md +46 -0
  55. package/docs/docs/cmd/planner/task/task-reference-remove.md +4 -0
  56. package/docs/docs/cmd/planner/task/task-remove.md +4 -0
  57. package/docs/docs/cmd/planner/task/task-set.md +230 -0
  58. package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +55 -0
  59. package/docs/docs/cmd/planner/tenant/tenant-settings-set.md +55 -0
  60. package/docs/docs/cmd/pp/card/card-get.md +2 -2
  61. package/docs/docs/cmd/pp/card/card-list.md +2 -2
  62. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +7 -7
  63. package/docs/docs/cmd/skype/report/report-activitycounts.md +38 -0
  64. package/docs/docs/cmd/skype/report/report-activityusercounts.md +38 -0
  65. package/docs/docs/cmd/skype/report/report-activityuserdetail.md +67 -0
  66. package/docs/docs/cmd/spo/customaction/customaction-get.md +113 -11
  67. package/docs/docs/cmd/spo/list/list-add.md +2 -2
  68. package/docs/docs/cmd/spo/list/list-set.md +2 -2
  69. package/docs/docs/cmd/spo/listitem/listitem-add.md +1 -1
  70. package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +1 -1
  71. package/docs/docs/cmd/spo/listitem/listitem-set.md +1 -1
  72. package/docs/docs/cmd/spo/site/site-set.md +2 -2
  73. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.md +142 -0
  74. package/docs/docs/cmd/spo/term/term-list.md +1 -1
  75. package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
  76. package/docs/docs/cmd/teams/message/message-get.md +39 -4
  77. package/docs/docs/cmd/teams/message/message-list.md +41 -6
  78. package/docs/docs/cmd/teams/message/message-reply-list.md +39 -4
  79. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +20 -2
  80. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +8 -8
  81. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +12 -5
  82. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +13 -6
  83. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +14 -7
  84. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +13 -6
  85. package/docs/docs/cmd/teams/report/report-pstncalls.md +13 -6
  86. package/docs/docs/cmd/teams/report/report-useractivitycounts.md +13 -6
  87. package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +13 -6
  88. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +13 -6
  89. package/docs/docs/cmd/teams/tab/tab-add.md +16 -0
  90. package/docs/docs/cmd/teams/tab/tab-get.md +17 -0
  91. package/docs/docs/cmd/teams/tab/tab-list.md +19 -0
  92. package/docs/docs/cmd/teams/team/team-add.md +77 -8
  93. package/docs/docs/cmd/teams/team/team-app-list.md +18 -2
  94. package/docs/docs/cmd/teams/team/team-archive.md +2 -2
  95. package/docs/docs/cmd/teams/team/team-clone.md +8 -8
  96. package/docs/docs/cmd/teams/team/team-get.md +34 -4
  97. package/docs/docs/cmd/teams/team/team-list.md +34 -3
  98. package/docs/docs/cmd/teams/team/team-remove.md +3 -3
  99. package/docs/docs/cmd/teams/team/team-set.md +8 -8
  100. package/docs/docs/cmd/teams/team/team-unarchive.md +3 -2
  101. package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
  102. package/docs/docs/cmd/teams/user/user-app-list.md +18 -2
  103. package/docs/docs/cmd/teams/user/user-app-remove.md +4 -4
  104. package/docs/docs/cmd/teams/user/user-list.md +21 -4
  105. package/package.json +1 -1
@@ -11,10 +11,13 @@ m365 spo customaction get [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --id [id]`
14
- : ID of the user custom action to retrieve information for. Specify either `id` or `title`
14
+ : ID of the user custom action to retrieve information for. Specify either `id`, `title` or `clientSideComponentId`
15
15
 
16
16
  `-t, --title [title]`
17
- : Title of the user custom action to retrieve information for. Specify either `id` or `title`
17
+ : Title of the user custom action to retrieve information for. Specify either `id`, `title` or `clientSideComponentId`
18
+
19
+ `-c, --clientSideComponentId [clientSideComponentId]`
20
+ : clientSideComponentId of the user custom action to retrieve information for. Specify either `id`, `title` or `clientSideComponentId`
18
21
 
19
22
  `-u, --webUrl <webUrl>`
20
23
  : Url of the site or site collection to retrieve the custom action from
@@ -26,34 +29,133 @@ m365 spo customaction get [options]
26
29
 
27
30
  ## Remarks
28
31
 
29
- If the command finds multiple user custom actions with the specified title, it will prompt you to disambiguate which user custom action it should use, listing the discovered IDs.
32
+ If the command finds multiple user custom actions with the specified `title` or `clientSideComponentId`, it will prompt you to disambiguate which user custom action it should get, listing the discovered IDs.
30
33
 
31
34
  ## Examples
32
35
 
33
- Return details about the user custom action with ID _058140e3-0e37-44fc-a1d3-79c487d371a3_ located in site or site collection _https://contoso.sharepoint.com/sites/test_
36
+ Return details about the user custom action based on the id and a given url
34
37
 
35
38
  ```sh
36
39
  m365 spo customaction get --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --webUrl https://contoso.sharepoint.com/sites/test
37
40
  ```
38
41
 
39
- Return details about the user custom action with Title _YourAppCustomizer_ located in site or site collection _https://contoso.sharepoint.com/sites/test_
42
+ Return details about the user custom action based on the title and a given url
40
43
 
41
44
  ```sh
42
45
  m365 spo customaction get --title "YourAppCustomizer" --webUrl https://contoso.sharepoint.com/sites/test
43
46
  ```
44
47
 
45
- Return details about the user custom action with ID _058140e3-0e37-44fc-a1d3-79c487d371a3_ located in site collection _https://contoso.sharepoint.com/sites/test_
48
+ Return details about the user custom action based on the clientSideComponentId and a given url
49
+
50
+ ```sh
51
+ m365 spo customaction get --clientSideComponentId "34a019f9-6198-4053-a3b6-fbdea9a107fd" --webUrl https://contoso.sharepoint.com/sites/test
52
+ ```
53
+
54
+ Return details about the user custom action based on the id and a given url and the scope
46
55
 
47
56
  ```sh
48
- m365 spo customaction get --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --webUrl https://contoso.sharepoint.com/sites/test --scope Site
57
+ m365 spo customaction get --id "058140e3-0e37-44fc-a1d3-79c487d371a3" --webUrl https://contoso.sharepoint.com/sites/test --scope Site
49
58
  ```
50
59
 
51
- Return details about the user custom action with ID _058140e3-0e37-44fc-a1d3-79c487d371a3_ located in site _https://contoso.sharepoint.com/sites/test_
60
+ Return details about the user custom action based on the id and a given url and the scope
52
61
 
53
62
  ```sh
54
- m365 spo customaction get --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --webUrl https://contoso.sharepoint.com/sites/test --scope Web
63
+ m365 spo customaction get --id "058140e3-0e37-44fc-a1d3-79c487d371a3" --webUrl https://contoso.sharepoint.com/sites/test --scope Web
55
64
  ```
56
65
 
57
- ## More information
66
+ Return details about the user custom action based on the id and a given url and the scope
67
+
68
+ ```sh
69
+ m365 spo customaction get --id "058140e3-0e37-44fc-a1d3-79c487d371a3" --webUrl https://contoso.sharepoint.com/sites/test --scope Web
70
+ ```
58
71
 
59
- - UserCustomAction REST API resources: [https://msdn.microsoft.com/en-us/library/office/dn531432.aspx#bk_UserCustomAction](https://msdn.microsoft.com/en-us/library/office/dn531432.aspx#bk_UserCustomAction)
72
+ ## Response
73
+
74
+ === "JSON"
75
+
76
+ ```json
77
+ {
78
+ "ClientSideComponentId": "34a019f9-6198-4053-a3b6-fbdea9a107fd",
79
+ "ClientSideComponentProperties": "{\"sampleTextOne\":\"One item is selected in the list.\", \"sampleTextTwo\":\"This command is always visible.\"}",
80
+ "CommandUIExtension": null,
81
+ "Description": null,
82
+ "Group": null,
83
+ "Id": "158cb0d1-8703-4a36-866d-84aed8233bd3",
84
+ "ImageUrl": null,
85
+ "Location": "ClientSideExtension.ListViewCommandSet.CommandBar",
86
+ "Name": "{158cb0d1-8703-4a36-866d-84aed8233bd3}",
87
+ "RegistrationId": "100",
88
+ "RegistrationType": 1,
89
+ "Rights": "{\"High\":0,\"Low\":0}",
90
+ "Scope": "Web",
91
+ "ScriptBlock": null,
92
+ "ScriptSrc": null,
93
+ "Sequence": 65536,
94
+ "Title": "ExtensionTraining",
95
+ "Url": null,
96
+ "VersionOfUserCustomAction": "1.0.1.0"
97
+ }
98
+ ```
99
+
100
+ === "Text"
101
+
102
+ ```text
103
+ ClientSideComponentId : 34a019f9-6198-4053-a3b6-fbdea9a107fd
104
+ ClientSideComponentProperties: {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
105
+ CommandUIExtension : null
106
+ Description : null
107
+ Group : null
108
+ Id : 158cb0d1-8703-4a36-866d-84aed8233bd3
109
+ ImageUrl : null
110
+ Location : ClientSideExtension.ListViewCommandSet.CommandBar
111
+ Name : {158cb0d1-8703-4a36-866d-84aed8233bd3}
112
+ RegistrationId : 100
113
+ RegistrationType : 1
114
+ Rights : {"High":0,"Low":0}
115
+ Scope : Web
116
+ ScriptBlock : null
117
+ ScriptSrc : null
118
+ Sequence : 65536
119
+ Title : ExtensionTraining
120
+ Url : null
121
+ VersionOfUserCustomAction : 1.0.1.0
122
+ ```
123
+
124
+ === "CSV"
125
+
126
+ ```csv
127
+ ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Rights,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
128
+ 34a019f9-6198-4053-a3b6-fbdea9a107fd,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",,,,158cb0d1-8703-4a36-866d-84aed8233bd3,,ClientSideExtension.ListViewCommandSet.CommandBar,{158cb0d1-8703-4a36-866d-84aed8233bd3},100,1,"{""High"":0,""Low"":0}",Web,,,65536,ExtensionTraining,,1.0.1.0
129
+ ```
130
+
131
+ === "Markdown"
132
+
133
+ ```md
134
+ # spo customaction get --webUrl "https://contoso.sharepoint.com" --clientSideComponentId "34a019f9-6198-4053-a3b6-fbdea9a107fd" --scope "Web"
135
+
136
+ Date: 27/1/2023
137
+
138
+ ## ExtensionTraining (158cb0d1-8703-4a36-866d-84aed8233bd3)
139
+
140
+ Property | Value
141
+ ---------|-------
142
+ ClientSideComponentId | 34a019f9-6198-4053-a3b6-fbdea9a107fd
143
+ ClientSideComponentProperties | {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
144
+ CommandUIExtension | null
145
+ Description | null
146
+ Group | null
147
+ Id | 158cb0d1-8703-4a36-866d-84aed8233bd3
148
+ ImageUrl | null
149
+ Location | ClientSideExtension.ListViewCommandSet.CommandBar
150
+ Name | {158cb0d1-8703-4a36-866d-84aed8233bd3}
151
+ RegistrationId | 100
152
+ RegistrationType | 1
153
+ Rights | {"High":0,"Low":0}
154
+ Scope | Web
155
+ ScriptBlock | null
156
+ ScriptSrc | null
157
+ Sequence | 65536
158
+ Title | ExtensionTraining
159
+ Url | null
160
+ VersionOfUserCustomAction | 1.0.1.0
161
+ ```
@@ -13,8 +13,8 @@ m365 spo list add [options]
13
13
  `-t, --title <title>`
14
14
  : Title of the list to add.
15
15
 
16
- `--baseTemplate <baseTemplate>`
17
- : The list definition type on which the list is based. Allowed values `Announcements`, `Contacts`, `CustomGrid`, `DataSources`,`DiscussionBoard`, `DocumentLibrary`, `Events`, `GanttTasks`, `GenericList`, `IssuesTracking`, `Links`, `NoCodeWorkflows`,`PictureLibrary`, `Survey`, `Tasks`, `WebPageLibrary`, `WorkflowHistory`, `WorkflowProcess`, `XmlForm`. Default `GenericList`.
16
+ `--baseTemplate [baseTemplate]`
17
+ : The list definition type on which the list is based. Allowed values `Announcements`, `Contacts`, `CustomGrid`, `DataSources`,`DiscussionBoard`, `DocumentLibrary`, `Events`, `GanttTasks`, `GenericList`, `IssuesTracking`, `Links`, `NoCodeWorkflows`,`PictureLibrary`, `Survey`, `Tasks`, `WebPageLibrary`, `WorkflowHistory`, `WorkflowProcess`, `XmlForm`. Default value is `GenericList`.
18
18
 
19
19
  `-u, --webUrl <webUrl>`
20
20
  : URL of the site where the list should be added.
@@ -59,7 +59,7 @@ m365 spo list set [options]
59
59
  : Property for assigning or retrieving grid editing on the list. Valid values are `true`, `false`.
60
60
 
61
61
  `--draftVersionVisibility [draftVersionVisibility]`
62
- : Value that specifies the minimum permission required to view minor versions and drafts within the list. Allowed values `Reader`, `Author`, `Approver`. Default `Reader`.
62
+ : Value that specifies the minimum permission required to view minor versions and drafts within the list. Allowed values `Reader`, `Author`, `Approver`.
63
63
 
64
64
  `--emailAlias [emailAlias]`
65
65
  : If e-mail notification is enabled, gets or sets the e-mail address to use tonotify to the owner of an item when an assignment has changed or the item has been updated.
@@ -137,7 +137,7 @@ m365 spo list set [options]
137
137
  : Indicates whether this list should be treated as a top level navigation object or not.
138
138
 
139
139
  `--listExperienceOptions [listExperienceOptions]`
140
- : Gets or sets the list experience for the list. Allowed values `Auto`, `NewExperience`, `ClassicExperience`. Default `Auto`.
140
+ : Gets or sets the list experience for the list. Allowed values `Auto`, `NewExperience`, `ClassicExperience`.
141
141
 
142
142
  `--majorVersionLimit [majorVersionLimit]`
143
143
  : Gets or sets the maximum number of major versions allowed for an item in a document library that uses version control with major versions only.
@@ -59,7 +59,7 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
59
59
  Add an item with Title _Demo Multi Person Field_ and a multi-select people field named _MultiPeopleField_ to list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
60
60
 
61
61
  ```sh
62
- m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|adamb@conotoso.com'}]"
62
+ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|john.doe@conotoso.com'}]"
63
63
  ```
64
64
 
65
65
  Add an item with Title _Demo Hyperlink Field_ and a hyperlink field named _CustomHyperlink_ to list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
@@ -53,7 +53,7 @@ A sample CSV can be found below. The first line of the CSV-file should contain t
53
53
 
54
54
  ```csv
55
55
  ContentType,Title,SingleChoiceField,MultiChoiceField,SingleMetadataField,MultiMetadataField,SinglePeopleField,MultiPeopleField,CustomHyperlink,NumberField
56
- Item,Title A,Choice 1,Choice 1;#Choice 2,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;Finance|f994a4ac-cf34-448e-a22c-2b35fd9bbffa;,[{'Key':'i:0#.f|membership|markh@contoso.com'}],"[{'Key':'i:0#.f|membership|markh@contoso.com'},{'Key':'i:0#.f|membership|adamb@contoso.com'}]","https://bing.com, URL",5
56
+ Item,Title A,Choice 1,Choice 1;#Choice 2,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;Finance|f994a4ac-cf34-448e-a22c-2b35fd9bbffa;,[{'Key':'i:0#.f|membership|markh@contoso.com'}],"[{'Key':'i:0#.f|membership|markh@contoso.com'},{'Key':'i:0#.f|membership|john.doe@contoso.com'}]","https://bing.com, URL",5
57
57
  ```
58
58
 
59
59
  ## Response
@@ -62,7 +62,7 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
62
62
  Update an item with id _147_ with Title _Demo Multi Person Field_ and a multi-select people field named _MultiPeopleField_ to list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
63
63
 
64
64
  ```sh
65
- m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|adamb@conotoso.com'}]"
65
+ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|john.doe@conotoso.com'}]"
66
66
  ```
67
67
 
68
68
  Update the field _Title_ and _CustomHyperlink_ of an item with a specific id in a list retrieved by server-relative URL in a specific site
@@ -159,13 +159,13 @@ m365 spo site set --url https://contoso.sharepoint.com/sites/sales --sharingCapa
159
159
  Set the logo on the site
160
160
 
161
161
  ```sh
162
- m365 spo site set --url https://estruyfdev2.sharepoint.com/sites/sales --siteLogoUrl "/sites/sales/SiteAssets/parker-ms-1200.png"
162
+ m365 spo site set --url https://contoso.sharepoint.com/sites/sales --siteLogoUrl "/sites/sales/SiteAssets/parker-ms-1200.png"
163
163
  ```
164
164
 
165
165
  Unset the logo on the site
166
166
 
167
167
  ```sh
168
- m365 spo site set --url https://estruyfdev2.sharepoint.com/sites/sales --siteLogoUrl ""
168
+ m365 spo site set --url https://contoso.sharepoint.com/sites/sales --siteLogoUrl ""
169
169
  ```
170
170
 
171
171
  Lock the site preventing users from accessing it. Wait for the configuration to complete
@@ -0,0 +1,142 @@
1
+ # spo tenant applicationcustomizer get
2
+
3
+ Get an application customizer that is installed tenant wide
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ spo tenant applicationcustomizer get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-t, --title [title]`
14
+ : The title of the application customizer. Specify either `title`, `id`, or `clientSideComponentId`.
15
+
16
+ `-i, --id [id]`
17
+ : The product id of the application customizer. Specify either `title`, `id`, or `clientSideComponentId`.
18
+
19
+ `-c, --clientSideComponentId [clientSideComponentId]`
20
+ : The Client Side Component Id (GUID) of the application customizer. Specify either `title`, `id`, or `clientSideComponentId`.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ Retrieves an application customizer by title.
27
+
28
+ ```sh
29
+ m365 spo tenant applicationcustomizer get --title "Some customizer"
30
+ ```
31
+
32
+ Retrieves an application customizer by id.
33
+
34
+ ```sh
35
+ m365 spo tenant applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337
36
+ ```
37
+
38
+ Retrieves an application customizer by clientSideComponentId.
39
+
40
+ ```sh
41
+ m365 spo tenant applicationcustomizer get --clientSideComponentId 7096cded-b83d-4eab-96f0-df477ed7c0bc
42
+ ```
43
+
44
+ ## Response
45
+
46
+ === "JSON"
47
+
48
+ ```json
49
+ {
50
+ "FileSystemObjectType": 0,
51
+ "Id": 4,
52
+ "ServerRedirectedEmbedUri": null,
53
+ "ServerRedirectedEmbedUrl": "",
54
+ "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
55
+ "Title": "Some customizer",
56
+ "Modified": "2023-01-11T15:47:38Z",
57
+ "Created": "2023-01-11T15:47:38Z",
58
+ "AuthorId": 9,
59
+ "EditorId": 9,
60
+ "OData__UIVersionString": "1.0",
61
+ "Attachments": false,
62
+ "GUID": "14125658-a9bc-4ddf-9c75-1b5767c9a337",
63
+ "ComplianceAssetId": null,
64
+ "TenantWideExtensionComponentId": "7096cded-b83d-4eab-96f0-df477ed7c0bc",
65
+ "TenantWideExtensionComponentProperties": "{\"testMessage\":\"Test message\"}",
66
+ "TenantWideExtensionWebTemplate": null,
67
+ "TenantWideExtensionListTemplate": 0,
68
+ "TenantWideExtensionLocation": "ClientSideExtension.ApplicationCustomizer",
69
+ "TenantWideExtensionSequence": 0,
70
+ "TenantWideExtensionHostProperties": null,
71
+ "TenantWideExtensionDisabled": false
72
+ }
73
+ ```
74
+
75
+ === "Text"
76
+
77
+ ```text
78
+ Attachments : false
79
+ AuthorId : 9
80
+ ComplianceAssetId : null
81
+ ContentTypeId : 0x00693E2C487575B448BD420C12CEAE7EFE
82
+ Created : 2023-01-11T15:47:38Z
83
+ EditorId : 9
84
+ FileSystemObjectType : 0
85
+ GUID : 14125658-a9bc-4ddf-9c75-1b5767c9a337
86
+ Id : 4
87
+ Modified : 2023-01-11T15:47:38Z
88
+ OData__UIVersionString : 1.0
89
+ ServerRedirectedEmbedUri : null
90
+ ServerRedirectedEmbedUrl :
91
+ TenantWideExtensionComponentId : 7096cded-b83d-4eab-96f0-df477ed7c0bc
92
+ TenantWideExtensionComponentProperties: {"testMessage":"Test message"}
93
+ TenantWideExtensionDisabled : false
94
+ TenantWideExtensionHostProperties : null
95
+ TenantWideExtensionListTemplate : 0
96
+ TenantWideExtensionLocation : ClientSideExtension.ApplicationCustomizer
97
+ TenantWideExtensionSequence : 0
98
+ TenantWideExtensionWebTemplate : null
99
+ Title : Some customizer
100
+ ```
101
+
102
+ === "CSV"
103
+
104
+ ```csv
105
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
106
+ 0,4,,,0x00693E2C487575B448BD420C12CEAE7EFE,Some customizer,2023-01-11T15:47:38Z,2023-01-11T15:47:38Z,9,9,1.0,,14125658-a9bc-4ddf-9c75-1b5767c9a337,,7096cded-b83d-4eab-96f0-df477ed7c0bc,"{""testMessage"":""Test message""}",,0,ClientSideExtension.ApplicationCustomizer,0,,
107
+ ```
108
+
109
+ === "Markdown"
110
+
111
+ ```md
112
+ # spo tenant applicationcustomizer get --title "Some customizer"
113
+
114
+ Date: 1/13/2023
115
+
116
+ ## Some customizer (4)
117
+
118
+ Property | Value
119
+ ---------|-------
120
+ FileSystemObjectType | 0
121
+ Id | 4
122
+ ServerRedirectedEmbedUri | null
123
+ ServerRedirectedEmbedUrl |
124
+ ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
125
+ Title | Some customizer
126
+ Modified | 2023-01-11T15:47:38Z
127
+ Created | 2023-01-11T15:47:38Z
128
+ AuthorId | 9
129
+ EditorId | 9
130
+ OData\_\_UIVersionString | 1.0
131
+ Attachments | false
132
+ GUID | 14125658-a9bc-4ddf-9c75-1b5767c9a337
133
+ ComplianceAssetId | null
134
+ TenantWideExtensionComponentId | 7096cded-b83d-4eab-96f0-df477ed7c0bc
135
+ TenantWideExtensionComponentProperties | {"testMessage":"Test message"}
136
+ TenantWideExtensionWebTemplate | null
137
+ TenantWideExtensionListTemplate | 0
138
+ TenantWideExtensionLocation | ClientSideExtension.ApplicationCustomizer
139
+ TenantWideExtensionSequence | 0
140
+ TenantWideExtensionHostProperties | null
141
+ TenantWideExtensionDisabled | false
142
+ ```
@@ -145,7 +145,7 @@ When we make use of the option `includeChildTerms` the response will differ.
145
145
  "CustomProperties": {},
146
146
  "CustomSortOrder": null,
147
147
  "IsAvailableForTagging": true,
148
- "Owner": "i:0#.f|membership|admin@mathijsdev2.onmicrosoft.com",
148
+ "Owner": "i:0#.f|membership|admin@contoso.onmicrosoft.com",
149
149
  "Description": "",
150
150
  "IsDeprecated": false,
151
151
  "IsKeyword": false,
@@ -71,7 +71,7 @@ m365 teams channel get --teamName "Team Name" --primary
71
71
  createdDateTime : 2022-10-26T15:43:31.954Z
72
72
  description : This team is about the Contoso
73
73
  displayName : Channel Name
74
- email : TeamName@ordidev.onmicrosoft.com
74
+ email : TeamName@contoso.onmicrosoft.com
75
75
  id : 19:493665404ebd4a18adb8a980a31b4986@thread.tacv2
76
76
  isFavoriteByDefault: null
77
77
  membershipType : standard
@@ -11,13 +11,13 @@ m365 teams message get [options]
11
11
  ## Options
12
12
 
13
13
  `-t, --teamId <teamId>`
14
- : The ID of the team where the channel is located
14
+ : The ID of the team where the channel is located.
15
15
 
16
16
  `-c, --channelId <channelId>`
17
- : The ID of the channel that contains the message
17
+ : The ID of the channel that contains the message.
18
18
 
19
19
  `-i, --id <id>`
20
- : The ID of the message to retrieve
20
+ : The ID of the message to retrieve.
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
@@ -27,7 +27,7 @@ You can only retrieve a message from a Microsoft Teams team if you are a member
27
27
 
28
28
  ## Examples
29
29
 
30
- Retrieve the specified message from a channel of the Microsoft Teams team
30
+ Retrieve the specified message from a channel of the Microsoft Teams team.
31
31
 
32
32
  ```sh
33
33
  m365 teams message get --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --id 1540747442203
@@ -112,3 +112,38 @@ m365 teams message get --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId
112
112
  id,replyToId,etag,messageType,createdDateTime,lastModifiedDateTime,lastEditedDateTime,deletedDateTime,subject,summary,chatId,importance,locale,webUrl,policyViolation,eventDetail,from,body,channelIdentity,attachments,mentions,reactions
113
113
  1540747442203,,1666799582385,message,2022-10-26T15:52:00.731Z,2022-10-26T15:53:02.385Z,2022-10-26T15:53:02.288Z,,Second message Title,,,normal,en-us,https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1540747442203,,,"{""application"":null,""device"":null,""user"":{""id"":""78ccf530-bbf0-47e4-aae6-da5f8c6fb142"",""displayName"":""John Doe"",""userIdentityType"":""aadUser"",""tenantId"":""92e59666-257b-49c3-b1fa-1bae8107f6ba""}}","{""contentType"":""text"",""content"":""second message!""}","{""teamId"":""5f5d7b71-1161-44d8-bcc1-3da710eb4171"",""channelId"":""19:e2916df2b11046beba42d22da898383f@thread.tacv2""}",[],[],[]
114
114
  ```
115
+
116
+ === "Markdown"
117
+
118
+ ```md
119
+ # teams message get --teamId "5f5d7b71-1161-44d8-bcc1-3da710eb4171" --channelId "19:e2916df2b11046beba42d22da898383f@thread.tacv2" --id "1540747442203"
120
+
121
+ Date: 1/3/2023
122
+
123
+ ## undefined (1540747442203)
124
+
125
+ Property | Value
126
+ ---------|-------
127
+ id | 1540747442203
128
+ replyToId | null
129
+ etag | 1666799582385
130
+ messageType | message
131
+ createdDateTime | 2022-10-26T15:52:00.731Z
132
+ lastModifiedDateTime | 2022-10-26T15:53:02.385Z
133
+ lastEditedDateTime | 2022-10-26T15:53:02.288Z
134
+ deletedDateTime | null
135
+ subject | Second message Title
136
+ summary | null
137
+ chatId | null
138
+ importance | normal
139
+ locale | en-us
140
+ webUrl | https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1540747442203
141
+ policyViolation | null
142
+ eventDetail | null
143
+ from | {"application":null,"device":null,"user":{"id":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","displayName":"John Doe","userIdentityType":"aadUser","tenantId":"92e59666-257b-49c3-b1fa-1bae8107f6ba"}}
144
+ body | {"contentType":"text","content":"second message!"}
145
+ channelIdentity | {"teamId":"5f5d7b71-1161-44d8-bcc1-3da710eb4171","channelId":"19:e2916df2b11046beba42d22da898383f@thread.tacv2"}
146
+ attachments | []
147
+ mentions | []
148
+ reactions | []
149
+ ```
@@ -11,13 +11,13 @@ m365 teams message list [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --teamId <teamId>`
14
- : The ID of the team where the channel is located
14
+ : The ID of the team where the channel is located.
15
15
 
16
16
  `-c, --channelId <channelId>`
17
- : The ID of the channel for which to list messages
17
+ : The ID of the channel for which to list messages.
18
18
 
19
19
  `-s, --since [since]`
20
- : Date (ISO standard, dash separator) to get delta of messages from (in last 8 months)
20
+ : Date (ISO standard, dash separator) to get delta of messages from (in last 8 months).
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
@@ -27,13 +27,13 @@ You can only retrieve a message from a Microsoft Teams team if you are a member
27
27
 
28
28
  ## Examples
29
29
 
30
- List the messages from a channel of the Microsoft Teams team
30
+ List the messages from a channel of the Microsoft Teams team.
31
31
 
32
32
  ```sh
33
33
  m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelId 19:eb30973b42a847a2a1df92d91e37c76a@thread.skype
34
34
  ```
35
35
 
36
- List the messages from a channel of the Microsoft Teams team that have been created or modified since the date specified by the `--since` parameter (WARNING: only captures the last 8 months of data)
36
+ List the messages from a channel of the Microsoft Teams team that have been created or modified since the date specified by the `--since` parameter (WARNING: only captures the last 8 months of data).
37
37
 
38
38
  ```sh
39
39
  m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelId 19:eb30973b42a847a2a1df92d91e37c76a@thread.skype --since 2019-12-31T14:00:00Z
@@ -84,7 +84,7 @@ m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelI
84
84
  "mentions": [],
85
85
  "reactions": []
86
86
  }
87
- ]
87
+ ]
88
88
  ```
89
89
 
90
90
  === "Text"
@@ -101,3 +101,38 @@ m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelI
101
101
  id,summary,body
102
102
  1666799217259,,First message!
103
103
  ```
104
+
105
+ === "Markdown"
106
+
107
+ ```md
108
+ # teams message list --teamId "fce9e580-8bba-4638-ab5c-ab40016651e3" --channelId "19:e2916df2b11046beba42d22da898383f@thread.tacv2" --since "2022-12-31T14:00:00Z"
109
+
110
+ Date: 1/3/2023
111
+
112
+ ## undefined (1666799217259)
113
+
114
+ Property | Value
115
+ ---------|-------
116
+ replyToId | null
117
+ etag | 1666799649208
118
+ messageType | message
119
+ createdDateTime | 2022-10-26T15:46:57.259Z
120
+ lastModifiedDateTime | 2022-10-26T15:54:09.208Z
121
+ lastEditedDateTime | 2022-10-26T15:54:09.108Z
122
+ deletedDateTime | null
123
+ subject | null
124
+ summary | null
125
+ chatId | null
126
+ importance | normal
127
+ locale | en-us
128
+ webUrl | https://teams.microsoft.com/l/message/19%3eb30973b42a847a2a1df92d91e37c76a%40thread.tacv2/1666799217259?groupId=fce9e580-8bba-4638-ab5c-ab40016651e3&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1666799217259&parentMessageId=1666799217259
129
+ policyViolation | null
130
+ eventDetail | null
131
+ id | 1672743172475
132
+ from | {"application":null,"device":null,"user":{"id":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","displayName":"John Doe","userIdentityType":"aadUser","tenantId":"92e59666-257b-49c3-b1fa-1bae8107f6ba"}}
133
+ body | First message!
134
+ channelIdentity | {"teamId":"fce9e580-8bba-4638-ab5c-ab40016651e3","channelId":"19:e2916df2b11046beba42d22da898383f@thread.tacv2"}
135
+ attachments | []
136
+ mentions | []
137
+ reactions | []
138
+ ```
@@ -11,13 +11,13 @@ m365 teams message reply list [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --teamId <teamId>`
14
- : The ID of the team where the channel is located
14
+ : The ID of the team where the channel is located.
15
15
 
16
16
  `-c, --channelId <channelId>`
17
- : The ID of the channel that contains the message
17
+ : The ID of the channel that contains the message.
18
18
 
19
19
  `-m, --messageId <messageId>`
20
- : The ID of the message to retrieve replies for
20
+ : The ID of the message to retrieve replies for.
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
@@ -27,7 +27,7 @@ You can only retrieve replies to a message from a Microsoft Teams team if you ar
27
27
 
28
28
  ## Examples
29
29
 
30
- Retrieve the replies from a specified message from a channel of the Microsoft Teams team
30
+ Retrieve the replies from a specified message from a channel of the Microsoft Teams team.
31
31
 
32
32
  ```sh
33
33
  m365 teams message reply list --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --messageId 1540747442203
@@ -95,3 +95,38 @@ m365 teams message reply list --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --ch
95
95
  id,body
96
96
  1540747442203,First reply
97
97
  ```
98
+
99
+ === "Markdown"
100
+
101
+ ```md
102
+ # teams message reply list --teamId "5f5d7b71-1161-44d8-bcc1-3da710eb4171" --channelId "19:88f7e66a8dfe42be92db19505ae912a8@thread.skype" --messageId "1540747442203"
103
+
104
+ Date: 1/3/2023
105
+
106
+ ## undefined (1672744052534)
107
+
108
+ Property | Value
109
+ ---------|-------
110
+ id | 1540747442203
111
+ replyToId | 1666799520731
112
+ etag | 1540747442203
113
+ messageType | message
114
+ createdDateTime | 2022-10-26T15:57:13.162Z
115
+ lastModifiedDateTime | 2022-10-26T15:57:13.162Z
116
+ lastEditedDateTime | null
117
+ deletedDateTime | null
118
+ subject | null
119
+ summary | null
120
+ chatId | null
121
+ importance | normal
122
+ locale | en-us
123
+ webUrl | https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1666799520731
124
+ policyViolation | null
125
+ eventDetail | null
126
+ from | {"application":null,"device":null,"user":{"id":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","displayName":"John Doe","userIdentityType":"aadUser","tenantId":"92e59666-257b-49c3-b1fa-1bae8107f6ba"}}
127
+ body | First reply
128
+ channelIdentity | {"teamId":"5f5d7b71-1161-44d8-bcc1-3da710eb4171","channelId":"19:88f7e66a8dfe42be92db19505ae912a8@thread.skype"}
129
+ attachments | []
130
+ mentions | []
131
+ reactions | []
132
+ ```
@@ -11,13 +11,13 @@ m365 teams messagingsettings list [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --teamId`
14
- : The ID of the team for which to get the messaging settings
14
+ : The ID of the team for which to get the messaging settings.
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
18
  ## Examples
19
19
 
20
- Get messaging settings for a Microsoft Teams team
20
+ Get messaging settings for a Microsoft Teams team.
21
21
 
22
22
  ```sh
23
23
  m365 teams messagingsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
@@ -53,3 +53,21 @@ m365 teams messagingsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
53
53
  allowUserEditMessages,allowUserDeleteMessages,allowOwnerDeleteMessages,allowTeamMentions,allowChannelMentions
54
54
  1,1,1,1,1
55
55
  ```
56
+
57
+ === "Markdown"
58
+
59
+ ```md
60
+ # teams messagingsettings list --teamId "2609af39-7775-4f94-a3dc-0dd67657e900"
61
+
62
+ Date: 1/3/2023
63
+
64
+ ## undefined (undefined)
65
+
66
+ Property | Value
67
+ ---------|-------
68
+ allowUserEditMessages | true
69
+ allowUserDeleteMessages | true
70
+ allowOwnerDeleteMessages | true
71
+ allowTeamMentions | true
72
+ allowChannelMentions | true
73
+ ```