@pnp/cli-microsoft365 6.4.0-beta.6b65014 → 6.4.0-beta.8c5ba0e

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 (158) 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/planner/commands/roster/roster-member-add.js +3 -0
  6. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +138 -0
  7. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +48 -14
  8. package/dist/m365/purview/commands.js +1 -0
  9. package/dist/m365/spfx/commands/spfx-doctor.js +43 -29
  10. package/dist/m365/spo/commands/group/group-member-add.js +54 -95
  11. package/dist/m365/spo/commands/navigation/navigation-node-add.js +5 -4
  12. package/dist/m365/spo/commands/navigation/navigation-node-set.js +5 -1
  13. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +118 -0
  14. package/dist/m365/spo/commands/user/user-ensure.js +105 -0
  15. package/dist/m365/spo/commands.js +2 -0
  16. package/dist/utils/aadUser.js +37 -0
  17. package/dist/utils/md.js +7 -0
  18. package/dist/utils/spo.js +32 -0
  19. package/docs/docs/cmd/cli/completion/completion-clink-update.md +4 -4
  20. package/docs/docs/cmd/onenote/page/page-list.md +1 -1
  21. package/docs/docs/cmd/outlook/mail/mail-send.md +7 -3
  22. package/docs/docs/cmd/outlook/message/message-get.md +143 -0
  23. package/docs/docs/cmd/outlook/message/message-list.md +119 -0
  24. package/docs/docs/cmd/outlook/message/message-move.md +4 -0
  25. package/docs/docs/cmd/outlook/report/report-mailactivitycounts.md +40 -0
  26. package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.md +40 -0
  27. package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.md +45 -0
  28. package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.md +43 -0
  29. package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.md +44 -0
  30. package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.md +48 -0
  31. package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.md +41 -0
  32. package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.md +49 -0
  33. package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.md +37 -0
  34. package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.md +40 -0
  35. package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.md +36 -0
  36. package/docs/docs/cmd/outlook/room/room-list.md +81 -0
  37. package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +58 -0
  38. package/docs/docs/cmd/planner/plan/plan-add.md +3 -3
  39. package/docs/docs/cmd/planner/plan/plan-set.md +73 -7
  40. package/docs/docs/cmd/planner/roster/roster-add.md +16 -1
  41. package/docs/docs/cmd/planner/task/task-add.md +230 -0
  42. package/docs/docs/cmd/planner/task/task-checklistitem-add.md +55 -0
  43. package/docs/docs/cmd/planner/task/task-checklistitem-list.md +55 -0
  44. package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +4 -0
  45. package/docs/docs/cmd/planner/task/task-get.md +131 -0
  46. package/docs/docs/cmd/planner/task/task-list.md +92 -0
  47. package/docs/docs/cmd/planner/task/task-reference-add.md +46 -0
  48. package/docs/docs/cmd/planner/task/task-reference-list.md +46 -0
  49. package/docs/docs/cmd/planner/task/task-reference-remove.md +4 -0
  50. package/docs/docs/cmd/planner/task/task-remove.md +4 -0
  51. package/docs/docs/cmd/planner/task/task-set.md +230 -0
  52. package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +55 -0
  53. package/docs/docs/cmd/planner/tenant/tenant-settings-set.md +55 -0
  54. package/docs/docs/cmd/pp/card/card-get.md +2 -2
  55. package/docs/docs/cmd/pp/card/card-list.md +2 -2
  56. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +149 -0
  57. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +7 -7
  58. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -0
  59. package/docs/docs/cmd/skype/report/report-activitycounts.md +38 -0
  60. package/docs/docs/cmd/skype/report/report-activityusercounts.md +38 -0
  61. package/docs/docs/cmd/skype/report/report-activityuserdetail.md +67 -0
  62. package/docs/docs/cmd/spfx/project/project-doctor.md +3 -3
  63. package/docs/docs/cmd/spfx/project/project-externalize.md +3 -3
  64. package/docs/docs/cmd/spfx/project/project-permissions-grant.md +21 -0
  65. package/docs/docs/cmd/spfx/project/project-upgrade.md +3 -3
  66. package/docs/docs/cmd/spfx/spfx-doctor.md +3 -3
  67. package/docs/docs/cmd/spo/cdn/cdn-get.md +6 -6
  68. package/docs/docs/cmd/spo/cdn/cdn-origin-add.md +3 -3
  69. package/docs/docs/cmd/spo/cdn/cdn-origin-list.md +3 -3
  70. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.md +3 -3
  71. package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
  72. package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
  73. package/docs/docs/cmd/spo/cdn/cdn-set.md +3 -3
  74. package/docs/docs/cmd/spo/externaluser/externaluser-list.md +2 -0
  75. package/docs/docs/cmd/spo/group/group-member-add.md +22 -0
  76. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.md +2 -0
  77. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.md +2 -0
  78. package/docs/docs/cmd/spo/homesite/homesite-remove.md +2 -0
  79. package/docs/docs/cmd/spo/homesite/homesite-set.md +2 -0
  80. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +2 -0
  81. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +2 -0
  82. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +3 -3
  83. package/docs/docs/cmd/spo/listitem/listitem-add.md +1 -1
  84. package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +1 -1
  85. package/docs/docs/cmd/spo/listitem/listitem-set.md +1 -1
  86. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +2 -2
  87. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +1 -1
  88. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +2 -0
  89. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +2 -0
  90. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +2 -0
  91. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +2 -0
  92. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +2 -0
  93. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +3 -3
  94. package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -0
  95. package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +3 -3
  96. package/docs/docs/cmd/spo/site/site-commsite-enable.md +2 -0
  97. package/docs/docs/cmd/spo/site/site-list.md +3 -3
  98. package/docs/docs/cmd/spo/site/site-remove.md +3 -3
  99. package/docs/docs/cmd/spo/site/site-rename.md +3 -3
  100. package/docs/docs/cmd/spo/site/site-set.md +5 -5
  101. package/docs/docs/cmd/spo/storageentity/storageentity-remove.md +3 -3
  102. package/docs/docs/cmd/spo/storageentity/storageentity-set.md +3 -3
  103. package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.md +3 -3
  104. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.md +2 -0
  105. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +3 -3
  106. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.md +142 -0
  107. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.md +2 -0
  108. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
  109. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +3 -3
  110. package/docs/docs/cmd/spo/tenant/tenant-settings-list.md +2 -0
  111. package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +2 -0
  112. package/docs/docs/cmd/spo/term/term-add.md +3 -3
  113. package/docs/docs/cmd/spo/term/term-get.md +3 -3
  114. package/docs/docs/cmd/spo/term/term-group-add.md +2 -0
  115. package/docs/docs/cmd/spo/term/term-group-get.md +2 -0
  116. package/docs/docs/cmd/spo/term/term-group-list.md +2 -0
  117. package/docs/docs/cmd/spo/term/term-list.md +3 -1
  118. package/docs/docs/cmd/spo/term/term-set-add.md +3 -3
  119. package/docs/docs/cmd/spo/term/term-set-get.md +2 -0
  120. package/docs/docs/cmd/spo/term/term-set-list.md +2 -0
  121. package/docs/docs/cmd/spo/theme/theme-apply.md +3 -3
  122. package/docs/docs/cmd/spo/theme/theme-get.md +2 -0
  123. package/docs/docs/cmd/spo/theme/theme-list.md +2 -0
  124. package/docs/docs/cmd/spo/theme/theme-remove.md +2 -0
  125. package/docs/docs/cmd/spo/theme/theme-set.md +3 -3
  126. package/docs/docs/cmd/spo/user/user-ensure.md +109 -0
  127. package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
  128. package/docs/docs/cmd/teams/message/message-get.md +39 -4
  129. package/docs/docs/cmd/teams/message/message-list.md +41 -6
  130. package/docs/docs/cmd/teams/message/message-reply-list.md +39 -4
  131. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +20 -2
  132. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +8 -8
  133. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +12 -5
  134. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +13 -6
  135. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +14 -7
  136. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +13 -6
  137. package/docs/docs/cmd/teams/report/report-pstncalls.md +13 -6
  138. package/docs/docs/cmd/teams/report/report-useractivitycounts.md +13 -6
  139. package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +13 -6
  140. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +13 -6
  141. package/docs/docs/cmd/teams/tab/tab-add.md +16 -0
  142. package/docs/docs/cmd/teams/tab/tab-get.md +17 -0
  143. package/docs/docs/cmd/teams/tab/tab-list.md +19 -0
  144. package/docs/docs/cmd/teams/team/team-add.md +77 -8
  145. package/docs/docs/cmd/teams/team/team-app-list.md +18 -2
  146. package/docs/docs/cmd/teams/team/team-archive.md +2 -2
  147. package/docs/docs/cmd/teams/team/team-clone.md +8 -8
  148. package/docs/docs/cmd/teams/team/team-get.md +34 -4
  149. package/docs/docs/cmd/teams/team/team-list.md +34 -3
  150. package/docs/docs/cmd/teams/team/team-remove.md +3 -3
  151. package/docs/docs/cmd/teams/team/team-set.md +8 -8
  152. package/docs/docs/cmd/teams/team/team-unarchive.md +3 -2
  153. package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
  154. package/docs/docs/cmd/teams/user/user-app-list.md +18 -2
  155. package/docs/docs/cmd/teams/user/user-app-remove.md +4 -4
  156. package/docs/docs/cmd/teams/user/user-list.md +21 -4
  157. package/npm-shrinkwrap.json +277 -192
  158. package/package.json +13 -13
@@ -37,6 +37,12 @@ m365 purview retentionlabel add [options]
37
37
  `--labelToBeApplied [labelToBeApplied]`
38
38
  : Specifies the replacement label to be applied automatically after the retention period of the current label ends.
39
39
 
40
+ `--eventTypeId [eventTypeId]`
41
+ : The Id of the event type that is used to in case of an event-based label. Specify when using retentionTrigger with the value `dateOfEvent`. Specify either `eventTypeId` or `eventTypeName`, but not both.
42
+
43
+ `--eventTypeName [eventTypeName]`
44
+ : The display name of the event type that is used to in case of an event-based label. Specify when using retentionTrigger with the value `dateOfEvent`. Specify either `eventTypeId` or `eventTypeName`, but not both.
45
+
40
46
  --8<-- "docs/cmd/_global.md"
41
47
 
42
48
  ## Examples
@@ -53,6 +59,12 @@ Create a retention label that retains documents as records and does not take any
53
59
  m365 purview retentionlabel add --displayName 'some label' --behaviorDuringRetentionPeriod retainAsRecord --actionAfterRetentionPeriod none --retentionDuration 365 --retentionTrigger dateModified
54
60
  ```
55
61
 
62
+ Create an event-based retention label that retains documents as records and deletes them one year after a _Contract Expiry_ event date.
63
+
64
+ ```sh
65
+ m365 purview retentionlabel add --displayName 'some label' --behaviorDuringRetentionPeriod retain --actionAfterRetentionPeriod delete --retentionDuration 365 --retentionTrigger dateOfEvent --eventTypeName "Contract Expiry"
66
+ ```
67
+
56
68
  ## Remarks
57
69
 
58
70
  !!! attention
@@ -37,3 +37,41 @@ Gets the trends on how many users organized and participated in conference sessi
37
37
  ```sh
38
38
  m365 skype report activitycounts --period D7 --output json > "activitycounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2023-01-25",
49
+ "Report Date": "2023-01-19",
50
+ "Report Period": "7",
51
+ "Peer-to-peer": "0",
52
+ "Organized": "0",
53
+ "Participated": "0"
54
+ }
55
+ ]
56
+ ```
57
+
58
+ === "Text"
59
+
60
+ ```txt
61
+ Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
62
+ 2023-01-25,2023-01-19,7,0,0,0
63
+ ```
64
+
65
+ === "CSV"
66
+
67
+ ```csv
68
+ Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
69
+ 2023-01-25,2023-01-19,7,0,0,0
70
+ ```
71
+
72
+ === "Markdown"
73
+
74
+ ```md
75
+ Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
76
+ 2023-01-25,2023-01-19,7,0,0,0
77
+ ```
@@ -37,3 +37,41 @@ Gets the trends on how many unique users organized and participated in conferenc
37
37
  ```sh
38
38
  m365 skype report activityusercounts --period D7 --output json > "activityusercounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2023-01-25",
49
+ "Report Date": "2023-01-19",
50
+ "Report Period": "7",
51
+ "Peer-to-peer": "0",
52
+ "Organized": "0",
53
+ "Participated": "0"
54
+ }
55
+ ]
56
+ ```
57
+
58
+ === "Text"
59
+
60
+ ```txt
61
+ Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
62
+ 2023-01-25,2023-01-19,7,0,0,0
63
+ ```
64
+
65
+ === "CSV"
66
+
67
+ ```csv
68
+ Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
69
+ 2023-01-25,2023-01-19,7,0,0,0
70
+ ```
71
+
72
+ === "Markdown"
73
+
74
+ ```md
75
+ Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
76
+ 2023-01-25,2023-01-19,7,0,0,0
77
+ ```
@@ -46,3 +46,70 @@ Gets details about Skype for Business activity by user for the last week and exp
46
46
  ```sh
47
47
  m365 skype report activityuserdetail --period D7 --output json > "activityuserdetail.json"
48
48
  ```
49
+
50
+ ## Response
51
+
52
+ === "JSON"
53
+
54
+ ```json
55
+ [
56
+ {
57
+ "Report Refresh Date": "2023-01-25",
58
+ "User Principal Name": "john.doe@contoso.com",
59
+ "Is Deleted": "False",
60
+ "Deleted Date": "",
61
+ "Last Activity Date": "2021-03-22",
62
+ "Total Peer-to-peer Session Count": "0",
63
+ "Total Organized Conference Count": "0",
64
+ "Total Participated Conference Count": "0",
65
+ "Peer-to-peer Last Activity Date": "2021-03-22",
66
+ "Organized Conference Last Activity Date": "2021-02-15",
67
+ "Participated Conference Last Activity Date": "2021-02-15",
68
+ "Peer-to-peer IM Count": "0",
69
+ "Peer-to-peer Audio Count": "0",
70
+ "Peer-to-peer Audio Minutes": "0",
71
+ "Peer-to-peer Video Count": "0",
72
+ "Peer-to-peer Video Minutes": "0",
73
+ "Peer-to-peer App Sharing Count": "0",
74
+ "Peer-to-peer File Transfer Count": "0",
75
+ "Organized Conference IM Count": "0",
76
+ "Organized Conference Audio/Video Count": "0",
77
+ "Organized Conference Audio/Video Minutes": "0",
78
+ "Organized Conference App Sharing Count": "0",
79
+ "Organized Conference Web Count": "0",
80
+ "Organized Conference Dial-in/out 3rd Party Count": "0",
81
+ "Organized Conference Dial-in/out Microsoft Count": "0",
82
+ "Organized Conference Dial-in Microsoft Minutes": "0",
83
+ "Organized Conference Dial-out Microsoft Minutes": "0",
84
+ "Participated Conference IM Count": "0",
85
+ "Participated Conference Audio/Video Count": "0",
86
+ "Participated Conference Audio/Video Minutes": "0",
87
+ "Participated Conference App Sharing Count": "0",
88
+ "Participated Conference Web Count": "0",
89
+ "Participated Conference Dial-in/out 3rd Party Count": "0",
90
+ "Assigned Products": "MICROSOFT 365 E5+MICROSOFT POWER APPS PLAN 2 TRIAL+POWER BI (FREE)+MICROSOFT POWER AUTOMATE FREE+POWER AUTOMATE PER USER PLAN",
91
+ "Report Period": "7"
92
+ }
93
+ ]
94
+ ```
95
+
96
+ === "Text"
97
+
98
+ ```txt
99
+ Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Total Peer-to-peer Session Count,Total Organized Conference Count,Total Participated Conference Count,Peer-to-peer Last Activity Date,Organized Conference Last Activity Date,Participated Conference Last Activity Date,Peer-to-peer IM Count,Peer-to-peer Audio Count,Peer-to-peer Audio Minutes,Peer-to-peer Video Count,Peer-to-peer Video Minutes,Peer-to-peer App Sharing Count,Peer-to-peer File Transfer Count,Organized Conference IM Count,Organized Conference Audio/Video Count,Organized Conference Audio/Video Minutes,Organized Conference App Sharing Count,Organized Conference Web Count,Organized Conference Dial-in/out 3rd Party Count,Organized Conference Dial-in/out Microsoft Count,Organized Conference Dial-in Microsoft Minutes,Organized Conference Dial-out Microsoft Minutes,Participated Conference IM Count,Participated Conference Audio/Video Count,Participated Conference Audio/Video Minutes,Participated Conference App Sharing Count,Participated Conference Web Count,Participated Conference Dial-in/out 3rd Party Count,Assigned Products,Report Period
100
+ 2023-01-25,john.doe@contoso.com,False,,2021-03-22,0,0,0,2021-03-22,2021-02-15,2021-02-15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,MICROSOFT 365 E5+MICROSOFT POWER APPS PLAN 2 TRIAL+POWER BI (FREE)+MICROSOFT POWER AUTOMATE FREE+POWER AUTOMATE PER USER PLAN,7
101
+ ```
102
+
103
+ === "CSV"
104
+
105
+ ```csv
106
+ Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Total Peer-to-peer Session Count,Total Organized Conference Count,Total Participated Conference Count,Peer-to-peer Last Activity Date,Organized Conference Last Activity Date,Participated Conference Last Activity Date,Peer-to-peer IM Count,Peer-to-peer Audio Count,Peer-to-peer Audio Minutes,Peer-to-peer Video Count,Peer-to-peer Video Minutes,Peer-to-peer App Sharing Count,Peer-to-peer File Transfer Count,Organized Conference IM Count,Organized Conference Audio/Video Count,Organized Conference Audio/Video Minutes,Organized Conference App Sharing Count,Organized Conference Web Count,Organized Conference Dial-in/out 3rd Party Count,Organized Conference Dial-in/out Microsoft Count,Organized Conference Dial-in Microsoft Minutes,Organized Conference Dial-out Microsoft Minutes,Participated Conference IM Count,Participated Conference Audio/Video Count,Participated Conference Audio/Video Minutes,Participated Conference App Sharing Count,Participated Conference Web Count,Participated Conference Dial-in/out 3rd Party Count,Assigned Products,Report Period
107
+ 2023-01-25,john.doe@contoso.com,False,,2021-03-22,0,0,0,2021-03-22,2021-02-15,2021-02-15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,MICROSOFT 365 E5+MICROSOFT POWER APPS PLAN 2 TRIAL+POWER BI (FREE)+MICROSOFT POWER AUTOMATE FREE+POWER AUTOMATE PER USER PLAN,7
108
+ ```
109
+
110
+ === "Markdown"
111
+
112
+ ```md
113
+ Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Total Peer-to-peer Session Count,Total Organized Conference Count,Total Participated Conference Count,Peer-to-peer Last Activity Date,Organized Conference Last Activity Date,Participated Conference Last Activity Date,Peer-to-peer IM Count,Peer-to-peer Audio Count,Peer-to-peer Audio Minutes,Peer-to-peer Video Count,Peer-to-peer Video Minutes,Peer-to-peer App Sharing Count,Peer-to-peer File Transfer Count,Organized Conference IM Count,Organized Conference Audio/Video Count,Organized Conference Audio/Video Minutes,Organized Conference App Sharing Count,Organized Conference Web Count,Organized Conference Dial-in/out 3rd Party Count,Organized Conference Dial-in/out Microsoft Count,Organized Conference Dial-in Microsoft Minutes,Organized Conference Dial-out Microsoft Minutes,Participated Conference IM Count,Participated Conference Audio/Video Count,Participated Conference Audio/Video Minutes,Participated Conference App Sharing Count,Participated Conference Web Count,Participated Conference Dial-in/out 3rd Party Count,Assigned Products,Report Period
114
+ 2023-01-25,john.doe@contoso.com,False,,2021-03-22,0,0,0,2021-03-22,2021-02-15,2021-02-15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,MICROSOFT 365 E5+MICROSOFT POWER APPS PLAN 2 TRIAL+POWER BI (FREE)+MICROSOFT POWER AUTOMATE FREE+POWER AUTOMATE PER USER PLAN,7
115
+ ```
@@ -28,15 +28,15 @@ m365 spfx project doctor [options]
28
28
  `--debug`
29
29
  : Runs command with debug logging
30
30
 
31
- !!! important
32
- Run this command in the folder where the project that you want to validate is located. This command doesn't change your project files.
33
-
34
31
  ## Remarks
35
32
 
36
33
  The `spfx project doctor` command helps you validate that your SharePoint Framework project is set up correctly. The command automatically detects the version of your project using version information specified in the project's .yo-rc.json file or package.json (if no version information is included in .yo-rc.json). Based on the detected project version, the command executes several checks and reports any issues in the specified format.
37
34
 
38
35
  This command doesn't change your project files. Instead, it gives you a report with all steps necessary to validate your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
39
36
 
37
+ !!! important
38
+ Run this command in the folder where the project that you want to validate is located. This command doesn't change your project files.
39
+
40
40
  ## Examples
41
41
 
42
42
  Validate if your project is correctly set up and save the findings in a Markdown file
@@ -28,11 +28,11 @@ m365 spfx project externalize [options]
28
28
  `--debug`
29
29
  : Runs command with debug logging
30
30
 
31
- !!! important
32
- Run this command in the folder where the project for which you want to externalize dependencies is located. This command doesn't change your project files.
33
-
34
31
  ## Remarks
35
32
 
33
+ !!! important
34
+ Run this command in the folder where the project for which you want to externalize dependencies is located. This command doesn't change your project files.
35
+
36
36
  !!! attention
37
37
  This command is in preview and could change once it's officially released. If you see any room for improvement, we'd love to hear from you at [https://github.com/pnp/cli-microsoft365/issues](https://github.com/pnp/cli-microsoft365/issues).
38
38
 
@@ -63,3 +63,24 @@ m365 spfx project permissions grant
63
63
  ClientId,ConsentType,IsDomainIsolated,ObjectId,PackageName,Resource,ResourceId,Scope
64
64
  6004a642-185c-479a-992a-15d1c23e2229,AllPrincipals,,QqYEYFwYmkeZKhXRwj4iKRcAa6TiIbFNvGnKY1dqONY,,Microsoft Graph,a46b0017-21e2-4db1-bc69-ca63576a38d6,Mail.Read
65
65
  ```
66
+
67
+ === "Markdown"
68
+
69
+ ```md
70
+ # spfx project permissions grant
71
+
72
+ Date: 2/17/2023
73
+
74
+ ## QqYEYFwYmkeZKhXRwj4iKRcAa6TiIbFNvGnKY1dqONY
75
+
76
+ Property | Value
77
+ ---------|-------
78
+ ClientId | 6004a642-185c-479a-992a-15d1c23e2229
79
+ ConsentType | AllPrincipals
80
+ IsDomainIsolated | false
81
+ ObjectId | QqYEYFwYmkeZKhXRwj4iKRcAa6TiIbFNvGnKY1dqONY
82
+ PackageName | null
83
+ Resource | Microsoft Graph
84
+ ResourceId | a46b0017-21e2-4db1-bc69-ca63576a38d6
85
+ Scope | Mail.Read
86
+ ```
@@ -27,15 +27,15 @@ m365 spfx project upgrade [options]
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
30
- !!! important
31
- Run this command in the folder where the project that you want to upgrade is located. This command doesn't change your project files.
32
-
33
30
  ## Remarks
34
31
 
35
32
  The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.16.1).
36
33
 
37
34
  This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
38
35
 
36
+ !!! important
37
+ Run this command in the folder where the project that you want to upgrade is located. This command doesn't change your project files.
38
+
39
39
  ## Examples
40
40
 
41
41
  Get instructions to upgrade the current SharePoint Framework project to SharePoint Framework version 1.5.0 and save the findings in a Markdown file
@@ -31,9 +31,6 @@ m365 spfx doctor [options]
31
31
  `--debug`
32
32
  : Runs command with debug logging
33
33
 
34
- !!! important
35
- Checks ran by this command are based on what is officially supported by Microsoft. It's possible that using different package managers or packages versions will work just fine.
36
-
37
34
  ## Remarks
38
35
 
39
36
  This commands helps you to verify if your environment meets all prerequisites for building solutions using a particular version of the SharePoint Framework.
@@ -46,6 +43,9 @@ If you miss any required tools or use a version that doesn't meet the SharePoint
46
43
 
47
44
  Next to verifying the readiness of your environment to use a particular version of the SharePoint Framework, you can also check if the version of the SharePoint Framework that you use is compatible with the specific version of SharePoint. Supported versions are `sp2016`, `sp2019` and `spo`.
48
45
 
46
+ !!! important
47
+ Checks ran by this command are based on what is officially supported by Microsoft. It's possible that using different package managers or packages versions will work just fine.
48
+
49
49
  !!! important
50
50
  This command supports only text output.
51
51
 
@@ -11,26 +11,26 @@ m365 spo cdn get [options]
11
11
  ## Options
12
12
 
13
13
  `-t, --type [type]`
14
- : Type of CDN to manage. `Public,Private`. Default `Public`
14
+ : Type of CDN to manage. Allowed values `Public`, `Private`. Default `Public`.
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
- !!! important
19
- To use this command you have to have permissions to access the tenant admin site.
20
-
21
18
  ## Remarks
22
19
 
23
20
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
24
21
 
22
+ !!! important
23
+ To use this command you have to have permissions to access the tenant admin site.
24
+
25
25
  ## Examples
26
26
 
27
- Show if the Public CDN is currently enabled or not
27
+ Show if the Public CDN is currently enabled or not.
28
28
 
29
29
  ```sh
30
30
  m365 spo cdn get
31
31
  ```
32
32
 
33
- Show if the Private CDN is currently enabled or not
33
+ Show if the Private CDN is currently enabled or not.
34
34
 
35
35
  ```sh
36
36
  m365 spo cdn get --type Private
@@ -18,13 +18,13 @@ m365 spo cdn origin add [options]
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20
 
21
- !!! important
22
- To use this command you have to have permissions to access the tenant admin site.
23
-
24
21
  ## Remarks
25
22
 
26
23
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
27
24
 
25
+ !!! important
26
+ To use this command you have to have permissions to access the tenant admin site.
27
+
28
28
  ## Examples
29
29
 
30
30
  Add _*/CDN_ to the list of origins of the Public CDN
@@ -15,13 +15,13 @@ m365 spo cdn origin list [options]
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
- !!! important
19
- To use this command you have to have permissions to access the tenant admin site.
20
-
21
18
  ## Remarks
22
19
 
23
20
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
24
21
 
22
+ !!! important
23
+ To use this command you have to have permissions to access the tenant admin site.
24
+
25
25
  ## Examples
26
26
 
27
27
  Show the list of origins configured for the Public CDN
@@ -21,13 +21,13 @@ m365 spo cdn origin remove [options]
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
- !!! important
25
- To use this command you have to have permissions to access the tenant admin site.
26
-
27
24
  ## Remarks
28
25
 
29
26
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
30
27
 
28
+ !!! important
29
+ To use this command you have to have permissions to access the tenant admin site.
30
+
31
31
  ## Examples
32
32
 
33
33
  Remove _*/CDN_ from the list of origins of the Public CDN
@@ -15,13 +15,13 @@ m365 spo cdn policy list [options]
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
- !!! important
19
- To use this command you have to have permissions to access the tenant admin site.
20
-
21
18
  ## Remarks
22
19
 
23
20
  Using the `-t, --cdnType` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
24
21
 
22
+ !!! important
23
+ To use this command you have to have permissions to access the tenant admin site.
24
+
25
25
  ## Examples
26
26
 
27
27
  Show the list of policies configured for the Public CDN
@@ -21,13 +21,13 @@ m365 spo cdn policy set [options]
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
- !!! important
25
- To use this command you have to have permissions to access the tenant admin site.
26
-
27
24
  ## Remarks
28
25
 
29
26
  Using the `-t, --cdnType` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
30
27
 
28
+ !!! important
29
+ To use this command you have to have permissions to access the tenant admin site.
30
+
31
31
  ## Examples
32
32
 
33
33
  Set the list of extensions supported by the Public CDN
@@ -21,9 +21,6 @@ m365 spo cdn set [options]
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
- !!! important
25
- To use this command you have to have permissions to access the tenant admin site.
26
-
27
24
  ## Remarks
28
25
 
29
26
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default), Private CDN or both. If you don't use the option, the command will use the Public CDN.
@@ -32,6 +29,9 @@ Using the `-e, --enabled` option you can specify whether the given CDN type shou
32
29
 
33
30
  Using the `--noDefaultOrigins` option you can specify to skip the creation of the default origins.
34
31
 
32
+ !!! important
33
+ To use this command you have to have permissions to access the tenant admin site.
34
+
35
35
  ## Examples
36
36
 
37
37
  Enable the Microsoft 365 Public CDN on the current tenant
@@ -27,6 +27,8 @@ m365 spo externaluser list [options]
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
30
+ ## Remarks
31
+
30
32
  !!! important
31
33
  To use this command you have to have permissions to access the tenant admin site.
32
34
 
@@ -126,3 +126,25 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
126
126
  DisplayName,Email
127
127
  John Doe,john.doe@contoso.onmicrosoft.com
128
128
  ```
129
+
130
+ === "Markdown"
131
+
132
+ ```md
133
+ # spo group member add --webUrl "https://contoso.sharepoint.com" --groupId "5" --aadGroupId "f2fb2f10-cfd2-4054-8ffd-64533657a5ab"
134
+
135
+ Date: 13/2/2023
136
+
137
+ ## All Company Members
138
+
139
+ Property | Value
140
+ ---------|-------
141
+ AllowedRoles | [0]
142
+ CurrentRole | 0
143
+ DisplayName | All Company Members
144
+ Email | allcompany@contoso.onmicrosoft.com
145
+ InvitationLink | null
146
+ IsUserKnown | true
147
+ Message | null
148
+ Status | true
149
+ User | c:0o.c\|federateddirectoryclaimprovider\|f2fb2f10-cfd2-4054-8ffd-64533657a5ab
150
+ ```
@@ -12,6 +12,8 @@ m365 spo hidedefaultthemes get [options]
12
12
 
13
13
  --8<-- "docs/cmd/_global.md"
14
14
 
15
+ ## Remarks
16
+
15
17
  !!! important
16
18
  To use this command you have to have permissions to access the tenant admin site.
17
19
 
@@ -15,6 +15,8 @@ m365 spo hidedefaultthemes set [options]
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
+ ## Remarks
19
+
18
20
  !!! important
19
21
  To use this command you have to have permissions to access the tenant admin site.
20
22
 
@@ -15,6 +15,8 @@ m365 spo homesite remove [options]
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
+ ## Remarks
19
+
18
20
  !!! important
19
21
  To use this command you have to have permissions to access the tenant admin site.
20
22
 
@@ -15,6 +15,8 @@ m365 spo homesite set [options]
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
+ ## Remarks
19
+
18
20
  !!! important
19
21
  To use this command you have to have permissions to access the tenant admin site.
20
22
 
@@ -12,6 +12,8 @@ m365 spo knowledgehub get [options]
12
12
 
13
13
  --8<-- "docs/cmd/_global.md"
14
14
 
15
+ ## Remarks
16
+
15
17
  !!! important
16
18
  To use this command you have to have permissions to access the tenant admin site.
17
19
 
@@ -15,6 +15,8 @@ m365 spo knowledgehub remove [options]
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
+ ## Remarks
19
+
18
20
  !!! important
19
21
  To use this command you have to have permissions to access the tenant admin site.
20
22
 
@@ -15,13 +15,13 @@ m365 spo knowledgehub set [options]
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
18
- !!! important
19
- To use this command you have to have permissions to access the tenant admin site.
20
-
21
18
  ## Remarks
22
19
 
23
20
  If the specified url doesn't refer to an existing site collection, you will get a `404 - "404 FILE NOT FOUND"` error.
24
21
 
22
+ !!! important
23
+ To use this command you have to have permissions to access the tenant admin site.
24
+
25
25
  ## Examples
26
26
 
27
27
  Sets the Knowledge Hub Site for your tenant.
@@ -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
@@ -19,8 +19,8 @@ m365 spo navigation node add [options]
19
19
  `-t, --title <title>`
20
20
  : Navigation node title.
21
21
 
22
- `--url <url>`
23
- : Navigation node URL.
22
+ `--url [url]`
23
+ : Navigation node URL. When not specified a linkless label will be created.
24
24
 
25
25
  `--parentNodeId [parentNodeId]`
26
26
  : ID of the node below which the node should be added. Specify either `location` or `parentNodeId` but not both.
@@ -20,7 +20,7 @@ m365 spo navigation node set [options]
20
20
  : New title of the navigation node.
21
21
 
22
22
  `--url [url]`
23
- : New URL of the navigation node.
23
+ : New URL of the navigation node. Specify an empty string `""` to update the navigation label to a linkless label.
24
24
 
25
25
  `--audienceIds [audienceIds]`
26
26
  : Comma-separated list of group IDs that will be used for audience targeting. Speficy an empty string `""` to clear this value. The limit is 10 ids per navigation node.
@@ -21,6 +21,8 @@ m365 spo orgassetslibrary add [options]
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
+ ## Remarks
25
+
24
26
  !!! important
25
27
  To use this command you have to have permissions to access the tenant admin site.
26
28
 
@@ -12,6 +12,8 @@ m365 spo orgassetslibrary list [options]
12
12
 
13
13
  --8<-- "docs/cmd/_global.md"
14
14
 
15
+ ## Remarks
16
+
15
17
  !!! important
16
18
  To use this command you have to have permissions to access the tenant admin site.
17
19
 
@@ -18,6 +18,8 @@ m365 spo orgassetslibrary remove [options]
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20
 
21
+ ## Remarks
22
+
21
23
  !!! important
22
24
  To use this command you have to have permissions to access the tenant admin site.
23
25
 
@@ -12,6 +12,8 @@ m365 spo orgnewssite list [options]
12
12
 
13
13
  --8<-- "docs/cmd/_global.md"
14
14
 
15
+ ## Remarks
16
+
15
17
  !!! important
16
18
  To use this command you have to have permissions to access the tenant admin site.
17
19