@pnp/cli-microsoft365 10.11.0 → 11.0.0-beta.3143306

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 (159) hide show
  1. package/.devproxy/api-specs/sharepoint.yaml +54 -0
  2. package/.eslintrc.cjs +2 -0
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/Command.js +4 -0
  6. package/dist/config.js +1 -0
  7. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
  8. package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +13 -27
  9. package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +18 -43
  10. package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +10 -21
  11. package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +25 -49
  12. package/dist/m365/entra/commands/app/app-add.js +14 -2
  13. package/dist/m365/entra/commands/group/group-member-add.js +6 -27
  14. package/dist/m365/entra/commands/group/group-member-set.js +5 -26
  15. package/dist/m365/entra/commands/m365group/m365group-get.js +1 -7
  16. package/dist/m365/entra/commands/m365group/m365group-list.js +1 -7
  17. package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +1 -7
  18. package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +1 -7
  19. package/dist/m365/entra/commands/pim/pim-role-request-list.js +1 -7
  20. package/dist/m365/entra/commands/roleassignment/roleassignment-add.js +146 -0
  21. package/dist/m365/entra/commands.js +1 -0
  22. package/dist/m365/flow/commands/environment/environment-get.js +19 -29
  23. package/dist/m365/flow/commands/flow-list.js +7 -14
  24. package/dist/m365/flow/commands/run/run-get.js +1 -7
  25. package/dist/m365/graph/commands/openextension/openextension-add.js +2 -2
  26. package/dist/m365/graph/commands/openextension/openextension-set.js +2 -6
  27. package/dist/m365/graph/commands/subscription/subscription-add.js +3 -10
  28. package/dist/m365/outlook/commands/mail/mail-searchfolder-add.js +85 -0
  29. package/dist/m365/outlook/commands.js +1 -0
  30. package/dist/m365/pa/commands/environment/environment-get.js +18 -23
  31. package/dist/m365/pp/commands/copilot/copilot-get.js +0 -4
  32. package/dist/m365/pp/commands/copilot/copilot-list.js +0 -4
  33. package/dist/m365/pp/commands/copilot/copilot-remove.js +0 -4
  34. package/dist/m365/pp/commands/environment/environment-get.js +19 -26
  35. package/dist/m365/pp/commands/solution/solution-publisher-list.js +1 -8
  36. package/dist/m365/pp/commands.js +0 -7
  37. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +1 -7
  38. package/dist/m365/spe/commands/container/container-add.js +1 -3
  39. package/dist/m365/spe/commands/container/container-list.js +1 -3
  40. package/dist/m365/spe/commands/container/container-recyclebinitem-list.js +1 -3
  41. package/dist/m365/spe/commands/container/container-recyclebinitem-restore.js +1 -3
  42. package/dist/m365/spe/commands/container/container-remove.js +1 -3
  43. package/dist/m365/spe/commands/containertype/containertype-add.js +67 -90
  44. package/dist/m365/spe/commands/containertype/containertype-get.js +53 -81
  45. package/dist/m365/spe/commands/containertype/containertype-list.js +8 -19
  46. package/dist/m365/spe/commands/containertype/containertype-remove.js +27 -5
  47. package/dist/m365/spfx/commands/project/project-upgrade.js +23 -66
  48. package/dist/m365/spo/commands/customaction/customaction-list.js +3 -10
  49. package/dist/m365/spo/commands/file/file-move.js +2 -8
  50. package/dist/m365/spo/commands/file/file-version-keep.js +78 -0
  51. package/dist/m365/spo/commands/homesite/homesite-add.js +26 -2
  52. package/dist/m365/spo/commands/homesite/homesite-get.js +28 -14
  53. package/dist/m365/spo/commands/homesite/homesite-list.js +1 -12
  54. package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -34
  55. package/dist/m365/spo/commands/homesite/homesite-set.js +88 -44
  56. package/dist/m365/spo/commands/hubsite/hubsite-get.js +4 -13
  57. package/dist/m365/spo/commands/hubsite/hubsite-list.js +1 -8
  58. package/dist/m365/spo/commands/list/list-view-add.js +1 -1
  59. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +17 -25
  60. package/dist/m365/spo/commands/{tenant/tenant-site-archive.js → site/site-archive.js} +14 -14
  61. package/dist/m365/spo/commands/{tenant/tenant-site-list.js → site/site-list.js} +16 -27
  62. package/dist/m365/spo/commands/{tenant/tenant-site-membership-list.js → site/site-membership-list.js} +15 -15
  63. package/dist/m365/spo/commands/{tenant/tenant-site-rename.js → site/site-rename.js} +14 -14
  64. package/dist/m365/spo/commands/{tenant/tenant-site-unarchive.js → site/site-unarchive.js} +14 -14
  65. package/dist/m365/spo/commands/term/term-list.js +1 -7
  66. package/dist/m365/spo/commands.js +5 -7
  67. package/dist/m365/teams/commands/chat/chat-member-add.js +3 -9
  68. package/dist/m365/teams/commands/report/report-directroutingcalls.js +5 -12
  69. package/dist/m365/teams/commands/report/report-pstncalls.js +5 -12
  70. package/dist/m365/viva/commands/engage/engage-network-list.js +1 -7
  71. package/dist/m365/viva/commands.js +0 -3
  72. package/dist/utils/entraAdministrativeUnit.js +1 -1
  73. package/dist/utils/entraApp.js +15 -0
  74. package/dist/utils/spe.js +5 -39
  75. package/docs/docs/cmd/entra/app/app-add.mdx +7 -1
  76. package/docs/docs/cmd/entra/group/group-member-add.mdx +7 -26
  77. package/docs/docs/cmd/entra/group/group-member-set.mdx +5 -23
  78. package/docs/docs/cmd/entra/m365group/m365group-get.mdx +0 -3
  79. package/docs/docs/cmd/entra/m365group/m365group-list.mdx +0 -3
  80. package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +0 -3
  81. package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +0 -3
  82. package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +0 -3
  83. package/docs/docs/cmd/entra/roleassignment/roleassignment-add.mdx +163 -0
  84. package/docs/docs/cmd/flow/environment/environment-get.mdx +6 -5
  85. package/docs/docs/cmd/flow/flow-list.mdx +0 -3
  86. package/docs/docs/cmd/flow/run/run-get.mdx +0 -3
  87. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +0 -3
  88. package/docs/docs/cmd/outlook/mail/mail-searchfolder-add.mdx +147 -0
  89. package/docs/docs/cmd/pa/environment/environment-get.mdx +5 -2
  90. package/docs/docs/cmd/pp/copilot/copilot-get.mdx +0 -6
  91. package/docs/docs/cmd/pp/copilot/copilot-list.mdx +0 -6
  92. package/docs/docs/cmd/pp/copilot/copilot-remove.mdx +0 -6
  93. package/docs/docs/cmd/pp/environment/environment-get.mdx +5 -2
  94. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +0 -3
  95. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +0 -3
  96. package/docs/docs/cmd/spe/container/container-activate.mdx +21 -0
  97. package/docs/docs/cmd/spe/container/container-add.mdx +29 -0
  98. package/docs/docs/cmd/spe/container/container-get.mdx +20 -1
  99. package/docs/docs/cmd/spe/container/container-list.mdx +29 -0
  100. package/docs/docs/cmd/spe/container/container-permission-list.mdx +19 -0
  101. package/docs/docs/cmd/spe/container/container-recyclebinitem-list.mdx +29 -0
  102. package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +31 -0
  103. package/docs/docs/cmd/spe/container/container-remove.mdx +31 -0
  104. package/docs/docs/cmd/spe/containertype/containertype-add.mdx +111 -55
  105. package/docs/docs/cmd/spe/containertype/containertype-get.mdx +69 -38
  106. package/docs/docs/cmd/spe/containertype/containertype-list.mdx +59 -31
  107. package/docs/docs/cmd/spe/containertype/containertype-remove.mdx +31 -4
  108. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +18 -5
  109. package/docs/docs/cmd/spo/file/file-move.mdx +0 -3
  110. package/docs/docs/cmd/spo/file/file-version-keep.mdx +68 -0
  111. package/docs/docs/cmd/spo/homesite/homesite-add.mdx +13 -4
  112. package/docs/docs/cmd/spo/homesite/homesite-get.mdx +44 -23
  113. package/docs/docs/cmd/spo/homesite/homesite-list.mdx +0 -6
  114. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +10 -35
  115. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +84 -44
  116. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +0 -3
  117. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +0 -3
  118. package/docs/docs/cmd/spo/list/list-view-add.mdx +11 -11
  119. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.mdx +18 -18
  120. package/docs/docs/cmd/spo/{tenant/tenant-site-archive.mdx → site/site-archive.mdx} +4 -4
  121. package/docs/docs/cmd/spo/{tenant/tenant-site-list.mdx → site/site-list.mdx} +7 -16
  122. package/docs/docs/cmd/spo/{tenant/tenant-site-membership-list.mdx → site/site-membership-list.mdx} +5 -5
  123. package/docs/docs/cmd/spo/{tenant/tenant-site-rename.mdx → site/site-rename.mdx} +7 -7
  124. package/docs/docs/cmd/spo/{tenant/tenant-site-unarchive.mdx → site/site-unarchive.mdx} +4 -4
  125. package/docs/docs/cmd/spo/term/term-list.mdx +0 -3
  126. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +2 -5
  127. package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +25 -44
  128. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +25 -48
  129. package/docs/docs/cmd/viva/engage/engage-community-list.mdx +19 -0
  130. package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +19 -0
  131. package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +19 -0
  132. package/docs/docs/cmd/viva/engage/engage-network-list.mdx +0 -3
  133. package/npm-shrinkwrap.json +53 -53
  134. package/package.json +13 -13
  135. package/dist/m365/pp/commands/card/card-clone.js +0 -101
  136. package/dist/m365/pp/commands/card/card-get.js +0 -89
  137. package/dist/m365/pp/commands/card/card-list.js +0 -55
  138. package/dist/m365/pp/commands/card/card-remove.js +0 -105
  139. package/dist/m365/skype/commands/report/report-activitycounts.js +0 -15
  140. package/dist/m365/skype/commands/report/report-activityusercounts.js +0 -15
  141. package/dist/m365/skype/commands/report/report-activityuserdetail.js +0 -15
  142. package/dist/m365/skype/commands.js +0 -7
  143. package/dist/m365/spo/commands/mail/mail-send.js +0 -108
  144. package/dist/m365/spo/commands/tenant/SPOTenantSitePropertiesEnumerable.js +0 -2
  145. package/dist/m365/spo/commands/tenant/TenantSiteProperties.js +0 -2
  146. package/dist/m365/viva/commands/engage/engage-group-list.js +0 -93
  147. package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -73
  148. package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -88
  149. package/docs/docs/cmd/pp/card/card-clone.mdx +0 -103
  150. package/docs/docs/cmd/pp/card/card-get.mdx +0 -212
  151. package/docs/docs/cmd/pp/card/card-list.mdx +0 -163
  152. package/docs/docs/cmd/pp/card/card-remove.mdx +0 -86
  153. package/docs/docs/cmd/skype/report/report-activitycounts.mdx +0 -96
  154. package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +0 -96
  155. package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +0 -134
  156. package/docs/docs/cmd/spo/mail/mail-send.mdx +0 -69
  157. package/docs/docs/cmd/viva/engage/engage-group-list.mdx +0 -174
  158. package/docs/docs/cmd/viva/engage/engage-group-user-add.mdx +0 -60
  159. package/docs/docs/cmd/viva/engage/engage-group-user-remove.mdx +0 -58
@@ -1,86 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
-
3
- # pp card remove
4
-
5
- Removes the specified Microsoft Power Platform card in the specified Power Platform environment
6
-
7
- ## Usage
8
-
9
- ```sh
10
- m365 pp card remove [options]
11
- ```
12
-
13
- ## Options
14
-
15
- ```md definition-list
16
- `-e, --environmentName <environmentName>`
17
- : The name of the environment.
18
-
19
- `-i, --id [id]`
20
- : The id of the card. Specify either `id` or `name` but not both.
21
-
22
- `-n, --name [name]`
23
- : The name of the card. Specify either `id` or `name` but not both.
24
-
25
- `--asAdmin`
26
- : Run the command as admin for environments you do not have explicitly assigned permissions to.
27
-
28
- `-f, --force`
29
- : Don't prompt for confirmation.
30
- ```
31
-
32
- <Global />
33
-
34
- ## Examples
35
-
36
- Removes the specified Microsoft Power Platform card owned by the currently signed-in user based on the name parameter
37
-
38
- ```sh
39
- m365 pp card remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Card Name"
40
- ```
41
-
42
- Removes the specified Microsoft Power Platform card owned by the currently signed-in user based on the name parameter without confirmation
43
-
44
- ```sh
45
- m365 pp card remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Card Name" --force
46
- ```
47
-
48
- Removes the specified Microsoft Power Platform card owned by another user based on the name parameter
49
-
50
- ```sh
51
- m365 pp card remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Card Name" --asAdmin
52
- ```
53
-
54
- Removes the specified Microsoft Power Platform card owned by another user based on the name parameter without confirmation
55
-
56
- ```sh
57
- m365 pp card remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Card Name" --asAdmin --force
58
- ```
59
-
60
- Removes the specified Microsoft Power Platform card owned by the currently signed-in user based on the id parameter
61
-
62
- ```sh
63
- m365 pp card remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 9d9a13d0-6255-ed11-bba2-000d3adf774e
64
- ```
65
-
66
- Removes the specified Microsoft Power Platform card owned by the currently signed-in user based on the id parameter without confirmation
67
-
68
- ```sh
69
- m365 pp card remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 9d9a13d0-6255-ed11-bba2-000d3adf774e --force
70
- ```
71
-
72
- Removes the specified Microsoft Power Platform card owned by another user based on the id parameter
73
-
74
- ```sh
75
- m365 pp card remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 9d9a13d0-6255-ed11-bba2-000d3adf774e --asAdmin
76
- ```
77
-
78
- Removes the specified Microsoft Power Platform card owned by another user based on the id parameter without confirmation
79
-
80
- ```sh
81
- m365 pp card remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 9d9a13d0-6255-ed11-bba2-000d3adf774e --asAdmin --force
82
- ```
83
-
84
- ## Response
85
-
86
- The command won't return a response on success.
@@ -1,96 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
- import Tabs from '@theme/Tabs';
3
- import TabItem from '@theme/TabItem';
4
-
5
- # skype report activitycounts
6
-
7
- Gets the trends on how many users organized and participated in conference sessions held in your organization through Skype for Business. The report also includes the number of peer-to-peer sessions
8
-
9
- ## Usage
10
-
11
- ```sh
12
- m365 skype report activitycounts [options]
13
- ```
14
-
15
- ## Options
16
-
17
- ```md definition-list
18
- `-p, --period <period>`
19
- : The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
20
- ```
21
-
22
- <Global />
23
-
24
- ## Remarks
25
-
26
- :::info
27
-
28
- This command supports only csv and json output.
29
-
30
- :::
31
-
32
- ## Examples
33
-
34
- Gets the trends on how many users organized and participated in conference sessions held in your organization through Skype for Business. The report also includes the number of peer-to-peer sessions for the last week
35
-
36
- ```sh
37
- m365 skype report activitycounts --period D7
38
- ```
39
-
40
- Gets the trends on how many users organized and participated in conference sessions held in your organization through Skype for Business. The report also includes the number of peer-to-peer sessions for the last week and exports the report data in the specified path in text format
41
-
42
- ```sh
43
- m365 skype report activitycounts --period D7 --output text > "activitycounts.txt"
44
- ```
45
-
46
- Gets the trends on how many users organized and participated in conference sessions held in your organization through Skype for Business. The report also includes the number of peer-to-peer sessions for the last week and exports the report data in the specified path in json format
47
-
48
- ```sh
49
- m365 skype report activitycounts --period D7 --output json > "activitycounts.json"
50
- ```
51
-
52
- ## Response
53
-
54
- <Tabs>
55
- <TabItem value="JSON">
56
-
57
- ```json
58
- [
59
- {
60
- "Report Refresh Date": "2023-01-25",
61
- "Report Date": "2023-01-19",
62
- "Report Period": "7",
63
- "Peer-to-peer": "0",
64
- "Organized": "0",
65
- "Participated": "0"
66
- }
67
- ]
68
- ```
69
-
70
- </TabItem>
71
- <TabItem value="Text">
72
-
73
- ```txt
74
- Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
75
- 2023-01-25,2023-01-19,7,0,0,0
76
- ```
77
-
78
- </TabItem>
79
- <TabItem value="CSV">
80
-
81
- ```csv
82
- Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
83
- 2023-01-25,2023-01-19,7,0,0,0
84
- ```
85
-
86
- </TabItem>
87
- <TabItem value="Markdown">
88
-
89
- ```md
90
- Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
91
- 2023-01-25,2023-01-19,7,0,0,0
92
- ```
93
-
94
- </TabItem>
95
- </Tabs>
96
-
@@ -1,96 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
- import Tabs from '@theme/Tabs';
3
- import TabItem from '@theme/TabItem';
4
-
5
- # skype report activityusercounts
6
-
7
- Gets the trends on how many unique users organized and participated in conference sessions held in your organization through Skype for Business. The report also includes the number of peer-to-peer sessions
8
-
9
- ## Usage
10
-
11
- ```sh
12
- m365 skype report activityusercounts [options]
13
- ```
14
-
15
- ## Options
16
-
17
- ```md definition-list
18
- `-p, --period <period>`
19
- : The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
20
- ```
21
-
22
- <Global />
23
-
24
- ## Remarks
25
-
26
- :::info
27
-
28
- This command supports only csv and json output.
29
-
30
- :::
31
-
32
- ## Examples
33
-
34
- Gets the trends on how many unique users organized and participated in conference sessions held in your organization through Skype for Business. The report also includes the number of peer-to-peer sessions for the last week
35
-
36
- ```sh
37
- m365 skype report activityusercounts --period D7
38
- ```
39
-
40
- Gets the trends on how many unique users organized and participated in conference sessions held in your organization through Skype for Business. The report also includes the number of peer-to-peer sessions for the last week and exports the report data in the specified path in text format
41
-
42
- ```sh
43
- m365 skype report activityusercounts --period D7 --output text > "activityusercounts.txt"
44
- ```
45
-
46
- Gets the trends on how many unique users organized and participated in conference sessions held in your organization through Skype for Business. The report also includes the number of peer-to-peer sessions for the last week and exports the report data in the specified path in json format
47
-
48
- ```sh
49
- m365 skype report activityusercounts --period D7 --output json > "activityusercounts.json"
50
- ```
51
-
52
- ## Response
53
-
54
- <Tabs>
55
- <TabItem value="JSON">
56
-
57
- ```json
58
- [
59
- {
60
- "Report Refresh Date": "2023-01-25",
61
- "Report Date": "2023-01-19",
62
- "Report Period": "7",
63
- "Peer-to-peer": "0",
64
- "Organized": "0",
65
- "Participated": "0"
66
- }
67
- ]
68
- ```
69
-
70
- </TabItem>
71
- <TabItem value="Text">
72
-
73
- ```txt
74
- Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
75
- 2023-01-25,2023-01-19,7,0,0,0
76
- ```
77
-
78
- </TabItem>
79
- <TabItem value="CSV">
80
-
81
- ```csv
82
- Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
83
- 2023-01-25,2023-01-19,7,0,0,0
84
- ```
85
-
86
- </TabItem>
87
- <TabItem value="Markdown">
88
-
89
- ```md
90
- Report Refresh Date,Report Date,Report Period,Peer-to-peer,Organized,Participated
91
- 2023-01-25,2023-01-19,7,0,0,0
92
- ```
93
-
94
- </TabItem>
95
- </Tabs>
96
-
@@ -1,134 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
- import Tabs from '@theme/Tabs';
3
- import TabItem from '@theme/TabItem';
4
-
5
- # skype report activityuserdetail
6
-
7
- Gets details about Skype for Business activity by user
8
-
9
- ## Usage
10
-
11
- ```sh
12
- m365 skype report activityuserdetail [options]
13
- ```
14
-
15
- ## Options
16
-
17
- ```md definition-list
18
- `-p, --period [period]`
19
- : The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
20
-
21
- `-d, --date [date]`
22
- : The date for which you would like to view the users who performed any activity. Supported date format is YYYY-MM-DD. Specify the date or period, but not both
23
- ```
24
-
25
- <Global />
26
-
27
- ## Remarks
28
-
29
- :::info
30
-
31
- This command supports only csv and json output.
32
-
33
- :::
34
-
35
- ## Examples
36
-
37
- Gets details about Skype for Business activity by user for the last week
38
-
39
- ```sh
40
- m365 skype report activityuserdetail --period D7
41
- ```
42
-
43
- Gets details about Skype for Business activity by user for May 1, 2019
44
-
45
- ```sh
46
- m365 skype report activityuserdetail --date 2019-05-01
47
- ```
48
-
49
- Gets details about Skype for Business activity by user for the last week and exports the report data in the specified path in text format
50
-
51
- ```sh
52
- m365 skype report activityuserdetail --period D7 --output text > "activityuserdetail.txt"
53
- ```
54
-
55
- Gets details about Skype for Business activity by user for the last week and exports the report data in the specified path in json format
56
-
57
- ```sh
58
- m365 skype report activityuserdetail --period D7 --output json > "activityuserdetail.json"
59
- ```
60
-
61
- ## Response
62
-
63
- <Tabs>
64
- <TabItem value="JSON">
65
-
66
- ```json
67
- [
68
- {
69
- "Report Refresh Date": "2023-01-25",
70
- "User Principal Name": "john.doe@contoso.com",
71
- "Is Deleted": "False",
72
- "Deleted Date": "",
73
- "Last Activity Date": "2021-03-22",
74
- "Total Peer-to-peer Session Count": "0",
75
- "Total Organized Conference Count": "0",
76
- "Total Participated Conference Count": "0",
77
- "Peer-to-peer Last Activity Date": "2021-03-22",
78
- "Organized Conference Last Activity Date": "2021-02-15",
79
- "Participated Conference Last Activity Date": "2021-02-15",
80
- "Peer-to-peer IM Count": "0",
81
- "Peer-to-peer Audio Count": "0",
82
- "Peer-to-peer Audio Minutes": "0",
83
- "Peer-to-peer Video Count": "0",
84
- "Peer-to-peer Video Minutes": "0",
85
- "Peer-to-peer App Sharing Count": "0",
86
- "Peer-to-peer File Transfer Count": "0",
87
- "Organized Conference IM Count": "0",
88
- "Organized Conference Audio/Video Count": "0",
89
- "Organized Conference Audio/Video Minutes": "0",
90
- "Organized Conference App Sharing Count": "0",
91
- "Organized Conference Web Count": "0",
92
- "Organized Conference Dial-in/out 3rd Party Count": "0",
93
- "Organized Conference Dial-in/out Microsoft Count": "0",
94
- "Organized Conference Dial-in Microsoft Minutes": "0",
95
- "Organized Conference Dial-out Microsoft Minutes": "0",
96
- "Participated Conference IM Count": "0",
97
- "Participated Conference Audio/Video Count": "0",
98
- "Participated Conference Audio/Video Minutes": "0",
99
- "Participated Conference App Sharing Count": "0",
100
- "Participated Conference Web Count": "0",
101
- "Participated Conference Dial-in/out 3rd Party Count": "0",
102
- "Assigned Products": "MICROSOFT 365 E5+MICROSOFT POWER APPS PLAN 2 TRIAL+POWER BI (FREE)+MICROSOFT POWER AUTOMATE FREE+POWER AUTOMATE PER USER PLAN",
103
- "Report Period": "7"
104
- }
105
- ]
106
- ```
107
-
108
- </TabItem>
109
- <TabItem value="Text">
110
-
111
- ```txt
112
- 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
113
- 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
114
- ```
115
-
116
- </TabItem>
117
- <TabItem value="CSV">
118
-
119
- ```csv
120
- 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
121
- 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
122
- ```
123
-
124
- </TabItem>
125
- <TabItem value="Markdown">
126
-
127
- ```md
128
- 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
129
- 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
130
- ```
131
-
132
- </TabItem>
133
- </Tabs>
134
-
@@ -1,69 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
-
3
- # spo mail send
4
-
5
- Sends an e-mail from SharePoint
6
-
7
- ## Usage
8
-
9
- ```sh
10
- m365 spo mail send [options]
11
- ```
12
-
13
- ## Options
14
-
15
- ```md definition-list
16
- `-u, --webUrl <webUrl>`
17
- : Absolute URL of the site from which the email will be sent
18
-
19
- `--to <to>`
20
- : Comma-separated list of recipients' e-mail addresses
21
-
22
- `--subject <subject>`
23
- : Subject of the e-mail
24
-
25
- `--body <body>`
26
- : Content of the e-mail
27
-
28
- `--from [from]`
29
- : Sender's e-mail address
30
-
31
- `--cc [cc]`
32
- : Comma-separated list of CC recipients
33
-
34
- `--bcc [bcc]`
35
- : Comma-separated list of BCC recipients
36
-
37
- `--additionalHeaders [additionalHeaders]`
38
- : JSON string with additional headers
39
- ```
40
-
41
- <Global />
42
-
43
- ## Remarks
44
-
45
- All recipients (internal and external) have to have access to the target SharePoint site.
46
-
47
- ## Examples
48
-
49
- Send an e-mail
50
-
51
- ```sh
52
- m365 spo mail send --webUrl https://contoso.sharepoint.com/sites/project-x --to "user@contoso.com" --subject "Email sent via CLI for Microsoft 365" --body "<h1>CLI for Microsoft 365</h1>Email sent via <b>command</b>."
53
- ```
54
-
55
- Send an e-mail to multiples addresses
56
-
57
- ```sh
58
- m365 spo mail send --webUrl https://contoso.sharepoint.com/sites/project-x --to "user1@contoso.com,user2@contoso.com" --subject "Email sent via CLI for Microsoft 365" --body "<h1>CLI for Microsoft 365</h1>Email sent via <b>command</b>." --cc "user3@contoso.com" --bcc "user4@contoso.com"
59
- ```
60
-
61
- Send an e-mail with additional headers
62
-
63
- ```sh
64
- m365 spo mail send --webUrl https://contoso.sharepoint.com/sites/project-x --to "user@contoso.com" --subject "Email sent via CLI for Microsoft 365" --body "<h1>CLI for Microsoft 365</h1>Email sent via <b>command</b>." --additionalHeaders "'{\"X-MC-Tags\":\"CLI for Microsoft 365\"}'"
65
- ```
66
-
67
- ## Response
68
-
69
- The command won't return a response on success.
@@ -1,174 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
- import Tabs from '@theme/Tabs';
3
- import TabItem from '@theme/TabItem';
4
-
5
- # viva engage group list
6
-
7
- Returns the list of groups in a Viva Engage network or the groups for a specific user
8
-
9
- ## Usage
10
-
11
- ```sh
12
- m365 viva engage group list [options]
13
- ```
14
-
15
- ## Options
16
-
17
- ```md definition-list
18
- `--userId [userId]`
19
- : Returns the groups for a specific user
20
-
21
- `--limit [limit]`
22
- : Limits the groups returned
23
- ```
24
-
25
- <Global />
26
-
27
- ## Remarks
28
-
29
- :::warning
30
-
31
- In order to use this command, you need to grant the Microsoft Entra application used by the CLI for Microsoft 365 the permission to the Viva Engage API. To do this, execute the `cli consent --service VivaEngage` command.
32
-
33
- :::
34
-
35
- ## Examples
36
-
37
- Returns all Viva Engage network groups
38
-
39
- ```sh
40
- m365 viva engage group list
41
- ```
42
-
43
- Returns all Viva Engage network groups for the user with the ID `5611239081`
44
-
45
- ```sh
46
- m365 viva engage group list --userId 5611239081
47
- ```
48
-
49
- Returns the first 10 Viva Engage network groups
50
-
51
- ```sh
52
- m365 viva engage group list --limit 10
53
- ```
54
-
55
- Returns the first 10 Viva Engage network groups for the user with the ID `5611239081`
56
-
57
- ```sh
58
- m365 viva engage group list --userId 5611239081 --limit 10
59
- ```
60
-
61
- ## Response
62
-
63
- <Tabs>
64
- <TabItem value="JSON">
65
-
66
- ```json
67
- [
68
- {
69
- "type": "group",
70
- "id": 31158067201,
71
- "email": "",
72
- "full_name": "Contoso Hub",
73
- "network_id": 5897756673,
74
- "name": "contosohub",
75
- "description": "",
76
- "privacy": "public",
77
- "url": "https://www.yammer.com/api/v1/groups/31158067201",
78
- "web_url": "https://www.yammer.com/contoso.onmicrosoft.com/#/threads/inGroup?type=in_group&feedId=31158067201",
79
- "mugshot_url": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group_profile.png?P1=1668205176&P2=104&P3=1&P4=l98Wk4FkhCqVX1J8bQ_8yZDbK4cfU1lQGgkK0Ak1k2g-tfLV9_ecm6k7FyFApCq3Xnzl7NPKpGLWT2IVD-Ft5q3VSCwzv5c0A1l-SFC5MrfN25BIsR9ux8K-LlYbFUF3yeh-vFk_IxwE-AI2xEVCuq0aoINzHiIW4Gi5IxC6mDDni72sE2LuM3X4LooEowEYrzfz5d-m9hMveU1E8KPPEmq3WTejhJ_Bc3zY3XA3n4jEPDnZ09uPUyVCBpa84Ysh-GGSkFWsPBAldAQAbbzcjip_SzrfKz868BolCLlbM3DwRQfyDH9Of9IYEZpu1U85hBuNoolF68rKPVL6-bxl2w&size=48x48",
80
- "mugshot_redirect_url": "https://www.yammer.com/mugshot/images/redirect/48x48/group_profile.png",
81
- "mugshot_url_template": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group_profile.png?P1=1668205176&P2=104&P3=1&P4=l98Wk4FkhCqVX1J8bQ_8yZDbK4cfU1lQGgkK0Ak1k2g-tfLV9_ecm6k7FyFApCq3Xnzl7NPKpGLWT2IVD-Ft5q3VSCwzv5c0A1l-SFC5MrfN25BIsR9ux8K-LlYbFUF3yeh-vFk_IxwE-AI2xEVCuq0aoINzHiIW4Gi5IxC6mDDni72sE2LuM3X4LooEowEYrzfz5d-m9hMveU1E8KPPEmq3WTejhJ_Bc3zY3XA3n4jEPDnZ09uPUyVCBpa84Ysh-GGSkFWsPBAldAQAbbzcjip_SzrfKz868BolCLlbM3DwRQfyDH9Of9IYEZpu1U85hBuNoolF68rKPVL6-bxl2w&size={width}x{height}",
82
- "mugshot_redirect_url_template": "https://www.yammer.com/mugshot/images/redirect/{width}x{height}/group_profile.png",
83
- "mugshot_id": null,
84
- "show_in_directory": "true",
85
- "created_at": "2022/11/11 20:54:52 +0000",
86
- "aad_guests": 0,
87
- "color": "#2c5b85",
88
- "external": false,
89
- "moderated": false,
90
- "header_image_url": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group-header-coffee.png?P1=1668204451&P2=104&P3=1&P4=hPZP6QJbY1Oj4KQZAodyMQyvjUahlwoqSCMqioVYvDoB-9Fx3qEB3ZTM7I_TF-mceKqGVDtasUIH8ZDYEfjTg9zgWWDpmkREJySioTZ0WcPtHIUkh2GUWJOfr-5aX9QhdpE1Fpp94mltGCtBc_nqlEbgIAYCJtBKgLAgUFZ4L2WSkQNn5Y_JLp5cM9Gnf7Z3MmHniN0Na1oemDhZ1vOsGCtaU09WPB5oNoSUMfwqYSKjF5IqXdd55Y3F2NZuuyTHoZS65BFZR9OJaICXJs6Q2dNExLqMvGQ76_aZsgli-BG67MVwfDsmqpxsjZZOBIZGQOEKc4D_bx8iQUHZD7p2xA",
91
- "category": "unclassified",
92
- "default_thread_starter_type": "normal",
93
- "restricted_posting": false,
94
- "company_group": false,
95
- "creator_type": "user",
96
- "creator_id": 36425097217,
97
- "state": "active",
98
- "stats": {
99
- "members": 1,
100
- "aad_guests": 0,
101
- "updates": 0,
102
- "last_message_id": null,
103
- "last_message_at": null
104
- }
105
- }
106
- ]
107
- ```
108
-
109
- </TabItem>
110
- <TabItem value="Text">
111
-
112
- ```text
113
- email :
114
- external : false
115
- id : 31158067201
116
- moderated: false
117
- name : contosohub
118
- privacy : public
119
- ```
120
-
121
- </TabItem>
122
- <TabItem value="CSV">
123
-
124
- ```csv
125
- id,name,email,privacy,external,moderated
126
- 31158067201,wombathub,,public,false,false
127
- ```
128
-
129
- </TabItem>
130
- <TabItem value="Markdown">
131
-
132
- ```md
133
- # viva engage group list --limit "1"
134
-
135
- Date: 2023-05-16
136
-
137
- ## leadership (123412865024)
138
-
139
- Property | Value
140
- ---------|-------
141
- type | group
142
- id | 123412865024
143
- email | leadership+contoso.onmicrosoft.com@yammer.com
144
- full\_name | Leadership
145
- network\_id | 98327945216
146
- name | leadership
147
- description | Share what's on your mind and get important announcements from Patti and the rest of the Leadership Team.
148
- privacy | public
149
- url | https://www.yammer.com/api/v1/groups/123412865024
150
- web\_url | https://www.yammer.com/contoso.onmicrosoft.com/#/threads/inGroup?type=in\_group&feedId=123412865024
151
- mugshot\_url | https://mugshot0.assets-yammer.com/mugshot/images/5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs?P1=1684267104&P2=104&P3=1&P4=igdO9ZCQbSd5YS7tzwuIFj9CmMPsPWWpAjsk0xGDGrciD-3XKKsHbYx-e6H22yZ6OqLc3zt\_5ZOWefd8l537cWNUOPzeDg2lz\_fNxx1bowFMIdz6mRCHcCwygEwtKI0HxX5eHd4cdJBg54c4R6VN1\_Oex7Ug9Are6hVux4DsLg7eoNMMYvvcjXUp2zcT7o6bXYcZM2WBf\_r1IC24Sb-PLaSfAtKJZsswBBTkmz\_B7O5PZFcY4TQJvd5XzwEL17aqWm1hV1MCUSEd3Ms7Clc7KwxA0Hhv1rWYF064siAHEDiVlKZrE1yN7j-gCt0K1\_xUHWc54TrUIjFxnrwMDGZvzw&size=48x48
152
- mugshot\_redirect\_url | https://www.yammer.com/mugshot/images/redirect/48x48/5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs
153
- mugshot\_url\_template | https://mugshot0.assets-yammer.com/mugshot/images/5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs?P1=1684267104&P2=104&P3=1&P4=igdO9ZCQbSd5YS7tzwuIFj9CmMPsPWWpAjsk0xGDGrciD-3XKKsHbYx-e6H22yZ6OqLc3zt\_5ZOWefd8l537cWNUOPzeDg2lz\_fNxx1bowFMIdz6mRCHcCwygEwtKI0HxX5eHd4cdJBg54c4R6VN1\_Oex7Ug9Are6hVux4DsLg7eoNMMYvvcjXUp2zcT7o6bXYcZM2WBf\_r1IC24Sb-PLaSfAtKJZsswBBTkmz\_B7O5PZFcY4TQJvd5XzwEL17aqWm1hV1MCUSEd3Ms7Clc7KwxA0Hhv1rWYF064siAHEDiVlKZrE1yN7j-gCt0K1\_xUHWc54TrUIjFxnrwMDGZvzw&size={width}x{height}
154
- mugshot\_redirect\_url\_template | https://www.yammer.com/mugshot/images/redirect/{width}x{height}/5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs
155
- mugshot\_id | 5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs
156
- show\_in\_directory | true
157
- created\_at | 2022/12/12 12:51:11 +0000
158
- aad\_guests | 0
159
- color | #0e4f7a
160
- external | false
161
- moderated | false
162
- header\_image\_url | https://mugshot0.assets-yammer.com/mugshot/images/group-header-megaphone.png?P1=1684266783&P2=104&P3=1&P4=FObDxfvTV7O201-7u4v-u4Y25mAZNrpD9QhUqSXbUyC8UaqvGJH7mT5yPtx0Qls\_QUkM3606i0F2GnkQHOwC1tVW8Vse0yNZHWDTyqA\_wSRX\_fn6cP47uoC4wvSsGAmWeb6epr-hJpDW\_qn-1CHQF7cen2Ti9Ap-XncmOiu2Tfd2DTuGyuHKivI6cxGGbIQ5ERU1NgiVEXqKClOMb9qPUBu4dqPc1gfaFDaA1umUslwTG3DRfAIVviECiG1eHI5cjkTX5qifscUXCmEOQU5lLih9J409qVUOPa0vs1clNspm6XtkVaAfC8FB2gaBmEqbVtFBVbAwyoUJhu2KM0Vp7w
163
- category | unclassified
164
- default\_thread\_starter\_type | normal
165
- restricted\_posting | false
166
- company\_group | false
167
- creator\_type | user
168
- creator\_id | 1842176974848
169
- state | active
170
- ```
171
-
172
- </TabItem>
173
- </Tabs>
174
-