@pnp/cli-microsoft365 10.11.0 → 11.0.0-beta.3655c37

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 (86) 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/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
  7. package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +13 -27
  8. package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +18 -43
  9. package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +10 -21
  10. package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +25 -49
  11. package/dist/m365/entra/commands/app/app-add.js +14 -2
  12. package/dist/m365/entra/commands/roleassignment/roleassignment-add.js +146 -0
  13. package/dist/m365/entra/commands.js +1 -0
  14. package/dist/m365/flow/commands/environment/environment-get.js +19 -29
  15. package/dist/m365/graph/commands/openextension/openextension-add.js +2 -2
  16. package/dist/m365/graph/commands/openextension/openextension-set.js +2 -6
  17. package/dist/m365/outlook/commands/mail/mail-searchfolder-add.js +85 -0
  18. package/dist/m365/outlook/commands.js +1 -0
  19. package/dist/m365/pa/commands/environment/environment-get.js +18 -23
  20. package/dist/m365/pp/commands/copilot/copilot-get.js +0 -4
  21. package/dist/m365/pp/commands/copilot/copilot-list.js +0 -4
  22. package/dist/m365/pp/commands/copilot/copilot-remove.js +0 -4
  23. package/dist/m365/pp/commands/environment/environment-get.js +19 -26
  24. package/dist/m365/pp/commands.js +0 -7
  25. package/dist/m365/spfx/commands/project/project-upgrade.js +23 -66
  26. package/dist/m365/spo/commands/customaction/customaction-list.js +3 -10
  27. package/dist/m365/spo/commands/file/file-version-keep.js +78 -0
  28. package/dist/m365/spo/commands/homesite/homesite-get.js +28 -14
  29. package/dist/m365/spo/commands/homesite/homesite-list.js +1 -12
  30. package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -34
  31. package/dist/m365/spo/commands/homesite/homesite-set.js +88 -44
  32. package/dist/m365/spo/commands/list/list-view-add.js +1 -1
  33. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +17 -25
  34. package/dist/m365/spo/commands.js +1 -2
  35. package/dist/m365/teams/commands/report/report-directroutingcalls.js +5 -12
  36. package/dist/m365/teams/commands/report/report-pstncalls.js +5 -12
  37. package/dist/m365/viva/commands.js +0 -3
  38. package/dist/utils/entraAdministrativeUnit.js +1 -1
  39. package/dist/utils/entraApp.js +15 -0
  40. package/docs/docs/cmd/entra/app/app-add.mdx +7 -1
  41. package/docs/docs/cmd/entra/roleassignment/roleassignment-add.mdx +163 -0
  42. package/docs/docs/cmd/flow/environment/environment-get.mdx +6 -5
  43. package/docs/docs/cmd/outlook/mail/mail-searchfolder-add.mdx +147 -0
  44. package/docs/docs/cmd/pa/environment/environment-get.mdx +5 -2
  45. package/docs/docs/cmd/pp/copilot/copilot-get.mdx +0 -6
  46. package/docs/docs/cmd/pp/copilot/copilot-list.mdx +0 -6
  47. package/docs/docs/cmd/pp/copilot/copilot-remove.mdx +0 -6
  48. package/docs/docs/cmd/pp/environment/environment-get.mdx +5 -2
  49. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +18 -5
  50. package/docs/docs/cmd/spo/file/file-version-keep.mdx +68 -0
  51. package/docs/docs/cmd/spo/homesite/homesite-get.mdx +44 -23
  52. package/docs/docs/cmd/spo/homesite/homesite-list.mdx +0 -6
  53. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +10 -35
  54. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +85 -45
  55. package/docs/docs/cmd/spo/list/list-view-add.mdx +11 -11
  56. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.mdx +18 -18
  57. package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +25 -44
  58. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +25 -48
  59. package/docs/docs/cmd/viva/engage/engage-community-list.mdx +19 -0
  60. package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +19 -0
  61. package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +19 -0
  62. package/npm-shrinkwrap.json +53 -53
  63. package/package.json +13 -13
  64. package/dist/m365/pp/commands/card/card-clone.js +0 -101
  65. package/dist/m365/pp/commands/card/card-get.js +0 -89
  66. package/dist/m365/pp/commands/card/card-list.js +0 -55
  67. package/dist/m365/pp/commands/card/card-remove.js +0 -105
  68. package/dist/m365/skype/commands/report/report-activitycounts.js +0 -15
  69. package/dist/m365/skype/commands/report/report-activityusercounts.js +0 -15
  70. package/dist/m365/skype/commands/report/report-activityuserdetail.js +0 -15
  71. package/dist/m365/skype/commands.js +0 -7
  72. package/dist/m365/spo/commands/mail/mail-send.js +0 -108
  73. package/dist/m365/viva/commands/engage/engage-group-list.js +0 -93
  74. package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -73
  75. package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -88
  76. package/docs/docs/cmd/pp/card/card-clone.mdx +0 -103
  77. package/docs/docs/cmd/pp/card/card-get.mdx +0 -212
  78. package/docs/docs/cmd/pp/card/card-list.mdx +0 -163
  79. package/docs/docs/cmd/pp/card/card-remove.mdx +0 -86
  80. package/docs/docs/cmd/skype/report/report-activitycounts.mdx +0 -96
  81. package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +0 -96
  82. package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +0 -134
  83. package/docs/docs/cmd/spo/mail/mail-send.mdx +0 -69
  84. package/docs/docs/cmd/viva/engage/engage-group-list.mdx +0 -174
  85. package/docs/docs/cmd/viva/engage/engage-group-user-add.mdx +0 -60
  86. package/docs/docs/cmd/viva/engage/engage-group-user-remove.mdx +0 -58
@@ -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
-
@@ -1,60 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
-
3
- # viva engage group user add
4
-
5
- Adds a user to a Viva Engage Group
6
-
7
- ## Usage
8
-
9
- ```sh
10
- m365 viva engage group user add [options]
11
- ```
12
-
13
- ## Options
14
-
15
- ```md definition-list
16
- `--groupId <groupId>`
17
- : The ID of the group to add the user to
18
-
19
- `--id [id]`
20
- : ID of the user to add to the group. If not specified, adds the current user
21
-
22
- `--email [email]`
23
- : E-mail of the user to add to the group
24
- ```
25
-
26
- <Global />
27
-
28
- ## Remarks
29
-
30
- :::warning
31
-
32
- 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.
33
-
34
- :::
35
-
36
- If the specified user is not a member of the network, the command will return an HTTP 400 error message.
37
-
38
- ## Examples
39
-
40
- Adds the current user to the group with the ID `5611239081`
41
-
42
- ```sh
43
- m365 viva engage group user add --groupId 5611239081
44
- ```
45
-
46
- Adds the user with ID `66622349` to the group with the ID `5611239081`
47
-
48
- ```sh
49
- m365 viva engage group user add --groupId 5611239081 --id 66622349
50
- ```
51
-
52
- Adds the user with e-mail to the group with ID `5611239081`
53
-
54
- ```sh
55
- m365 viva engage group user add --groupId 5611239081 --email suzy@contoso.com
56
- ```
57
-
58
- ## Response
59
-
60
- The command won't return a response on success.
@@ -1,58 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
-
3
- # viva engage group user remove
4
-
5
- Removes a user from a Viva Engage group
6
-
7
- ## Usage
8
-
9
- ```sh
10
- m365 viva engage group user remove [options]
11
- ```
12
-
13
- ## Options
14
-
15
- ```md definition-list
16
- `--groupId <groupId>`
17
- : The ID of the Viva Engage group.
18
-
19
- `--id [id]`
20
- : ID of the user to remove from the group. If not specified, removes the current user.
21
-
22
- `-f, --force`
23
- : Don't prompt for confirmation.
24
- ```
25
-
26
- <Global />
27
-
28
- ## Remarks
29
-
30
- :::warning
31
-
32
- 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.
33
-
34
- :::
35
-
36
- ## Examples
37
-
38
- Remove the current user from the group with the ID `5611239081`
39
-
40
- ```sh
41
- m365 viva engage group user remove --groupId 5611239081
42
- ```
43
-
44
- Remove the user with the ID `66622349` from the group with the ID `5611239081`
45
-
46
- ```sh
47
- m365 viva engage group user remove --groupId 5611239081 --id 66622349
48
- ```
49
-
50
- Remove the user with the ID `66622349` from the group with the ID `5611239081` without asking for confirmation
51
-
52
- ```sh
53
- m365 viva engage group user remove --groupId 5611239081 --id 66622349 --force
54
- ```
55
-
56
- ## Response
57
-
58
- The command won't return a response on success.