@pnp/cli-microsoft365 9.0.0-beta.2f8dd1e → 9.0.0-beta.39e78b2
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.
- package/.eslintrc.cjs +1 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +10 -18
- package/dist/Command.js +50 -5
- package/dist/chili/chili.js +0 -23
- package/dist/cli/cli.js +100 -100
- package/dist/config.js +1 -1
- package/dist/m365/app/commands/permission/permission-add.js +9 -9
- package/dist/m365/cli/commands/cli-consent.js +3 -7
- package/dist/m365/commands/login.js +49 -96
- package/dist/m365/commands/setup.js +0 -4
- package/dist/m365/commands/status.js +2 -2
- package/dist/m365/connection/commands/connection-remove.js +6 -2
- package/dist/m365/connection/commands/connection-set.js +4 -1
- package/dist/m365/connection/commands/connection-use.js +25 -4
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +13 -13
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +18 -18
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -1
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +123 -0
- package/dist/m365/entra/commands/group/group-set.js +256 -0
- package/dist/m365/entra/commands/group/group-user-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
- package/dist/m365/entra/commands/m365group/m365group-set.js +66 -29
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +109 -32
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +6 -9
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +159 -84
- package/dist/m365/entra/commands/multitenant/MultitenantOrganization.js +2 -0
- package/dist/m365/entra/commands/multitenant/multitenant-add.js +65 -0
- package/dist/m365/entra/commands/multitenant/multitenant-get.js +32 -0
- package/dist/m365/entra/commands/multitenant/multitenant-remove.js +118 -0
- package/dist/m365/entra/commands/multitenant/multitenant-set.js +72 -0
- package/dist/m365/entra/commands.js +7 -0
- package/dist/m365/external/commands/connection/connection-doctor.js +10 -24
- package/dist/m365/flow/commands/flow-get.js +1 -1
- package/dist/m365/flow/commands/flow-list.js +23 -24
- package/dist/m365/graph/commands/subscription/subscription-add.js +4 -2
- package/dist/m365/onenote/commands/notebook/notebook-add.js +132 -0
- package/dist/m365/onenote/commands.js +1 -0
- package/dist/m365/outlook/commands/message/message-get.js +11 -11
- package/dist/m365/pa/commands/app/app-export.js +13 -7
- package/dist/m365/spe/ContainerTypeProperties.js +2 -0
- package/dist/m365/spe/commands/containertype/containertype-list.js +49 -0
- package/dist/m365/spe/commands.js +2 -1
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +1 -1
- package/dist/m365/spfx/commands/project/base-project-command.js +36 -126
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -10
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +16 -22
- package/dist/m365/spo/commands/cdn/cdn-get.js +12 -15
- package/dist/m365/spo/commands/cdn/cdn-set.js +6 -4
- package/dist/m365/spo/commands/commandset/commandset-get.js +31 -17
- package/dist/m365/spo/commands/contenttype/contenttype-field-list.js +124 -0
- package/dist/m365/spo/commands/field/field-list.js +1 -1
- package/dist/m365/spo/commands/file/file-copy.js +55 -34
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/folder/folder-set.js +0 -4
- package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +86 -0
- package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +110 -0
- package/dist/m365/spo/commands/group/group-member-add.js +103 -99
- package/dist/m365/spo/commands/list/ListInstance.js +6 -1
- package/dist/m365/spo/commands/list/list-get.js +9 -3
- package/dist/m365/spo/commands/list/list-list.js +1 -4
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +46 -21
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +48 -46
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -3
- package/dist/m365/spo/commands/page/page-text-add.js +2 -3
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +48 -24
- package/dist/m365/spo/commands/site/site-get.js +12 -16
- package/dist/m365/spo/commands/site/site-remove.js +1 -7
- package/dist/m365/spo/commands/spo-search.js +3 -4
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +19 -5
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +20 -6
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +2 -22
- package/dist/m365/spo/commands.js +3 -1
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
- package/dist/m365/teams/commands/message/message-remove.js +112 -0
- package/dist/m365/teams/commands/message/message-restore.js +106 -0
- package/dist/m365/teams/commands.js +3 -0
- package/dist/m365/viva/commands/engage/engage-community-add.js +166 -0
- package/dist/m365/viva/commands/engage/engage-group-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -5
- package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-add.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-get.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-like-set.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-remove.js +0 -5
- package/dist/m365/viva/commands/engage/engage-network-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-search.js +0 -5
- package/dist/m365/viva/commands/engage/engage-user-get.js +0 -5
- package/dist/m365/viva/commands/engage/engage-user-list.js +0 -5
- package/dist/m365/viva/commands.js +1 -0
- package/dist/utils/drive.js +61 -0
- package/dist/utils/formatting.js +30 -1
- package/dist/utils/spo.js +143 -6
- package/dist/utils/teams.js +49 -0
- package/dist/utils/validation.js +19 -0
- package/dist/utils/zod.js +124 -0
- package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
- package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
- package/docs/docs/cmd/connection/connection-use.mdx +8 -2
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +12 -12
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +14 -14
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +5 -5
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +65 -0
- package/docs/docs/cmd/entra/group/group-add.mdx +0 -4
- package/docs/docs/cmd/entra/group/group-set.mdx +89 -0
- package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
- package/docs/docs/cmd/entra/m365group/m365group-set.mdx +37 -7
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +28 -10
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +35 -11
- package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +107 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +94 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +58 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +53 -0
- package/docs/docs/cmd/external/connection/connection-doctor.mdx +9 -9
- package/docs/docs/cmd/flow/flow-get.mdx +149 -283
- package/docs/docs/cmd/flow/flow-list.mdx +114 -56
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +18 -0
- package/docs/docs/cmd/onenote/notebook/notebook-add.mdx +169 -0
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
- package/docs/docs/cmd/pa/app/app-export.mdx +15 -9
- package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
- package/docs/docs/cmd/spe/containertype/containertype-list.mdx +102 -0
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +11 -12
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +88 -38
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +22 -28
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +3 -3
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +75 -24
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +26 -32
- package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +172 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +3 -3
- package/docs/docs/cmd/spo/field/field-list.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-copy.mdx +119 -12
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-set.mdx +0 -6
- package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +110 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +114 -0
- package/docs/docs/cmd/spo/group/group-member-add.mdx +34 -27
- package/docs/docs/cmd/spo/list/list-get.mdx +6 -0
- package/docs/docs/cmd/spo/list/list-list.mdx +5 -7
- package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +15 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +15 -3
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +4 -4
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +9 -9
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +7 -7
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +11 -2
- package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-remove.mdx +0 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +79 -30
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +20 -19
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +84 -38
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +20 -19
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +2 -49
- package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +138 -0
- package/docs/docs/cmd/teams/meeting/meeting-list.mdx +7 -3
- package/docs/docs/cmd/teams/message/message-remove.mdx +64 -0
- package/docs/docs/cmd/teams/message/message-restore.mdx +62 -0
- package/docs/docs/cmd/viva/engage/engage-community-add.mdx +168 -0
- package/npm-shrinkwrap.json +986 -1326
- package/package.json +27 -24
- package/dist/m365/viva/commands/engage/yammerCommands.js +0 -25
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# teams meeting attendancereport get
|
|
6
|
+
|
|
7
|
+
Gets attendance report for a given meeting
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 teams meeting attendancereport get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --userId [userId]`
|
|
19
|
+
: The id of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
|
|
20
|
+
|
|
21
|
+
`-n, --userName [userName]`
|
|
22
|
+
: The name of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
|
|
23
|
+
|
|
24
|
+
`--email [email]`
|
|
25
|
+
: The email of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
|
|
26
|
+
|
|
27
|
+
`-m, --meetingId <meetingId>`
|
|
28
|
+
: The Id of the meeting.
|
|
29
|
+
|
|
30
|
+
`-i, --id <id>`
|
|
31
|
+
: The Id of the attendance report.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
:::warning
|
|
39
|
+
|
|
40
|
+
To run this command with application permissions, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user. For more details, click [here](https://learn.microsoft.com/graph/cloud-communication-online-meeting-application-access-policy).
|
|
41
|
+
|
|
42
|
+
:::
|
|
43
|
+
|
|
44
|
+
:::note
|
|
45
|
+
|
|
46
|
+
This method doesn't support channel meetings.
|
|
47
|
+
|
|
48
|
+
:::
|
|
49
|
+
|
|
50
|
+
## Examples
|
|
51
|
+
|
|
52
|
+
Gets the specified attendance report made for the current signed in user and Microsoft Teams meeting with given id.
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
m365 teams meeting attendancereport get --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --id a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Gets the specified attendance report made for the garthf@contoso.com and Microsoft Teams meeting with given id.
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
m365 teams meeting attendancereport list --userName garthf@contoso.com --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --id a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Response
|
|
65
|
+
|
|
66
|
+
<Tabs>
|
|
67
|
+
<TabItem value="JSON">
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"id": "a8634e64-3147-4a56-9b19-cc822e9c7972",
|
|
72
|
+
"totalParticipantCount": 1,
|
|
73
|
+
"meetingStartDateTime": "2024-04-06T08:18:21.668Z",
|
|
74
|
+
"meetingEndDateTime": "2024-04-06T08:18:28.482Z",
|
|
75
|
+
"attendanceRecords": [
|
|
76
|
+
{
|
|
77
|
+
"id": "de36f75e-c103-410b-a18a-2bf6df06ac3b",
|
|
78
|
+
"emailAddress": "john@contoso.com",
|
|
79
|
+
"totalAttendanceInSeconds": 3,
|
|
80
|
+
"role": "Organizer",
|
|
81
|
+
"identity": {
|
|
82
|
+
"id": "de36f75e-c103-410b-a18a-2bf6df06ac3b",
|
|
83
|
+
"displayName": "John Doe",
|
|
84
|
+
"tenantId": "f1dd4023-a656-480a-8a0e-c1b1eec51e1e"
|
|
85
|
+
},
|
|
86
|
+
"attendanceIntervals": [
|
|
87
|
+
{
|
|
88
|
+
"joinDateTime": "2024-04-06T08:18:24.5069531Z",
|
|
89
|
+
"leaveDateTime": "2024-04-06T08:18:28.4820462Z",
|
|
90
|
+
"durationInSeconds": 3
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
</TabItem>
|
|
99
|
+
<TabItem value="Text">
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
attendanceRecords : [{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","emailAddress":"john@contoso.com","totalAttendanceInSeconds":3,"role":"Organizer","identity":{"id":"de36f75e-c103-410b-a18a-2bf6df06ac3b","displayName":"John Doe","tenantId":"f1dd4023-a656-480a-8a0e-c1b1eec51e1e"},"attendanceIntervals":[{"joinDateTime":"2024-04-06T08:18:24.5069531Z","leaveDateTime":"2024-04-06T08:18:28.4820462Z","durationInSeconds":3}]}]
|
|
103
|
+
id : a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
104
|
+
meetingEndDateTime : 2024-04-06T08:18:28.482Z
|
|
105
|
+
meetingStartDateTime : 2024-04-06T08:18:21.668Z
|
|
106
|
+
totalParticipantCount: 1
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
</TabItem>
|
|
110
|
+
<TabItem value="CSV">
|
|
111
|
+
|
|
112
|
+
```csv
|
|
113
|
+
id,totalParticipantCount,meetingStartDateTime,meetingEndDateTime
|
|
114
|
+
a8634e64-3147-4a56-9b19-cc822e9c7972,1,2024-04-06T08:18:21.668Z,2024-04-06T08:18:28.482Z
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
</TabItem>
|
|
118
|
+
|
|
119
|
+
<TabItem value="Markdown">
|
|
120
|
+
|
|
121
|
+
```md
|
|
122
|
+
# teams meeting attendancereport get --meetingId "MSpmZTM2Zjc1ZS1jMTAzLTQxMGItYTE4YS0yYmY2ZGYwNmFjM2EqMCoqMTk6bWVldGluZ19NRGt4TnpSaE56UXRZekZtWlMwMFlqWTFMVGhoTVRFdFpUWTBOV1JqTnpoaFkyVTVAdGhyZWFkLnYy" --id "a8634e64-3147-4a56-9b19-cc822e9c7972"
|
|
123
|
+
|
|
124
|
+
Date: 09/04/2024
|
|
125
|
+
|
|
126
|
+
## a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
127
|
+
|
|
128
|
+
Property | Value
|
|
129
|
+
---------|-------
|
|
130
|
+
id | a8634e64-3147-4a56-9b19-cc822e9c7972
|
|
131
|
+
totalParticipantCount | 1
|
|
132
|
+
meetingStartDateTime | 2024-04-06T08:18:21.668Z
|
|
133
|
+
meetingEndDateTime | 2024-04-06T08:18:28.482Z
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
</TabItem>
|
|
137
|
+
</Tabs>
|
|
138
|
+
|
|
@@ -25,17 +25,21 @@ m365 teams meeting list [options]
|
|
|
25
25
|
: Set to retrieve only meetings the user is organizer for.
|
|
26
26
|
|
|
27
27
|
`-u, --userId [userId]`
|
|
28
|
-
: The id of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `
|
|
28
|
+
: The id of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `userId`, `userName` or `email`, but not multiple. Use only when using application permissions.
|
|
29
29
|
|
|
30
30
|
`-n, --userName [userName]`
|
|
31
|
-
: The name of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `
|
|
31
|
+
: The name of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `userId`, `userName` or `email`, but not multiple. Use only when using application permissions.
|
|
32
32
|
|
|
33
33
|
`--email [email]`
|
|
34
|
-
: The email of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `
|
|
34
|
+
: The email of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `userId`, `userName` or `email`, but not multiple. Use only when using application permissions.
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
<Global />
|
|
38
38
|
|
|
39
|
+
## Remarks
|
|
40
|
+
|
|
41
|
+
To use application permission for this command, an [application access policy](https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy) must be created and assigned to a user. This authorizes the app configured in the policy to retrieve online meetings on behalf of that user.
|
|
42
|
+
|
|
39
43
|
## Examples
|
|
40
44
|
|
|
41
45
|
List all meetings of the currently logged in user between two specific dates
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# teams message remove
|
|
4
|
+
|
|
5
|
+
Removes a message from a channel in a Microsoft Teams team
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 teams message remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`--teamId [teamId]`
|
|
17
|
+
: ID of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
|
|
18
|
+
|
|
19
|
+
`--teamName [teamName]`
|
|
20
|
+
: Name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
|
|
21
|
+
|
|
22
|
+
`--channelId [channelId]`
|
|
23
|
+
: Channel ID of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
|
|
24
|
+
|
|
25
|
+
`--channelName [channelName]`
|
|
26
|
+
: Channel name of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
|
|
27
|
+
|
|
28
|
+
`-i, --id <id>`
|
|
29
|
+
: The ID of the Teams message.
|
|
30
|
+
|
|
31
|
+
`-f, --force`
|
|
32
|
+
: Don't prompt for confirmation.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<Global />
|
|
36
|
+
|
|
37
|
+
## Remarks
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
:::info
|
|
41
|
+
|
|
42
|
+
This command does only support delegated permissions.
|
|
43
|
+
|
|
44
|
+
:::
|
|
45
|
+
|
|
46
|
+
You can only remove Microsoft Teams messages that you created yourself.
|
|
47
|
+
|
|
48
|
+
## Examples
|
|
49
|
+
|
|
50
|
+
Remove a message by using IDs
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 teams message remove --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2 --id 1540747442203
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Remove a message by using display names
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
m365 teams message remove --teamName Marketing --channelName Branding --id 1540747442203
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Response
|
|
63
|
+
|
|
64
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# teams message restore
|
|
6
|
+
|
|
7
|
+
Restores a deleted message from a channel in a Microsoft Teams team
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 teams message restore [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--teamId [teamId]`
|
|
19
|
+
: ID of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
|
|
20
|
+
|
|
21
|
+
`--teamName [teamName]`
|
|
22
|
+
: Name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
|
|
23
|
+
|
|
24
|
+
`--channelId [channelId]`
|
|
25
|
+
: Channel ID of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
|
|
26
|
+
|
|
27
|
+
`--channelName [channelName]`
|
|
28
|
+
: Channel name of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
|
|
29
|
+
|
|
30
|
+
`-i, --id <id>`
|
|
31
|
+
: The ID of the Teams message.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
:::info
|
|
39
|
+
|
|
40
|
+
This command does only support delegated permissions.
|
|
41
|
+
|
|
42
|
+
:::
|
|
43
|
+
|
|
44
|
+
You can only restore Microsoft Teams messages that you created yourself.
|
|
45
|
+
|
|
46
|
+
## Examples
|
|
47
|
+
|
|
48
|
+
Restore a deleted message by using IDs
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 teams message restore --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2 --id 1540747442203
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Restore a deleted message by using display names
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 teams message restore --teamName Marketing --channelName Branding --id 1540747442203
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# viva engage community add
|
|
6
|
+
|
|
7
|
+
Creates a new community in Viva Engage
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 viva engage community add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--displayName <displayName>`
|
|
19
|
+
: The name of the community. The maximum length is 255 characters.
|
|
20
|
+
|
|
21
|
+
`--description <description>`
|
|
22
|
+
: The description of the community. The maximum length is 1024 characters.
|
|
23
|
+
|
|
24
|
+
`--privacy <privacy>`
|
|
25
|
+
: Defines the privacy level of the community. The possible values are: `public`, `private`.
|
|
26
|
+
|
|
27
|
+
`--adminEntraIds [adminEntraIds]`
|
|
28
|
+
: Comma-separated list of Microsoft Entra IDs, assigning admin privileges to the designated individuals. Required when using application permissions. Specify either `adminEntraIds` or `adminEntraUserNames`, but not both.
|
|
29
|
+
|
|
30
|
+
`--adminEntraUserNames [adminEntraUserNames]`
|
|
31
|
+
: Comma-separated list of Microsoft Entra UPNs, assigning admin privileges to the designated individuals. Required when using application permissions. Specify either `adminEntraIds` or `adminEntraUserNames`, but not both.
|
|
32
|
+
|
|
33
|
+
`--wait`
|
|
34
|
+
: Wait for the operation to finish.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Global />
|
|
38
|
+
|
|
39
|
+
## Remarks
|
|
40
|
+
|
|
41
|
+
:::warning
|
|
42
|
+
|
|
43
|
+
This command is based on an API that is currently in preview and is subject to change once the API reaches general availability.
|
|
44
|
+
|
|
45
|
+
:::
|
|
46
|
+
|
|
47
|
+
Creating a community is limited to networks in Native mode only - legacy and external Yammer networks will not be able to use this API for community creation.
|
|
48
|
+
|
|
49
|
+
## Examples
|
|
50
|
+
|
|
51
|
+
Create a public community and wait for the community to be created
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
m365 viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy public --wait
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Create a private community
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
m365 viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy private
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Create a private community with owners
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
m365 viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy private --adminEntraUserNames "john.doe@contoso.onmicrosoft.com,jane.doe@contoso.onmicrosoft.com"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Response
|
|
70
|
+
|
|
71
|
+
### Standard response
|
|
72
|
+
|
|
73
|
+
<Tabs>
|
|
74
|
+
<TabItem value="JSON">
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
"https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI4ZmM2NzEyZS0wMWY4LTQxN2YtYWNmMS1iZTJiYmMxY2FjNGQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ')"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
</TabItem>
|
|
81
|
+
<TabItem value="Text">
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI4ZmM2NzEyZS0wMWY4LTQxN2YtYWNmMS1iZTJiYmMxY2FjNGQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ')
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
</TabItem>
|
|
88
|
+
<TabItem value="CSV">
|
|
89
|
+
|
|
90
|
+
```csv
|
|
91
|
+
https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI4ZmM2NzEyZS0wMWY4LTQxN2YtYWNmMS1iZTJiYmMxY2FjNGQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ')
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
</TabItem>
|
|
95
|
+
<TabItem value="Markdown">
|
|
96
|
+
|
|
97
|
+
```md
|
|
98
|
+
https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI4ZmM2NzEyZS0wMWY4LTQxN2YtYWNmMS1iZTJiYmMxY2FjNGQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ')
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</TabItem>
|
|
102
|
+
</Tabs>
|
|
103
|
+
|
|
104
|
+
### `wait` response
|
|
105
|
+
|
|
106
|
+
When we make use of the option `wait` the response will differ.
|
|
107
|
+
|
|
108
|
+
<Tabs>
|
|
109
|
+
<TabItem value="JSON">
|
|
110
|
+
|
|
111
|
+
```json
|
|
112
|
+
{
|
|
113
|
+
"id": "eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI2ODgxMGQ4ZS1lODk2LTRhNzEtYWM5NC02NGIyZThlMmMyOGUiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ",
|
|
114
|
+
"createdDateTime": "2024-04-10T12:16:18.0240578Z",
|
|
115
|
+
"lastActionDateTime": "2024-04-10T12:16:18.0240592Z",
|
|
116
|
+
"status": "succeeded",
|
|
117
|
+
"statusDetail": null,
|
|
118
|
+
"resourceLocation": "https://graph.microsoft.com/beta/employeeExperience/communities('eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTMxNTAyMDgifQ')",
|
|
119
|
+
"operationType": "createCommunity",
|
|
120
|
+
"resourceId": "eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTMxNTAyMDgifQ"
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
</TabItem>
|
|
125
|
+
<TabItem value="Text">
|
|
126
|
+
|
|
127
|
+
```text
|
|
128
|
+
createdDateTime : 2024-04-10T12:45:03.4020639Z
|
|
129
|
+
id : eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI5NzRkMjUzZS1jMGUzLTQ2YjgtYTkzMy0zZDZhODU1NGE0OWUiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ
|
|
130
|
+
lastActionDateTime: 2024-04-10T12:45:03.4020656Z
|
|
131
|
+
operationType : createCommunity
|
|
132
|
+
resourceId : eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTUwNTA3NTIifQ
|
|
133
|
+
resourceLocation : https://graph.microsoft.com/beta/employeeExperience/communities('eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTUwNTA3NTIifQ')
|
|
134
|
+
status : succeeded
|
|
135
|
+
statusDetail : null
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
</TabItem>
|
|
139
|
+
<TabItem value="CSV">
|
|
140
|
+
|
|
141
|
+
```csv
|
|
142
|
+
id,createdDateTime,lastActionDateTime,status,statusDetail,resourceLocation,operationType,resourceId
|
|
143
|
+
eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiJiMDU0MjFmNC0zNzU5LTQ3NzgtOTVhYi01NzhiYjAzZGNiMWQiLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ,2024-04-12T11:24:29.074105Z,2024-04-12T11:24:29.0741064Z,succeeded,,https://graph.microsoft.com/beta/employeeExperience/communities('eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODUwMTc2NzE2ODAifQ'),createCommunity,eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODUwMTc2NzE2ODAifQ
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
</TabItem>
|
|
147
|
+
<TabItem value="Markdown">
|
|
148
|
+
|
|
149
|
+
```md
|
|
150
|
+
# viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy "private" --wait "true"
|
|
151
|
+
|
|
152
|
+
Date: 10/04/2024
|
|
153
|
+
|
|
154
|
+
## eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI5ZTgzMDRjMC1mZmY0LTRkODgtYTM4OS1mNDY0MmQ3OGZlMTciLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ
|
|
155
|
+
|
|
156
|
+
Property | Value
|
|
157
|
+
---------|-------
|
|
158
|
+
id | eyJfdHlwZSI6IkxvbmdSdW5uaW5nT3BlcmF0aW9uIiwiaWQiOiI5ZTgzMDRjMC1mZmY0LTRkODgtYTM4OS1mNDY0MmQ3OGZlMTciLCJvcGVyYXRpb24iOiJDcmVhdGVDb21tdW5pdHkifQ
|
|
159
|
+
createdDateTime | 2024-04-10T12:47:47.3488087Z
|
|
160
|
+
lastActionDateTime | 2024-04-10T12:47:47.3488107Z
|
|
161
|
+
status | succeeded
|
|
162
|
+
resourceLocation | https://graph.microsoft.com/beta/employeeExperience/communities('eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTUyMzkxNjgifQ')
|
|
163
|
+
operationType | createCommunity
|
|
164
|
+
resourceId | eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIxODQ4MTUyMzkxNjgifQ
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
</TabItem>
|
|
168
|
+
</Tabs>
|