@pnp/cli-microsoft365 10.5.0-beta.d99742c → 10.6.0-beta.195c8d5

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 (133) hide show
  1. package/.eslintrc.cjs +3 -1
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/Auth.js +60 -3
  5. package/dist/Command.js +14 -26
  6. package/dist/auth/MsalNetworkClient.js +32 -0
  7. package/dist/config.js +2 -0
  8. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +2 -1
  9. package/dist/m365/app/commands/app-get.js +3 -13
  10. package/dist/m365/app/commands/permission/permission-list.js +4 -14
  11. package/dist/m365/base/SpoCommand.js +2 -1
  12. package/dist/m365/booking/commands/business/business-get.js +0 -3
  13. package/dist/m365/commands/login.js +3 -0
  14. package/dist/m365/commands/request.js +3 -12
  15. package/dist/m365/commands/setup.js +2 -0
  16. package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +10 -5
  17. package/dist/m365/entra/commands/app/app-add.js +5 -0
  18. package/dist/m365/entra/commands/app/app-get.js +27 -21
  19. package/dist/m365/entra/commands/app/app-permission-list.js +28 -22
  20. package/dist/m365/entra/commands/app/app-remove.js +22 -19
  21. package/dist/m365/entra/commands/app/app-role-add.js +22 -19
  22. package/dist/m365/entra/commands/app/app-role-list.js +22 -19
  23. package/dist/m365/entra/commands/app/app-role-remove.js +39 -36
  24. package/dist/m365/entra/commands/app/app-set.js +45 -19
  25. package/dist/m365/entra/commands/group/group-add.js +1 -0
  26. package/dist/m365/entra/commands/group/group-set.js +12 -6
  27. package/dist/m365/entra/commands/policy/policy-list.js +46 -3
  28. package/dist/m365/entra/commands/user/user-add.js +1 -0
  29. package/dist/m365/entra/commands/user/user-guest-add.js +0 -3
  30. package/dist/m365/entra/commands/user/user-list.js +2 -1
  31. package/dist/m365/external/commands/item/item-add.js +2 -1
  32. package/dist/m365/flow/commands/environment/environment-get.js +0 -3
  33. package/dist/m365/flow/commands/flow-get.js +0 -3
  34. package/dist/m365/flow/commands/flow-list.js +1 -1
  35. package/dist/m365/flow/commands/run/run-get.js +0 -3
  36. package/dist/m365/graph/commands/openextension/openextension-add.js +73 -0
  37. package/dist/m365/graph/commands/openextension/openextension-get.js +57 -0
  38. package/dist/m365/graph/commands/openextension/openextension-list.js +62 -0
  39. package/dist/m365/graph/commands/openextension/openextension-remove.js +68 -0
  40. package/dist/m365/graph/commands.js +4 -0
  41. package/dist/m365/pa/commands/app/app-get.js +0 -3
  42. package/dist/m365/pa/commands/environment/environment-get.js +0 -3
  43. package/dist/m365/planner/commands/bucket/bucket-add.js +0 -3
  44. package/dist/m365/planner/commands/plan/plan-add.js +0 -3
  45. package/dist/m365/planner/commands/plan/plan-get.js +0 -3
  46. package/dist/m365/planner/commands/plan/plan-set.js +0 -3
  47. package/dist/m365/planner/commands/task/task-checklistitem-add.js +0 -3
  48. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +0 -3
  49. package/dist/m365/pp/commands/card/card-clone.js +12 -16
  50. package/dist/m365/pp/commands/card/card-get.js +13 -22
  51. package/dist/m365/pp/commands/card/card-remove.js +13 -16
  52. package/dist/m365/pp/commands/copilot/copilot-get.js +0 -3
  53. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +0 -3
  54. package/dist/m365/pp/commands/environment/environment-get.js +0 -3
  55. package/dist/m365/pp/commands/solution/solution-get.js +5 -14
  56. package/dist/m365/pp/commands/solution/solution-publish.js +6 -16
  57. package/dist/m365/pp/commands/solution/solution-publisher-get.js +0 -3
  58. package/dist/m365/pp/commands/solution/solution-remove.js +4 -13
  59. package/dist/m365/pp/commands/website/website-get.js +0 -3
  60. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.21.0.js +25 -0
  61. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  62. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002029_DEVDEP_microsoft_rush_stack_compiler_5_3.js +13 -0
  63. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.0.js +63 -0
  64. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  65. package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
  66. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +12 -47
  67. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +13 -31
  68. package/dist/m365/spo/commands/group/group-member-add.js +0 -3
  69. package/dist/m365/spo/commands/homesite/homesite-add.js +66 -0
  70. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +12 -43
  71. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -27
  72. package/dist/m365/spo/commands/page/page-copy.js +0 -3
  73. package/dist/m365/spo/commands/page/page-get.js +0 -3
  74. package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +0 -3
  75. package/dist/m365/spo/commands/web/web-roleassignment-add.js +22 -47
  76. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +17 -32
  77. package/dist/m365/spo/commands.js +1 -0
  78. package/dist/m365/tenant/commands/people/people-profilecardproperty-add.js +4 -3
  79. package/dist/m365/tenant/commands/people/people-profilecardproperty-set.js +4 -3
  80. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +0 -3
  81. package/dist/m365/todo/commands/list/list-get.js +0 -3
  82. package/dist/m365/todo/commands/list/list-remove.js +1 -1
  83. package/dist/m365/todo/commands/task/task-get.js +0 -3
  84. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +13 -3
  85. package/dist/m365/viva/commands/engage/engage-message-add.js +0 -3
  86. package/dist/m365/viva/commands/engage/engage-message-get.js +0 -3
  87. package/dist/m365/viva/commands/engage/engage-user-get.js +0 -3
  88. package/dist/utils/accessToken.js +8 -0
  89. package/dist/utils/entraApp.js +3 -1
  90. package/dist/utils/optionsUtils.js +28 -0
  91. package/dist/utils/powerPlatform.js +51 -1
  92. package/dist/utils/prompt.js +9 -2
  93. package/dist/utils/spo.js +32 -3
  94. package/docs/docs/cmd/booking/business/business-get.mdx +13 -0
  95. package/docs/docs/cmd/entra/policy/policy-list.mdx +1 -1
  96. package/docs/docs/cmd/entra/user/user-guest-add.mdx +11 -0
  97. package/docs/docs/cmd/flow/environment/environment-get.mdx +2 -0
  98. package/docs/docs/cmd/flow/flow-get.mdx +2 -0
  99. package/docs/docs/cmd/flow/run/run-get.mdx +17 -13
  100. package/docs/docs/cmd/graph/directoryextension/directoryextension-get.mdx +2 -3
  101. package/docs/docs/cmd/graph/openextension/openextension-add.mdx +120 -0
  102. package/docs/docs/cmd/graph/openextension/openextension-get.mdx +111 -0
  103. package/docs/docs/cmd/graph/openextension/openextension-list.mdx +129 -0
  104. package/docs/docs/cmd/graph/openextension/openextension-remove.mdx +59 -0
  105. package/docs/docs/cmd/login.mdx +9 -1
  106. package/docs/docs/cmd/pa/app/app-get.mdx +8 -2
  107. package/docs/docs/cmd/pa/environment/environment-get.mdx +5 -3
  108. package/docs/docs/cmd/planner/plan/plan-add.mdx +2 -0
  109. package/docs/docs/cmd/planner/plan/plan-get.mdx +8 -4
  110. package/docs/docs/cmd/planner/plan/plan-set.mdx +2 -0
  111. package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +6 -3
  112. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +12 -3
  113. package/docs/docs/cmd/pp/card/card-get.mdx +36 -5
  114. package/docs/docs/cmd/pp/copilot/copilot-get.mdx +41 -5
  115. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +19 -4
  116. package/docs/docs/cmd/pp/environment/environment-get.mdx +5 -2
  117. package/docs/docs/cmd/pp/solution/solution-get.mdx +12 -7
  118. package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +12 -7
  119. package/docs/docs/cmd/pp/website/website-get.mdx +22 -4
  120. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -4
  121. package/docs/docs/cmd/spo/group/group-member-add.mdx +12 -3
  122. package/docs/docs/cmd/spo/homesite/homesite-add.mdx +124 -0
  123. package/docs/docs/cmd/spo/page/page-copy.mdx +30 -4
  124. package/docs/docs/cmd/spo/page/page-get.mdx +44 -5
  125. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +7 -0
  126. package/docs/docs/cmd/todo/list/list-get.mdx +7 -4
  127. package/docs/docs/cmd/todo/task/task-get.mdx +7 -2
  128. package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +72 -0
  129. package/docs/docs/cmd/viva/engage/engage-message-add.mdx +37 -12
  130. package/docs/docs/cmd/viva/engage/engage-message-get.mdx +27 -13
  131. package/docs/docs/cmd/viva/engage/engage-user-get.mdx +50 -8
  132. package/npm-shrinkwrap.json +517 -481
  133. package/package.json +14 -14
@@ -0,0 +1,124 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spo homesite add
6
+
7
+ Adds a home site
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spo homesite add [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-u, --url <url>`
19
+ : URL of the site to use as a home site.
20
+
21
+ `--isInDraftMode [isInDraftMode]`
22
+ : Specifies whether the home site is in draft mode. Accepts `true` or `false`. Default is `false`.
23
+
24
+ `--vivaConnectionsDefaultStart [vivaConnectionsDefaultStart]`
25
+ : Specifies whether the home site is the default start for Viva Connections. Accepts `true` or `false`. Default is `true`.
26
+
27
+ `--audiences [audiences]`
28
+ : Comma-separated list of Microsoft Entra group IDs that will be used as audience.
29
+
30
+ `--order [order]`
31
+ : Order of the home site. Must be a positive integer.
32
+ ```
33
+
34
+ <Global />
35
+
36
+ ## Examples
37
+
38
+ Add a home site
39
+
40
+ ```sh
41
+ m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms"
42
+ ```
43
+
44
+ Add a home site with additional options
45
+
46
+ ```sh
47
+ m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms" --isInDraftMode true --vivaConnectionsDefaultStart false --audiences "af8c0bc8-7b1b-44b4-b087-ffcc8df70d16,754ff15c-76b1-44cb-88c7-0065a4d3cfb7" --order 2
48
+ ```
49
+
50
+ ## Response
51
+
52
+ <Tabs>
53
+ <TabItem value="JSON">
54
+
55
+ ```json
56
+ {
57
+ "Audiences": [
58
+ {
59
+ "Email": "active@contoso.onmicrosoft.com",
60
+ "Id": "7a1eea7f-9ab0-40ff-8f2e-0083d9d63451",
61
+ "Title": "active Members"
62
+ }
63
+ ],
64
+ "IsInDraftMode": true,
65
+ "IsVivaBackendSite": false,
66
+ "SiteId": "ca49054c-85f3-41eb-a290-46ffda8f219c",
67
+ "TargetedLicenseType": 0,
68
+ "Title": "testcommsite",
69
+ "Url": "https://contoso.sharepoint.com/sites/testcomms",
70
+ "VivaConnectionsDefaultStart": false,
71
+ "WebId": "256c4f0f-e372-47b4-a891-b4888e829e20"
72
+ }
73
+ ```
74
+
75
+ </TabItem>
76
+ <TabItem value="Text">
77
+
78
+ ```text
79
+ Audiences : [{"Email":"active@contoso.onmicrosoft.com","Id":"7a1eea7f-9ab0-40ff-8f2e-0083d9d63451","Title":"active Members"}]
80
+ IsInDraftMode : true
81
+ IsVivaBackendSite : false
82
+ SiteId : ca49054c-85f3-41eb-a290-46ffda8f219c
83
+ TargetedLicenseType : 0
84
+ Title : testcommsite
85
+ Url : https://contoso.sharepoint.com/sites/testcomms
86
+ VivaConnectionsDefaultStart: false
87
+ WebId : 256c4f0f-e372-47b4-a891-b4888e829e20
88
+ ```
89
+
90
+ </TabItem>
91
+ <TabItem value="CSV">
92
+
93
+ ```csv
94
+ IsInDraftMode,IsVivaBackendSite,SiteId,TargetedLicenseType,Title,Url,VivaConnectionsDefaultStart,WebId
95
+ 1,0,ca49054c-85f3-41eb-a290-46ffda8f219c,0,testcommsite,https://contoso.sharepoint.com/sites/testcomms,0,256c4f0f-e372-47b4-a891-b4888e829e20
96
+ ```
97
+
98
+ </TabItem>
99
+ <TabItem value="Markdown">
100
+
101
+ ```md
102
+ # spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms"
103
+
104
+ Date: 12/23/2024
105
+
106
+ ## testcommsite (https://contoso.sharepoint.com/sites/testcomms)
107
+
108
+ Property | Value
109
+ ---------|-------
110
+ IsInDraftMode | true
111
+ IsVivaBackendSite | false
112
+ SiteId | ca49054c-85f3-41eb-a290-46ffda8f219c
113
+ TargetedLicenseType | 0
114
+ Title | testcommsite
115
+ Url | https://contoso.sharepoint.com/sites/testcomms
116
+ VivaConnectionsDefaultStart | false
117
+ WebId | 256c4f0f-e372-47b4-a891-b4888e829e20
118
+ ```
119
+ </TabItem>
120
+ </Tabs>
121
+
122
+ ## More information
123
+
124
+ - SharePoint home sites [Viva Connections set up](https://learn.microsoft.com/en-us/viva/connections/set-up-admin-center)
@@ -109,10 +109,36 @@ m365 spo page copy --webUrl https://contoso.sharepoint.com/sites/team-a --source
109
109
  <TabItem value="Text">
110
110
 
111
111
  ```text
112
- Id : 24
113
- PageLayoutType: Article
114
- Title : new-page
115
- Url : SitePages/home-copy.aspx
112
+ AbsoluteUrl : https://contoso.sharepoint.com/sites/SPDemo/SitePages/home-copy.aspx
113
+ AlternativeUrlMap : {"MediaTAThumbnailPathUrl":"https://southindia1-mediap.svc.ms/transform/thumbnail?provider=spo&inputFormat={.fileType}&cs=UEFHRVN8U1BP&docid={.spHost}/_api/v2.0/sharePoint:{.resourceUrl}:/driveItem&w={.widthValue}&oauth_token=bearer%20{.oauthToken}","MediaTAThumbnailHostUrl":"https://southindia1-mediap.svc.ms","AFDCDNEnabled":"ClientNotOnEdge","CurrentSiteCDNPolicy":"True","PublicCDNEnabled":"True","PrivateCDNEnabled":"True"}
114
+ AuthorByline : null
115
+ BannerImageUrl : https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png
116
+ BannerThumbnailUrl : https://media.akamai.odsp.cdn.office.net/contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png
117
+ CallToAction :
118
+ CanvasContent1 : [{"controlType":3,"displayMode":2,"id":"7558d804-0334-49ca-b14a-53870cf6caae","position":{"controlIndex":1,"sectionIndex":1,"zoneIndex":1,"sectionFactor":12,"layoutIndex":1},"webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","emphasis":{},"webPartData":{"dataVersion":"1.0","description":"Display a location on a map using Bing Maps.","id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"7558d804-0334-49ca-b14a-53870cf6caae","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road"},"title":"Bing Maps","serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}}}},{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true}}]
119
+ Categories : null
120
+ CoAuthState : null
121
+ ContentTypeId : 0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5
122
+ Description : null
123
+ DoesUserHaveEditPermission : true
124
+ FileName : home-copy.aspx
125
+ FirstPublished : 0001-01-01T08:00:00Z
126
+ Id : 23
127
+ IsPageCheckedOutToCurrentUser: false
128
+ IsWebWelcomePage : false
129
+ Language : en-us
130
+ LayoutWebpartsContent : null
131
+ Modified : 2022-11-26T10:11:30Z
132
+ PageLayoutType : Article
133
+ Path : {"DecodedUrl":"SitePages/home-copy.aspx"}
134
+ PromotedState : 0
135
+ SitePageFlags :
136
+ Title : new-page
137
+ TopicHeader : null
138
+ UniqueId : 3c4b010b-7043-4b2b-b7eb-e6110d1bebac
139
+ Url : SitePages/home-copy.aspx
140
+ Version : 0.1
141
+ VersionInfo : {"LastVersionCreated":"0001-01-01T00:00:00","LastVersionCreatedBy":""}
116
142
  ```
117
143
 
118
144
  </TabItem>
@@ -137,11 +137,50 @@ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name ho
137
137
  <TabItem value="Text">
138
138
 
139
139
  ```text
140
- commentsDisabled: true
141
- layoutType : Article
142
- numControls : 2
143
- numSections : 1
144
- title : new-page
140
+ BannerImageUrl : {"Description":"https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png","Url":"https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png"}
141
+ CanvasContent1 : <div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;controlType&quot;&#58;3,&quot;displayMode&quot;&#58;2,&quot;id&quot;&#58;&quot;7558d804-0334-49ca-b14a-53870cf6caae&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;1,&quot;sectionIndex&quot;&#58;1,&quot;zoneIndex&quot;&#58;1,&quot;sectionFactor&quot;&#58;12,&quot;layoutIndex&quot;&#58;1&#125;,&quot;webPartId&quot;&#58;&quot;e377ea37-9047-43b9-8cdb-a761be2f8e09&quot;,&quot;emphasis&quot;&#58;&#123;&#125;&#125;"><div data-sp-webpart="" data-sp-webpartdataversion="1.0" data-sp-webpartdata="&#123;&quot;dataVersion&quot;&#58;&quot;1.0&quot;,&quot;description&quot;&#58;&quot;Display a location on a map using Bing Maps.&quot;,&quot;id&quot;&#58;&quot;e377ea37-9047-43b9-8cdb-a761be2f8e09&quot;,&quot;instanceId&quot;&#58;&quot;7558d804-0334-49ca-b14a-53870cf6caae&quot;,&quot;properties&quot;&#58;&#123;&quot;pushPins&quot;&#58;[],&quot;maxNumberOfPushPins&quot;&#58;1,&quot;shouldShowPushPinTitle&quot;&#58;true,&quot;zoomLevel&quot;&#58;12,&quot;mapType&quot;&#58;&quot;road&quot;&#125;,&quot;title&quot;&#58;&quot;Bing Maps&quot;&#125;"><div data-sp-componentid="e377ea37-9047-43b9-8cdb-a761be2f8e09"></div><div data-sp-htmlproperties=""></div></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;controlType&quot;&#58;0,&quot;pageSettingsSlice&quot;&#58;&#123;&quot;isDefaultDescription&quot;&#58;true,&quot;isDefaultThumbnail&quot;&#58;true&#125;&#125;"></div></div>
142
+ CheckInComment :
143
+ CheckOutType : 2
144
+ ClientSideApplicationId: b6917cb1-93a0-4b97-a84d-7cf49975d4ec
145
+ ComplianceAssetId : null
146
+ ContentTag : {C431F2EF-447C-4F72-BC3E-ED2687456C33},8,3
147
+ ContentTypeId : 0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5
148
+ Created : 2022-11-26T01:51:46
149
+ CustomizedPageStatus : 2
150
+ Description : null
151
+ EditorId : 7
152
+ ETag : "{C431F2EF-447C-4F72-BC3E-ED2687456C33},8"
153
+ Exists : true
154
+ FileSystemObjectType : 0
155
+ FirstPublishedDate : null
156
+ GUID : c8e64e90-e546-4b67-ad05-44e76dac54fb
157
+ IrmEnabled : false
158
+ IsHiddenInUI : false
159
+ LayoutWebpartsContent : null
160
+ Length : 4106
161
+ Level : 2
162
+ LinkingUri : null
163
+ LinkingUrl :
164
+ ListItemAllFields : {"CanvasContent1":"<div><div data-sp-canvascontrol=\"\" data-sp-canvasdataversion=\"1.0\" data-sp-controldata=\"&#123;&quot;controlType&quot;&#58;3,&quot;displayMode&quot;&#58;2,&quot;id&quot;&#58;&quot;7558d804-0334-49ca-b14a-53870cf6caae&quot;,...","ContentTypeId":"0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5",...}
165
+ MajorVersion : 0
166
+ MinorVersion : 4
167
+ Modified : 2022-11-26T09:55:46Z
168
+ Name : new-page.aspx
169
+ NumControls : 2
170
+ NumSections : 1
171
+ OData__ModerationStatus: 3
172
+ PageLayoutType : Article
173
+ PromotedState : 0
174
+ ServerRelativeUrl : /sites/SPDemo/SitePages/new-page.aspx
175
+ TimeCreated : 2022-11-26T09:51:46Z
176
+ TimeLastModified : 2022-11-26T09:55:46Z
177
+ Title : new-page
178
+ UIVersion : 4
179
+ UIVersionLabel : 0.4
180
+ UniqueId : c431f2ef-447c-4f72-bc3e-ed2687456c33
181
+ commentsDisabled : true
182
+ layoutType : Article
183
+ title : new-page
145
184
  ```
146
185
 
147
186
  </TabItem>
@@ -62,8 +62,15 @@ m365 spo sitedesign run status get --webUrl https://contoso.sharepoint.com/sites
62
62
  <TabItem value="Text">
63
63
 
64
64
  ```text
65
+ ActionIndex : 0
66
+ ActionKey : 00000000-0000-0000-0000-000000000000
65
67
  ActionTitle : Activate feature f151bb39-7c3b-414f-bb36-6bf18872052f
68
+ LastModified : 1687422166000
69
+ OrdinalIndex : 0
70
+ OutcomeCode : 0
66
71
  OutcomeText : null
72
+ SiteScriptID : 0c88bed7-943b-42aa-8fef-8fb69eebe3fe
73
+ SiteScriptIndex: 0
67
74
  SiteScriptTitle: Contoso
68
75
  ```
69
76
 
@@ -26,13 +26,13 @@ m365 todo list get [options]
26
26
 
27
27
  ## Examples
28
28
 
29
- Get a specific Microsoft To Do task list based on id
29
+ Get a specific Microsoft To Do task list based on id.
30
30
 
31
31
  ```sh
32
32
  m365 todo list get --id "AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA="
33
33
  ```
34
34
 
35
- Get a specific Microsoft To Do task list based on name
35
+ Get a specific Microsoft To Do task list based on name.
36
36
 
37
37
  ```sh
38
38
  m365 todo list get --name "Task list"
@@ -57,8 +57,11 @@ m365 todo list get --name "Task list"
57
57
  <TabItem value="Text">
58
58
 
59
59
  ```text
60
- displayName : Task list
61
- id : AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA=
60
+ displayName : Task list
61
+ id : AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA=
62
+ isOwner : true
63
+ isShared : false
64
+ wellknownListName: defaultList
62
65
  ```
63
66
 
64
67
  </TabItem>
@@ -29,13 +29,13 @@ m365 todo task get [options]
29
29
 
30
30
  ## Examples
31
31
 
32
- Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id
32
+ Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id.
33
33
 
34
34
  ```sh
35
35
  m365 todo task get --listName "My task list" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
36
36
  ```
37
37
 
38
- Gets a specific task from a Microsoft To Do tasks list based on the id of the list and the task id
38
+ Gets a specific task from a Microsoft To Do tasks list based on the id of the list and the task id.
39
39
 
40
40
  ```sh
41
41
  m365 todo task get --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MAAuAAADMN-7V4K8g0q_adetip1DygEAxMBBaLl1lk_dAn8KkjfXKQABF-BAgwAAAA==" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
@@ -68,8 +68,13 @@ m365 todo task get --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM
68
68
  <TabItem value="Text">
69
69
 
70
70
  ```text
71
+ body : {"content":"","contentType":"text"}
72
+ categories : []
71
73
  createdDateTime : 2022-10-23T14:05:09.2673009Z
74
+ hasAttachments : false
72
75
  id : AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=
76
+ importance : normal
77
+ isReminderOn : false
73
78
  lastModifiedDateTime: 2022-10-23T14:15:11.3180312Z
74
79
  status : notStarted
75
80
  title : Stay healthy
@@ -20,6 +20,9 @@ m365 util accesstoken get [options]
20
20
 
21
21
  `--new`
22
22
  : Retrieve a new access token to ensure that it's valid for as long as possible
23
+
24
+ `--decoded`
25
+ : Retrieve a decoded access token
23
26
  ```
24
27
 
25
28
  <Global />
@@ -60,8 +63,16 @@ Get a new access token for SharePoint Online
60
63
  m365 util accesstoken get --resource https://contoso.sharepoint.com --new
61
64
  ```
62
65
 
66
+ Get a decoded access token for SharePoint Online
67
+
68
+ ```sh
69
+ m365 util accesstoken get --resource https://contoso.sharepoint.com --decoded
70
+ ```
71
+
63
72
  ## Response
64
73
 
74
+ ### Standard response
75
+
65
76
  <Tabs>
66
77
  <TabItem value="JSON">
67
78
 
@@ -93,3 +104,64 @@ m365 util accesstoken get --resource https://contoso.sharepoint.com --new
93
104
  </TabItem>
94
105
  </Tabs>
95
106
 
107
+ ### `decoded` response
108
+
109
+ <Tabs>
110
+ <TabItem value="JSON">
111
+
112
+ ```json
113
+ {
114
+ "alg": "HS256",
115
+ "typ": "JWT"
116
+ }.{
117
+ "sub": "1234567890",
118
+ "name": "John Doe",
119
+ "iat": 1516239022
120
+ }.[signature]
121
+ ```
122
+
123
+ </TabItem>
124
+ <TabItem value="Text">
125
+
126
+ ```text
127
+ {
128
+ "alg": "HS256",
129
+ "typ": "JWT"
130
+ }.{
131
+ "sub": "1234567890",
132
+ "name": "John Doe",
133
+ "iat": 1516239022
134
+ }.[signature]
135
+ ```
136
+
137
+ </TabItem>
138
+ <TabItem value="CSV">
139
+
140
+ ```csv
141
+ {
142
+ "alg": "HS256",
143
+ "typ": "JWT"
144
+ }.{
145
+ "sub": "1234567890",
146
+ "name": "John Doe",
147
+ "iat": 1516239022
148
+ }.[signature]
149
+ ```
150
+
151
+ </TabItem>
152
+ <TabItem value="Markdown">
153
+
154
+ ```md
155
+ {
156
+ "alg": "HS256",
157
+ "typ": "JWT"
158
+ }.{
159
+ "sub": "1234567890",
160
+ "name": "John Doe",
161
+ "iat": 1516239022
162
+ }.[signature]
163
+ ```
164
+
165
+ </TabItem>
166
+ </Tabs>
167
+
@@ -16,19 +16,19 @@ m365 viva engage message add [options]
16
16
 
17
17
  ```md definition-list
18
18
  `-b, --body <body>`
19
- : The text of the message body
19
+ : The text of the message body.
20
20
 
21
21
  `--groupId [groupId]`
22
- : Post the message to this group, specified by ID. If this is set then the networkId is inferred from it. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message
22
+ : Post the message to this group, specified by ID. If this is set then the networkId is inferred from it. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message.
23
23
 
24
24
  `-r, --repliedToId [repliedToId]`
25
- : The message ID this message is in reply to. If this is set then groupId and networkId are inferred from it. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message
25
+ : The message ID this message is in reply to. If this is set then groupId and networkId are inferred from it. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message.
26
26
 
27
27
  `-d, --directToUserIds [directToUserIds]`
28
- : Send a private message to one or more users, specified by ID. Alternatively, you can use the Viva Engage network e-mail addresses instead of the IDs. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message
28
+ : Send a private message to one or more users, specified by ID. Alternatively, you can use the Viva Engage network e-mail addresses instead of the IDs. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message.
29
29
 
30
30
  `--networkId [networkId]`
31
- : Specify the network to post a message
31
+ : Specify the network to post a message.
32
32
  ```
33
33
 
34
34
  <Global />
@@ -43,37 +43,37 @@ In order to use this command, you need to grant the Microsoft Entra application
43
43
 
44
44
  ## Examples
45
45
 
46
- Replies to a message with the ID 1231231231
46
+ Replies to a message with the ID 1231231231.
47
47
 
48
48
  ```sh
49
49
  m365 viva engage message add --body "Hello everyone!" --repliedToId 1231231231
50
50
  ```
51
51
 
52
- Sends a private conversation to the user with the ID 1231231231
52
+ Sends a private conversation to the user with the ID 1231231231.
53
53
 
54
54
  ```sh
55
55
  m365 viva engage message add --body "Hello everyone!" --directToUserIds 1231231231
56
56
  ```
57
57
 
58
- Sends a private conversation to multiple users by ID
58
+ Sends a private conversation to multiple users by ID.
59
59
 
60
60
  ```sh
61
61
  m365 viva engage message add --body "Hello everyone!" --directToUserIds "1231231231,1121312"
62
62
  ```
63
63
 
64
- Sends a private conversation to the user with several e-mail addresses
64
+ Sends a private conversation to the user with several e-mail addresses.
65
65
 
66
66
  ```sh
67
67
  m365 viva engage message add --body "Hello everyone!" --directToUserIds "pl@nubo.eu,sc@nubo.eu"
68
68
  ```
69
69
 
70
- Posts a message to the group with the ID 12312312312
70
+ Posts a message to the group with the ID 12312312312.
71
71
 
72
72
  ```sh
73
73
  m365 viva engage message add --body "Hello everyone!" --groupId 12312312312
74
74
  ```
75
75
 
76
- Posts a message to the group with the ID 12312312312 in the network 11112312
76
+ Posts a message to the group with the ID 12312312312 in the network 11112312.
77
77
 
78
78
  ```sh
79
79
  m365 viva engage message add --body "Hello everyone!" --groupId 12312312312 --networkId 11112312
@@ -126,7 +126,32 @@ m365 viva engage message add --body "Hello everyone!" --groupId 12312312312 --ne
126
126
  <TabItem value="Text">
127
127
 
128
128
  ```text
129
- id: 2000337648877569
129
+ attachments : []
130
+ body : {"parsed":"Hello everyone!","plain":"Hello everyone!","rich":"Hello everyone!"}
131
+ chat_client_sequence: null
132
+ client_type : O365 Api Auth
133
+ client_url : https://api.yammer.com
134
+ content_excerpt : Hello everyone!
135
+ created_at : 2022/11/11 20:59:56 +0000
136
+ delegate_id : null
137
+ direct_message : false
138
+ group_created_id : 31158067201
139
+ group_id : 31158067201
140
+ id : 2000337346863105
141
+ language : null
142
+ liked_by : {"count":0,"names":[]}
143
+ message_type : update
144
+ network_id : 5897756673
145
+ notified_user_ids : []
146
+ privacy : public
147
+ replied_to_id : null
148
+ sender_id : 36425097217
149
+ sender_type : user
150
+ supplemental_reply : false
151
+ system_message : false
152
+ thread_id : 2000337346863105
153
+ url : https://www.yammer.com/api/v1/messages/2000337346863105
154
+ web_url : https://www.yammer.com/contoso.onmicrosoft.com/messages/2000337346863105
130
155
  ```
131
156
 
132
157
  </TabItem>
@@ -31,13 +31,13 @@ In order to use this command, you need to grant the Microsoft Entra application
31
31
 
32
32
  ## Examples
33
33
 
34
- Returns the Viva Engage message with the id 1239871123
34
+ Returns the Viva Engage message with the id 1239871123.
35
35
 
36
36
  ```sh
37
37
  m365 viva engage message get --id 1239871123
38
38
  ```
39
39
 
40
- Returns the Viva Engage message with the id 1239871123 in JSON format
40
+ Returns the Viva Engage message with the id 1239871123 in JSON format.
41
41
 
42
42
  ```sh
43
43
  m365 viva engage message get --id 1239871123 --output json
@@ -89,17 +89,31 @@ m365 viva engage message get --id 1239871123 --output json
89
89
  <TabItem value="Text">
90
90
 
91
91
  ```text
92
- content_excerpt: Hello everyone!
93
- created_at : 2022/11/11 21:00:20 +0000
94
- direct_message : false
95
- group_id : 31158067201
96
- id : 2000337749565441
97
- message_type : update
98
- privacy : public
99
- replied_to_id : null
100
- sender_id : 36425097217
101
- system_message : false
102
- thread_id : 2000337749565441
92
+ attachments : []
93
+ body : {"parsed":"Hello everyone!","plain":"Hello everyone!","rich":"Hello everyone!"}
94
+ chat_client_sequence: null
95
+ client_type : O365 Api Auth
96
+ client_url : https://api.yammer.com
97
+ content_excerpt : Hello everyone!
98
+ created_at : 2022/11/11 21:00:20 +0000
99
+ delegate_id : null
100
+ direct_message : false
101
+ group_id : 31158067201
102
+ id : 2000337749565441
103
+ language : no
104
+ liked_by : {"count":0,"names":[]}
105
+ message_type : update
106
+ network_id : 5897756673
107
+ notified_user_ids : []
108
+ privacy : public
109
+ replied_to_id : null
110
+ sender_id : 36425097217
111
+ sender_type : user
112
+ supplemental_reply : false
113
+ system_message : false
114
+ thread_id : 2000337749565441
115
+ url : https://www.yammer.com/api/v1/messages/2000337749565441
116
+ web_url : https://www.yammer.com/contoso.onmicrosoft.com/messages/2000337749565441
103
117
  ```
104
118
 
105
119
  </TabItem>
@@ -146,20 +146,62 @@ m365 viva engage user get --email john.smith@contoso.com --output json
146
146
  <TabItem value="Text">
147
147
 
148
148
  ```text
149
- email : johndoe@contoso.onmicrosoft.com
150
- full_name: johndoe
151
- id : 172006440961
152
- job_title:
153
- state : active
154
- url : https://www.yammer.com/api/v1/users/172006440961
149
+ type : user
150
+ id : 172006440961
151
+ network_id : 5897756673
152
+ state : active
153
+ job_title :
154
+ location : null
155
+ interests : null
156
+ summary : null
157
+ expertise : null
158
+ full_name : johndoe
159
+ activated_at : 2021/10/08 11:45:32 +0000
160
+ auto_activated : false
161
+ show_ask_for_photo : true
162
+ first_name :
163
+ last_name :
164
+ network_name : Contoso
165
+ network_domains : [contoso.onmicrosoft.com]
166
+ url : https://www.yammer.com/api/v1/users/172006440961
167
+ web_url : https://www.yammer.com/contoso.onmicrosoft.com/users/172006440961
168
+ name : admvalo
169
+ mugshot_url : https://mugshot0eu-1.assets-yammer.com/mugshot/images/no_photo.png?P1=1668205841&P2=104&P3=1&P4=rnM2FPGOQRZja018qxAFshyyDKKH5SoUXkdpCeizRsdD7Ggb9sLSsdEaq-icgk8g-QTHFd0Te4e1gWAZTGEQekSQop6G6zDcipIVbZMJStEzfKKUpSPckcXnRhfiI55yq5AOLhVcH2PP_ZBFF-0KXMaP8Hy4dGDIRzmnUGhFuik0yjNBoGaYL86ltEaDMQdpS6rS3lmIMzLPGEMfr30vethAxRT7SKBbNYxZ9iPxO6TY26cYCfv0VyyMQkGGviPU4__EVjOoklhD_AqFGFGHtRTcsafpKOxCE70Z-nUpIPbYCel3las7w105u4SvPPC00Q5LUMDynUvzPiR4-vbWPg&size=48x48
170
+ mugshot_redirect_url : https://www.yammer.com/mugshot/images/redirect/48x48/no_photo.png
171
+ mugshot_url_template : https://mugshot0eu-1.assets-yammer.com/mugshot/images/no_photo.png?P1=1668205841&P2=104&P3=1&P4=rnM2FPGOQRZja018qxAFshyyDKKH5SoUXkdpCeizRsdD7Ggb9sLSsdEaq-icgk8g-QTHFd0Te4e1gWAZTGEQekSQop6G6zDcipIVbZMJStEzfKKUpSPckcXnRhfiI55yq5AOLhVcH2PP_ZBFF-0KXMaP8Hy4dGDIRzmnUGhFuik0yjNBoGaYL86ltEaDMQdpS6rS3lmIMzLPGEMfr30vethAxRT7SKBbNYxZ9iPxO6TY26cYCfv0VyyMQkGGviPU4__EVjOoklhD_AqFGFGHtRTcsafpKOxCE70Z-nUpIPbYCel3las7w105u4SvPPC00Q5LUMDynUvzPiR4-vbWPg&size={width}x{height}
172
+ mugshot_redirect_url_template: https://www.yammer.com/mugshot/images/redirect/{width}x{height}/no_photo.png
173
+ birth_date :
174
+ birth_date_complete :
175
+ timezone : Pacific Time (US & Canada)
176
+ external_urls : []
177
+ admin : true
178
+ verified_admin : true
179
+ m365_yammer_admin : false
180
+ supervisor_admin : false
181
+ o365_tenant_admin : true
182
+ can_broadcast : true
183
+ department : null
184
+ email : johndoe@contoso.onmicrosoft.com
185
+ guest : false
186
+ aad_guest : false
187
+ can_view_delegations : false
188
+ can_create_new_network : false
189
+ can_browse_external_networks: false
190
+ reaction_accent_color : none
191
+ significant_other :
192
+ kids_names :
193
+ previous_companies : []
194
+ schools : []
195
+ show_invite_lightbox : false
196
+ age_bucket : notSet
155
197
  ```
156
198
 
157
199
  </TabItem>
158
200
  <TabItem value="CSV">
159
201
 
160
202
  ```csv
161
- id,full_name,email,job_title,state,url
162
- 172006440961,admvalo,johndoe@contoso.onmicrosoft.com,,active,https://www.yammer.com/api/v1/users/172006440961
203
+ type,id,network_id,state,job_title,location,interests,summary,expertise,full_name,activated_at,auto_activated,show_ask_for_photo,first_name,last_name,network_name,network_domains,url,web_url,name,mugshot_url,mugshot_redirect_url,mugshot_url_template,mugshot_redirect_url_template,birth_date,birth_date_complete,timezone,external_urls,admin,verified_admin,m365_yammer_admin,supervisor_admin,o365_tenant_admin,can_broadcast,department,email,guest,aad_guest,can_view_delegations,can_create_new_network,can_browse_external_networks,reaction_accent_color,significant_other,kids_names,previous_companies,schools,show_invite_lightbox,age_bucket
204
+ user,172006440961,5897756673,active,,,null,null,null,johndoe,"2021/10/08 11:45:32 +0000",false,true,,,Contoso,"[contoso.onmicrosoft.com]","https://www.yammer.com/api/v1/users/172006440961","https://www.yammer.com/contoso.onmicrosoft.com/users/172006440961",admvalo,"https://mugshot0eu-1.assets-yammer.com/mugshot/images/no_photo.png?P1=1668205841&P2=104&P3=1&P4=rnM2FPGOQRZja018qxAFshyyDKKH5SoUXkdpCeizRsdD7Ggb9sLSsdEaq-icgk8g-QTHFd0Te4e1gWAZTGEQekSQop6G6zDcipIVbZMJStEzfKKUpSPckcXnRhfiI55yq5AOLhVcH2PP_ZBFF-0KXMaP8Hy4dGDIRzmnUGhFuik0yjNBoGaYL86ltEaDMQdpS6rS3lmIMzLPGEMfr30vethAxRT7SKBbNYxZ9iPxO6TY26cYCfv0VyyMQkGGviPU4__EVjOoklhD_AqFGFGHtRTcsafpKOxCE70Z-nUpIPbYCel3las7w105u4SvPPC00Q5LUMDynUvzPiR4-vbWPg&size=48x48","https://www.yammer.com/mugshot/images/redirect/48x48/no_photo.png","https://mugshot0eu-1.assets-yammer.com/mugshot/images/no_photo.png?P1=1668205841&P2=104&P3=1&P4=rnM2FPGOQRZja018qxAFshyyDKKH5SoUXkdpCeizRsdD7Ggb9sLSsdEaq-icgk8g-QTHFd0Te4e1gWAZTGEQekSQop6G6zDcipIVbZMJStEzfKKUpSPckcXnRhfiI55yq5AOLhVcH2PP_ZBFF-0KXMaP8Hy4dGDIRzmnUGhFuik0yjNBoGaYL86ltEaDMQdpS6rS3lmIMzLPGEMfr30vethAxRT7SKBbNYxZ9iPxO6TY26cYCfv0VyyMQkGGviPU4__EVjOoklhD_AqFGFGHtRTcsafpKOxCE70Z-nUpIPbYCel3las7w105u4SvPPC00Q5LUMDynUvzPiR4-vbWPg&size={width}x{height}","https://www.yammer.com/mugshot/images/redirect/{width}x{height}/no_photo.png",,"",Pacific Time (US & Canada),[],true,true,false,false,true,true,null,johndoe@contoso.onmicrosoft.com,false,false,false,false,false,none,,,[],[],false,notSet
163
205
  ```
164
206
 
165
207
  </TabItem>