@pnp/cli-microsoft365 6.3.0 → 6.4.0-beta.39e5130
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.js +1 -0
- package/README.md +12 -1
- package/dist/Command.js +1 -0
- package/dist/m365/aad/commands/user/user-get.js +3 -0
- package/dist/m365/aad/commands/user/user-license-remove.js +2 -1
- package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +2 -9
- package/dist/m365/aad/commands/user/user-set.js +3 -0
- package/dist/m365/aad/commands/user/user-signin-list.js +3 -0
- package/dist/m365/flow/commands/flow-disable.js +9 -2
- package/dist/m365/flow/commands/flow-enable.js +9 -2
- package/dist/m365/flow/commands/flow-get.js +9 -2
- package/dist/m365/flow/commands/flow-list.js +1 -1
- package/dist/m365/flow/commands/flow-remove.js +2 -2
- package/dist/m365/flow/commands/owner/owner-add.js +147 -0
- package/dist/m365/flow/commands/owner/owner-list.js +89 -0
- package/dist/m365/flow/commands/owner/owner-remove.js +147 -0
- package/dist/m365/flow/commands/run/run-cancel.js +9 -2
- package/dist/m365/flow/commands/run/run-list.js +5 -2
- package/dist/m365/flow/commands.js +3 -0
- package/dist/m365/planner/commands/roster/roster-member-add.js +3 -0
- package/dist/m365/planner/commands/roster/roster-member-get.js +98 -0
- package/dist/m365/planner/commands.js +1 -0
- package/dist/m365/spfx/commands/spfx-doctor.js +43 -29
- package/dist/m365/spo/commands/customaction/customaction-get.js +27 -7
- package/dist/m365/spo/commands/file/file-move.js +1 -1
- package/dist/m365/spo/commands/group/group-member-add.js +54 -95
- package/dist/m365/spo/commands/list/list-add.js +11 -8
- package/dist/m365/spo/commands/list/list-set.js +3 -3
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +5 -4
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +5 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +118 -0
- package/dist/m365/spo/commands/term/term-get.js +68 -48
- package/dist/m365/spo/commands.js +1 -0
- package/dist/utils/aadGroup.js +18 -0
- package/dist/utils/aadUser.js +20 -0
- package/dist/utils/md.js +7 -0
- package/dist/utils/spo.js +32 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +3 -3
- package/docs/docs/cmd/aad/user/user-remove.md +1 -1
- package/docs/docs/cmd/cli/completion/completion-clink-update.md +4 -4
- package/docs/docs/cmd/flow/owner/owner-add.md +61 -0
- package/docs/docs/cmd/flow/owner/owner-list.md +90 -0
- package/docs/docs/cmd/flow/owner/owner-remove.md +67 -0
- package/docs/docs/cmd/flow/run/run-list.md +28 -0
- package/docs/docs/cmd/onenote/page/page-list.md +1 -1
- package/docs/docs/cmd/outlook/mail/mail-send.md +7 -3
- package/docs/docs/cmd/outlook/message/message-get.md +143 -0
- package/docs/docs/cmd/outlook/message/message-list.md +119 -0
- package/docs/docs/cmd/outlook/message/message-move.md +4 -0
- package/docs/docs/cmd/outlook/report/report-mailactivitycounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.md +45 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.md +43 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.md +44 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.md +48 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.md +41 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.md +49 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.md +37 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.md +36 -0
- package/docs/docs/cmd/outlook/room/room-list.md +81 -0
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +58 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +3 -3
- package/docs/docs/cmd/planner/plan/plan-set.md +73 -7
- package/docs/docs/cmd/planner/roster/roster-add.md +16 -1
- package/docs/docs/cmd/planner/roster/roster-member-get.md +87 -0
- package/docs/docs/cmd/planner/task/task-add.md +230 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-add.md +55 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-list.md +55 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-get.md +131 -0
- package/docs/docs/cmd/planner/task/task-list.md +92 -0
- package/docs/docs/cmd/planner/task/task-reference-add.md +46 -0
- package/docs/docs/cmd/planner/task/task-reference-list.md +46 -0
- package/docs/docs/cmd/planner/task/task-reference-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-set.md +230 -0
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +55 -0
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.md +55 -0
- package/docs/docs/cmd/pp/card/card-get.md +2 -2
- package/docs/docs/cmd/pp/card/card-list.md +2 -2
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +7 -7
- package/docs/docs/cmd/skype/report/report-activitycounts.md +38 -0
- package/docs/docs/cmd/skype/report/report-activityusercounts.md +38 -0
- package/docs/docs/cmd/skype/report/report-activityuserdetail.md +67 -0
- package/docs/docs/cmd/spfx/project/project-doctor.md +3 -3
- package/docs/docs/cmd/spfx/project/project-externalize.md +3 -3
- package/docs/docs/cmd/spfx/project/project-upgrade.md +3 -3
- package/docs/docs/cmd/spfx/spfx-doctor.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-get.md +6 -6
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-set.md +3 -3
- package/docs/docs/cmd/spo/customaction/customaction-get.md +113 -11
- package/docs/docs/cmd/spo/externaluser/externaluser-list.md +2 -0
- package/docs/docs/cmd/spo/group/group-member-add.md +26 -4
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.md +2 -0
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.md +2 -0
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +2 -0
- package/docs/docs/cmd/spo/homesite/homesite-set.md +2 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +2 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +2 -0
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +3 -3
- package/docs/docs/cmd/spo/list/list-add.md +2 -2
- package/docs/docs/cmd/spo/list/list-set.md +2 -2
- package/docs/docs/cmd/spo/listitem/listitem-add.md +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-set.md +1 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +3 -3
- package/docs/docs/cmd/spo/navigation/navigation-node-set.md +2 -2
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +2 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +2 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +3 -3
- package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +3 -3
- package/docs/docs/cmd/spo/site/site-commsite-enable.md +2 -0
- package/docs/docs/cmd/spo/site/site-list.md +3 -3
- package/docs/docs/cmd/spo/site/site-remove.md +3 -3
- package/docs/docs/cmd/spo/site/site-rename.md +3 -3
- package/docs/docs/cmd/spo/site/site-set.md +5 -5
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.md +3 -3
- package/docs/docs/cmd/spo/storageentity/storageentity-set.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.md +142 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-settings-list.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +28 -26
- package/docs/docs/cmd/spo/term/term-add.md +3 -3
- package/docs/docs/cmd/spo/term/term-get.md +3 -3
- package/docs/docs/cmd/spo/term/term-group-add.md +2 -0
- package/docs/docs/cmd/spo/term/term-group-get.md +2 -0
- package/docs/docs/cmd/spo/term/term-group-list.md +2 -0
- package/docs/docs/cmd/spo/term/term-list.md +3 -1
- package/docs/docs/cmd/spo/term/term-set-add.md +3 -3
- package/docs/docs/cmd/spo/term/term-set-get.md +2 -0
- package/docs/docs/cmd/spo/term/term-set-list.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-apply.md +3 -3
- package/docs/docs/cmd/spo/theme/theme-get.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-list.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-remove.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-set.md +3 -3
- package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-add.md +2 -2
- package/docs/docs/cmd/teams/message/message-get.md +39 -4
- package/docs/docs/cmd/teams/message/message-list.md +41 -6
- package/docs/docs/cmd/teams/message/message-reply-list.md +39 -4
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +20 -2
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +8 -8
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +12 -5
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +14 -7
- package/docs/docs/cmd/teams/report/report-directroutingcalls.md +13 -6
- package/docs/docs/cmd/teams/report/report-pstncalls.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivitycounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +13 -6
- package/docs/docs/cmd/teams/tab/tab-add.md +16 -0
- package/docs/docs/cmd/teams/tab/tab-get.md +17 -0
- package/docs/docs/cmd/teams/tab/tab-list.md +19 -0
- package/docs/docs/cmd/teams/team/team-add.md +77 -8
- package/docs/docs/cmd/teams/team/team-app-list.md +18 -2
- package/docs/docs/cmd/teams/team/team-archive.md +2 -2
- package/docs/docs/cmd/teams/team/team-clone.md +8 -8
- package/docs/docs/cmd/teams/team/team-get.md +34 -4
- package/docs/docs/cmd/teams/team/team-list.md +34 -3
- package/docs/docs/cmd/teams/team/team-remove.md +3 -3
- package/docs/docs/cmd/teams/team/team-set.md +8 -8
- package/docs/docs/cmd/teams/team/team-unarchive.md +3 -2
- package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
- package/docs/docs/cmd/teams/user/user-app-list.md +18 -2
- package/docs/docs/cmd/teams/user/user-app-remove.md +4 -4
- package/docs/docs/cmd/teams/user/user-list.md +21 -4
- package/npm-shrinkwrap.json +279 -194
- package/package.json +14 -14
|
@@ -23,10 +23,10 @@ m365 teams channel member add [options]
|
|
|
23
23
|
: The display name of the Microsoft Teams team channel. Specify either `channelId` or `channelName`, but not both.
|
|
24
24
|
|
|
25
25
|
`--userId [userId]`
|
|
26
|
-
: The user's ID or principal name. You can also pass a comma
|
|
26
|
+
: The user's ID or principal name. You can also pass a comma-separated list of userIds.
|
|
27
27
|
|
|
28
28
|
`--userDisplayName [userDisplayName]`
|
|
29
|
-
: The display name of a user. You can also pass a comma
|
|
29
|
+
: The display name of a user. You can also pass a comma-separated list of display names.
|
|
30
30
|
|
|
31
31
|
`--owner`
|
|
32
32
|
: Assign the user the owner role. Defaults to member permissions.
|
|
@@ -11,13 +11,13 @@ m365 teams message get [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-t, --teamId <teamId>`
|
|
14
|
-
: The ID of the team where the channel is located
|
|
14
|
+
: The ID of the team where the channel is located.
|
|
15
15
|
|
|
16
16
|
`-c, --channelId <channelId>`
|
|
17
|
-
: The ID of the channel that contains the message
|
|
17
|
+
: The ID of the channel that contains the message.
|
|
18
18
|
|
|
19
19
|
`-i, --id <id>`
|
|
20
|
-
: The ID of the message to retrieve
|
|
20
|
+
: The ID of the message to retrieve.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@ You can only retrieve a message from a Microsoft Teams team if you are a member
|
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
|
-
Retrieve the specified message from a channel of the Microsoft Teams team
|
|
30
|
+
Retrieve the specified message from a channel of the Microsoft Teams team.
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
33
|
m365 teams message get --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --id 1540747442203
|
|
@@ -112,3 +112,38 @@ m365 teams message get --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId
|
|
|
112
112
|
id,replyToId,etag,messageType,createdDateTime,lastModifiedDateTime,lastEditedDateTime,deletedDateTime,subject,summary,chatId,importance,locale,webUrl,policyViolation,eventDetail,from,body,channelIdentity,attachments,mentions,reactions
|
|
113
113
|
1540747442203,,1666799582385,message,2022-10-26T15:52:00.731Z,2022-10-26T15:53:02.385Z,2022-10-26T15:53:02.288Z,,Second message Title,,,normal,en-us,https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1540747442203,,,"{""application"":null,""device"":null,""user"":{""id"":""78ccf530-bbf0-47e4-aae6-da5f8c6fb142"",""displayName"":""John Doe"",""userIdentityType"":""aadUser"",""tenantId"":""92e59666-257b-49c3-b1fa-1bae8107f6ba""}}","{""contentType"":""text"",""content"":""second message!""}","{""teamId"":""5f5d7b71-1161-44d8-bcc1-3da710eb4171"",""channelId"":""19:e2916df2b11046beba42d22da898383f@thread.tacv2""}",[],[],[]
|
|
114
114
|
```
|
|
115
|
+
|
|
116
|
+
=== "Markdown"
|
|
117
|
+
|
|
118
|
+
```md
|
|
119
|
+
# teams message get --teamId "5f5d7b71-1161-44d8-bcc1-3da710eb4171" --channelId "19:e2916df2b11046beba42d22da898383f@thread.tacv2" --id "1540747442203"
|
|
120
|
+
|
|
121
|
+
Date: 1/3/2023
|
|
122
|
+
|
|
123
|
+
## undefined (1540747442203)
|
|
124
|
+
|
|
125
|
+
Property | Value
|
|
126
|
+
---------|-------
|
|
127
|
+
id | 1540747442203
|
|
128
|
+
replyToId | null
|
|
129
|
+
etag | 1666799582385
|
|
130
|
+
messageType | message
|
|
131
|
+
createdDateTime | 2022-10-26T15:52:00.731Z
|
|
132
|
+
lastModifiedDateTime | 2022-10-26T15:53:02.385Z
|
|
133
|
+
lastEditedDateTime | 2022-10-26T15:53:02.288Z
|
|
134
|
+
deletedDateTime | null
|
|
135
|
+
subject | Second message Title
|
|
136
|
+
summary | null
|
|
137
|
+
chatId | null
|
|
138
|
+
importance | normal
|
|
139
|
+
locale | en-us
|
|
140
|
+
webUrl | https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1540747442203
|
|
141
|
+
policyViolation | null
|
|
142
|
+
eventDetail | null
|
|
143
|
+
from | {"application":null,"device":null,"user":{"id":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","displayName":"John Doe","userIdentityType":"aadUser","tenantId":"92e59666-257b-49c3-b1fa-1bae8107f6ba"}}
|
|
144
|
+
body | {"contentType":"text","content":"second message!"}
|
|
145
|
+
channelIdentity | {"teamId":"5f5d7b71-1161-44d8-bcc1-3da710eb4171","channelId":"19:e2916df2b11046beba42d22da898383f@thread.tacv2"}
|
|
146
|
+
attachments | []
|
|
147
|
+
mentions | []
|
|
148
|
+
reactions | []
|
|
149
|
+
```
|
|
@@ -11,13 +11,13 @@ m365 teams message list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-i, --teamId <teamId>`
|
|
14
|
-
: The ID of the team where the channel is located
|
|
14
|
+
: The ID of the team where the channel is located.
|
|
15
15
|
|
|
16
16
|
`-c, --channelId <channelId>`
|
|
17
|
-
: The ID of the channel for which to list messages
|
|
17
|
+
: The ID of the channel for which to list messages.
|
|
18
18
|
|
|
19
19
|
`-s, --since [since]`
|
|
20
|
-
: Date (ISO standard, dash separator) to get delta of messages from (in last 8 months)
|
|
20
|
+
: Date (ISO standard, dash separator) to get delta of messages from (in last 8 months).
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -27,13 +27,13 @@ You can only retrieve a message from a Microsoft Teams team if you are a member
|
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
|
-
List the messages from a channel of the Microsoft Teams team
|
|
30
|
+
List the messages from a channel of the Microsoft Teams team.
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
33
|
m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelId 19:eb30973b42a847a2a1df92d91e37c76a@thread.skype
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
List the messages from a channel of the Microsoft Teams team that have been created or modified since the date specified by the `--since` parameter (WARNING: only captures the last 8 months of data)
|
|
36
|
+
List the messages from a channel of the Microsoft Teams team that have been created or modified since the date specified by the `--since` parameter (WARNING: only captures the last 8 months of data).
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
39
|
m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelId 19:eb30973b42a847a2a1df92d91e37c76a@thread.skype --since 2019-12-31T14:00:00Z
|
|
@@ -84,7 +84,7 @@ m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelI
|
|
|
84
84
|
"mentions": [],
|
|
85
85
|
"reactions": []
|
|
86
86
|
}
|
|
87
|
-
]
|
|
87
|
+
]
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
=== "Text"
|
|
@@ -101,3 +101,38 @@ m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelI
|
|
|
101
101
|
id,summary,body
|
|
102
102
|
1666799217259,,First message!
|
|
103
103
|
```
|
|
104
|
+
|
|
105
|
+
=== "Markdown"
|
|
106
|
+
|
|
107
|
+
```md
|
|
108
|
+
# teams message list --teamId "fce9e580-8bba-4638-ab5c-ab40016651e3" --channelId "19:e2916df2b11046beba42d22da898383f@thread.tacv2" --since "2022-12-31T14:00:00Z"
|
|
109
|
+
|
|
110
|
+
Date: 1/3/2023
|
|
111
|
+
|
|
112
|
+
## undefined (1666799217259)
|
|
113
|
+
|
|
114
|
+
Property | Value
|
|
115
|
+
---------|-------
|
|
116
|
+
replyToId | null
|
|
117
|
+
etag | 1666799649208
|
|
118
|
+
messageType | message
|
|
119
|
+
createdDateTime | 2022-10-26T15:46:57.259Z
|
|
120
|
+
lastModifiedDateTime | 2022-10-26T15:54:09.208Z
|
|
121
|
+
lastEditedDateTime | 2022-10-26T15:54:09.108Z
|
|
122
|
+
deletedDateTime | null
|
|
123
|
+
subject | null
|
|
124
|
+
summary | null
|
|
125
|
+
chatId | null
|
|
126
|
+
importance | normal
|
|
127
|
+
locale | en-us
|
|
128
|
+
webUrl | https://teams.microsoft.com/l/message/19%3eb30973b42a847a2a1df92d91e37c76a%40thread.tacv2/1666799217259?groupId=fce9e580-8bba-4638-ab5c-ab40016651e3&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1666799217259&parentMessageId=1666799217259
|
|
129
|
+
policyViolation | null
|
|
130
|
+
eventDetail | null
|
|
131
|
+
id | 1672743172475
|
|
132
|
+
from | {"application":null,"device":null,"user":{"id":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","displayName":"John Doe","userIdentityType":"aadUser","tenantId":"92e59666-257b-49c3-b1fa-1bae8107f6ba"}}
|
|
133
|
+
body | First message!
|
|
134
|
+
channelIdentity | {"teamId":"fce9e580-8bba-4638-ab5c-ab40016651e3","channelId":"19:e2916df2b11046beba42d22da898383f@thread.tacv2"}
|
|
135
|
+
attachments | []
|
|
136
|
+
mentions | []
|
|
137
|
+
reactions | []
|
|
138
|
+
```
|
|
@@ -11,13 +11,13 @@ m365 teams message reply list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-i, --teamId <teamId>`
|
|
14
|
-
: The ID of the team where the channel is located
|
|
14
|
+
: The ID of the team where the channel is located.
|
|
15
15
|
|
|
16
16
|
`-c, --channelId <channelId>`
|
|
17
|
-
: The ID of the channel that contains the message
|
|
17
|
+
: The ID of the channel that contains the message.
|
|
18
18
|
|
|
19
19
|
`-m, --messageId <messageId>`
|
|
20
|
-
: The ID of the message to retrieve replies for
|
|
20
|
+
: The ID of the message to retrieve replies for.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@ You can only retrieve replies to a message from a Microsoft Teams team if you ar
|
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
|
-
Retrieve the replies from a specified message from a channel of the Microsoft Teams team
|
|
30
|
+
Retrieve the replies from a specified message from a channel of the Microsoft Teams team.
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
33
|
m365 teams message reply list --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --messageId 1540747442203
|
|
@@ -95,3 +95,38 @@ m365 teams message reply list --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --ch
|
|
|
95
95
|
id,body
|
|
96
96
|
1540747442203,First reply
|
|
97
97
|
```
|
|
98
|
+
|
|
99
|
+
=== "Markdown"
|
|
100
|
+
|
|
101
|
+
```md
|
|
102
|
+
# teams message reply list --teamId "5f5d7b71-1161-44d8-bcc1-3da710eb4171" --channelId "19:88f7e66a8dfe42be92db19505ae912a8@thread.skype" --messageId "1540747442203"
|
|
103
|
+
|
|
104
|
+
Date: 1/3/2023
|
|
105
|
+
|
|
106
|
+
## undefined (1672744052534)
|
|
107
|
+
|
|
108
|
+
Property | Value
|
|
109
|
+
---------|-------
|
|
110
|
+
id | 1540747442203
|
|
111
|
+
replyToId | 1666799520731
|
|
112
|
+
etag | 1540747442203
|
|
113
|
+
messageType | message
|
|
114
|
+
createdDateTime | 2022-10-26T15:57:13.162Z
|
|
115
|
+
lastModifiedDateTime | 2022-10-26T15:57:13.162Z
|
|
116
|
+
lastEditedDateTime | null
|
|
117
|
+
deletedDateTime | null
|
|
118
|
+
subject | null
|
|
119
|
+
summary | null
|
|
120
|
+
chatId | null
|
|
121
|
+
importance | normal
|
|
122
|
+
locale | en-us
|
|
123
|
+
webUrl | https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1666799520731
|
|
124
|
+
policyViolation | null
|
|
125
|
+
eventDetail | null
|
|
126
|
+
from | {"application":null,"device":null,"user":{"id":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","displayName":"John Doe","userIdentityType":"aadUser","tenantId":"92e59666-257b-49c3-b1fa-1bae8107f6ba"}}
|
|
127
|
+
body | First reply
|
|
128
|
+
channelIdentity | {"teamId":"5f5d7b71-1161-44d8-bcc1-3da710eb4171","channelId":"19:88f7e66a8dfe42be92db19505ae912a8@thread.skype"}
|
|
129
|
+
attachments | []
|
|
130
|
+
mentions | []
|
|
131
|
+
reactions | []
|
|
132
|
+
```
|
|
@@ -11,13 +11,13 @@ m365 teams messagingsettings list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-i, --teamId`
|
|
14
|
-
: The ID of the team for which to get the messaging settings
|
|
14
|
+
: The ID of the team for which to get the messaging settings.
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
18
18
|
## Examples
|
|
19
19
|
|
|
20
|
-
Get messaging settings for a Microsoft Teams team
|
|
20
|
+
Get messaging settings for a Microsoft Teams team.
|
|
21
21
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 teams messagingsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
@@ -53,3 +53,21 @@ m365 teams messagingsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
|
53
53
|
allowUserEditMessages,allowUserDeleteMessages,allowOwnerDeleteMessages,allowTeamMentions,allowChannelMentions
|
|
54
54
|
1,1,1,1,1
|
|
55
55
|
```
|
|
56
|
+
|
|
57
|
+
=== "Markdown"
|
|
58
|
+
|
|
59
|
+
```md
|
|
60
|
+
# teams messagingsettings list --teamId "2609af39-7775-4f94-a3dc-0dd67657e900"
|
|
61
|
+
|
|
62
|
+
Date: 1/3/2023
|
|
63
|
+
|
|
64
|
+
## undefined (undefined)
|
|
65
|
+
|
|
66
|
+
Property | Value
|
|
67
|
+
---------|-------
|
|
68
|
+
allowUserEditMessages | true
|
|
69
|
+
allowUserDeleteMessages | true
|
|
70
|
+
allowOwnerDeleteMessages | true
|
|
71
|
+
allowTeamMentions | true
|
|
72
|
+
allowChannelMentions | true
|
|
73
|
+
```
|
|
@@ -11,34 +11,34 @@ m365 teams messagingsettings set [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-i, --teamId <teamId>`
|
|
14
|
-
: The ID of the Microsoft Teams team for which to update messaging settings
|
|
14
|
+
: The ID of the Microsoft Teams team for which to update messaging settings.
|
|
15
15
|
|
|
16
16
|
`--allowUserEditMessages [allowUserEditMessages]`
|
|
17
|
-
: Set to `true` to allow users to edit messages and to `false` to disallow it
|
|
17
|
+
: Set to `true` to allow users to edit messages and to `false` to disallow it.
|
|
18
18
|
|
|
19
19
|
`--allowUserDeleteMessages [allowUserDeleteMessages]`
|
|
20
|
-
: Set to `true` to allow users to delete messages and to `false` to disallow it
|
|
20
|
+
: Set to `true` to allow users to delete messages and to `false` to disallow it.
|
|
21
21
|
|
|
22
22
|
`--allowOwnerDeleteMessages [allowOwnerDeleteMessages]`
|
|
23
|
-
: Set to `true` to allow owner to delete messages and to `false` to disallow it
|
|
23
|
+
: Set to `true` to allow owner to delete messages and to `false` to disallow it.
|
|
24
24
|
|
|
25
25
|
`--allowTeamMentions [allowTeamMentions]`
|
|
26
|
-
: Set to `true` to allow @team or @[team name] mentions and to `false` to disallow it
|
|
26
|
+
: Set to `true` to allow @team or @[team name] mentions and to `false` to disallow it.
|
|
27
27
|
|
|
28
28
|
`--allowChannelMentions [allowChannelMentions]`
|
|
29
|
-
: Set to `true` to allow @channel or @[channel name] mentions and to `false` to disallow it
|
|
29
|
+
: Set to `true` to allow @channel or @[channel name] mentions and to `false` to disallow it.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
33
33
|
## Examples
|
|
34
34
|
|
|
35
|
-
Allow users to edit messages in channels
|
|
35
|
+
Allow users to edit messages in channels.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams messagingsettings set --teamId '00000000-0000-0000-0000-000000000000' --allowUserEditMessages true
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Disallow users to delete messages in channels
|
|
41
|
+
Disallow users to delete messages in channels.
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 teams messagingsettings set --teamId '00000000-0000-0000-0000-000000000000' --allowUserDeleteMessages false
|
|
@@ -11,28 +11,28 @@ m365 teams report deviceusagedistributionusercounts [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-p, --period <period>`
|
|
14
|
-
: The length of time over which the report is aggregated. Supported values `D7,D30,D90,D180
|
|
14
|
+
: The length of time over which the report is aggregated. Supported values `D7,D30,D90,D180`.
|
|
15
15
|
|
|
16
16
|
`-f, --outputFile [outputFile]`
|
|
17
|
-
: Path to the file where the Microsoft Teams unique users by device type report should be stored in
|
|
17
|
+
: Path to the file where the Microsoft Teams unique users by device type report should be stored in.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
21
21
|
## Examples
|
|
22
22
|
|
|
23
|
-
Gets the number of Microsoft Teams unique users by device type for the last week
|
|
23
|
+
Gets the number of Microsoft Teams unique users by device type for the last week.
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
m365 teams report deviceusagedistributionusercounts --period D7
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Gets the number of Microsoft Teams unique users by device type for the last week and exports the report data in the specified path in text format
|
|
29
|
+
Gets the number of Microsoft Teams unique users by device type for the last week and exports the report data in the specified path in text format.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 teams report deviceusagedistributionusercounts --period D7 --output text > "deviceusagedistributionusercounts.txt"
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Gets the number of Microsoft Teams unique users by device type for the last week and exports the report data in the specified path in json format
|
|
35
|
+
Gets the number of Microsoft Teams unique users by device type for the last week and exports the report data in the specified path in json format.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams report deviceusagedistributionusercounts --period D7 --output json > "deviceusagedistributionusercounts.json"
|
|
@@ -72,3 +72,10 @@ m365 teams report deviceusagedistributionusercounts --period D7 --output json >
|
|
|
72
72
|
Report Refresh Date,Web,Windows Phone,Android Phone,iOS,Mac,Windows,Chrome OS,Linux,Report Period
|
|
73
73
|
2022-10-24,0,0,0,0,0,1,0,0,7
|
|
74
74
|
```
|
|
75
|
+
|
|
76
|
+
=== "Markdown"
|
|
77
|
+
|
|
78
|
+
```md
|
|
79
|
+
Report Refresh Date,Web,Windows Phone,Android Phone,iOS,Mac,Windows,Chrome OS,Linux,Report Period
|
|
80
|
+
2022-10-24,0,0,0,0,0,1,0,0,7
|
|
81
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# teams report deviceusageusercounts
|
|
2
2
|
|
|
3
|
-
Get the number of Microsoft Teams daily unique users by device type
|
|
3
|
+
Get the number of Microsoft Teams daily unique users by device type
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
@@ -11,28 +11,28 @@ m365 teams report deviceusageusercounts [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-p, --period <period>`
|
|
14
|
-
: The length of time over which the report is aggregated. Supported values `D7,D30,D90,D180
|
|
14
|
+
: The length of time over which the report is aggregated. Supported values `D7,D30,D90,D180`.
|
|
15
15
|
|
|
16
16
|
`-f, --outputFile [outputFile]`
|
|
17
|
-
: Path to the file where the Microsoft Teams daily unique users by device type report should be stored in
|
|
17
|
+
: Path to the file where the Microsoft Teams daily unique users by device type report should be stored in.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
21
21
|
## Examples
|
|
22
22
|
|
|
23
|
-
Gets the number of Microsoft Teams daily unique users by device type for the last week
|
|
23
|
+
Gets the number of Microsoft Teams daily unique users by device type for the last week.
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
m365 teams report deviceusageusercounts --period D7
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Gets the number of Microsoft Teams daily unique users by device type for the last week and exports the report data in the specified path in text format
|
|
29
|
+
Gets the number of Microsoft Teams daily unique users by device type for the last week and exports the report data in the specified path in text format.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 teams report deviceusageusercounts --period D7 --output text > "deviceusageusercounts.txt"
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Gets the number of Microsoft Teams daily unique users by device type for the last week and exports the report data in the specified path in json format
|
|
35
|
+
Gets the number of Microsoft Teams daily unique users by device type for the last week and exports the report data in the specified path in json format.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams report deviceusageusercounts --period D7 --output json > "deviceusageusercounts.json"
|
|
@@ -73,3 +73,10 @@ m365 teams report deviceusageusercounts --period D7 --output json > "deviceusage
|
|
|
73
73
|
Report Refresh Date,Web,Windows Phone,Android Phone,iOS,Mac,Windows,Chrome OS,Linux,Report Date,Report Period
|
|
74
74
|
2022-10-24,0,0,0,0,0,1,0,0,2022-10-24,7
|
|
75
75
|
```
|
|
76
|
+
|
|
77
|
+
=== "Markdown"
|
|
78
|
+
|
|
79
|
+
```md
|
|
80
|
+
Report Refresh Date,Web,Windows Phone,Android Phone,iOS,Mac,Windows,Chrome OS,Linux,Report Date,Report Period
|
|
81
|
+
2022-10-24,0,0,0,0,0,1,0,0,2022-10-24,7
|
|
82
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# teams report deviceusageuserdetail
|
|
2
2
|
|
|
3
|
-
Gets detail about Microsoft Teams device usage by user
|
|
3
|
+
Gets detail about Microsoft Teams device usage by user
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
@@ -11,13 +11,13 @@ m365 teams report deviceusageuserdetail [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-p, --period [period]`
|
|
14
|
-
: The length of time over which the report is aggregated. Supported values `D7,D30,D90,D180
|
|
14
|
+
: The length of time over which the report is aggregated. Supported values `D7,D30,D90,D180`.
|
|
15
15
|
|
|
16
16
|
`-d, --date [date]`
|
|
17
17
|
: The date for which you would like to view the users who performed any activity. Supported date format is `YYYY-MM-DD`.
|
|
18
18
|
|
|
19
19
|
`-f, --outputFile [outputFile]`
|
|
20
|
-
: Path to the file where the Microsoft Teams device usage by user report should be stored in
|
|
20
|
+
: Path to the file where the Microsoft Teams device usage by user report should be stored in.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -27,25 +27,25 @@ As this report is only available for the past 28 days, date parameter value shou
|
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
|
-
Gets information about Microsoft Teams device usage by user for the last week
|
|
30
|
+
Gets information about Microsoft Teams device usage by user for the last week.
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
33
|
m365 teams report deviceusageuserdetail --period D7
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
Gets information about Microsoft Teams device usage by user for July 1, 2019
|
|
36
|
+
Gets information about Microsoft Teams device usage by user for July 1, 2019.
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
39
|
m365 teams report deviceusageuserdetail --date 2019-07-01
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Gets information about Microsoft Teams device usage by user for the last week and exports the report data in the specified path in text format
|
|
42
|
+
Gets information about Microsoft Teams device usage by user for the last week and exports the report data in the specified path in text format.
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
45
|
m365 teams report deviceusageuserdetail --period D7 --output text > "deviceusageuserdetail.txt"
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Gets information about Microsoft Teams device usage by user for the last week and exports the report data in the specified path in json format
|
|
48
|
+
Gets information about Microsoft Teams device usage by user for the last week and exports the report data in the specified path in json format.
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
51
|
m365 teams report deviceusageuserdetail --period D7 --output json > "deviceusageuserdetail.json"
|
|
@@ -91,3 +91,10 @@ m365 teams report deviceusageuserdetail --period D7 --output json > "deviceusage
|
|
|
91
91
|
Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Used Web,Used Windows Phone,Used iOS,Used Mac,Used Android Phone,Used Windows,Used Chrome OS,Used Linux,Is Licensed,Report Period
|
|
92
92
|
2022-10-24,00000000-0000-0000-0000-000000000000,77E5979DD60BA6EAA53E814DBEEEFA5F,,False,,No,No,No,No,No,No,No,No,Yes,7
|
|
93
93
|
```
|
|
94
|
+
|
|
95
|
+
=== "Markdown"
|
|
96
|
+
|
|
97
|
+
```md
|
|
98
|
+
Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Used Web,Used Windows Phone,Used iOS,Used Mac,Used Android Phone,Used Windows,Used Chrome OS,Used Linux,Is Licensed,Report Period
|
|
99
|
+
2022-10-24,00000000-0000-0000-0000-000000000000,77E5979DD60BA6EAA53E814DBEEEFA5F,,False,,No,No,No,No,No,No,No,No,Yes,7
|
|
100
|
+
```
|
|
@@ -11,10 +11,10 @@ m365 teams report directroutingcalls [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`--fromDateTime <fromDateTime>`
|
|
14
|
-
: The start of time range to query. UTC, inclusive
|
|
14
|
+
: The start of time range to query. UTC, inclusive.
|
|
15
15
|
|
|
16
16
|
`--toDateTime [toDateTime]`
|
|
17
|
-
: The end time range to query. UTC, inclusive. Defaults to today if omitted
|
|
17
|
+
: The end time range to query. UTC, inclusive. Defaults to today if omitted.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -22,23 +22,23 @@ m365 teams report directroutingcalls [options]
|
|
|
22
22
|
|
|
23
23
|
This command only works with app-only permissions. You will need to create your own Azure AD app with `CallRecords.Read.All` permission assigned. Instructions on how to create your own Azure AD app can be found at [Using your own Azure AD identity](../../../user-guide/using-own-identity.md)
|
|
24
24
|
|
|
25
|
-
The difference between `fromDateTime` and `toDateTime` cannot exceed a period of 90 days
|
|
25
|
+
The difference between `fromDateTime` and `toDateTime` cannot exceed a period of 90 days.
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
Get details about direct routing calls made between 2020-10-31 and today
|
|
29
|
+
Get details about direct routing calls made between 2020-10-31 and today.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 teams report directroutingcalls --fromDateTime 2020-10-31
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Get details about direct routing calls made between 2020-10-31 and 2020-12-31 and exports the report data in the specified path in text format
|
|
35
|
+
Get details about direct routing calls made between 2020-10-31 and 2020-12-31 and exports the report data in the specified path in text format.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams report directroutingcalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --output text > "directroutingcalls.txt"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Get details about direct routing calls made between 2020-10-31 and 2020-12-31 and exports the report data in the specified path in json format
|
|
41
|
+
Get details about direct routing calls made between 2020-10-31 and 2020-12-31 and exports the report data in the specified path in json format.
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 teams report directroutingcalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --output json > "directroutingcalls.json"
|
|
@@ -92,3 +92,10 @@ m365 teams report directroutingcalls --fromDateTime 2020-10-31 --toDateTime 2020
|
|
|
92
92
|
id,calleeNumber,callerNumber,startDateTime
|
|
93
93
|
9e8bba57-dc14-533a-a7dd-f0da6575eed1,+01234567***,+12345678***,2019-11-01T00:00:25.105Z
|
|
94
94
|
```
|
|
95
|
+
|
|
96
|
+
=== "Markdown"
|
|
97
|
+
|
|
98
|
+
```md
|
|
99
|
+
id,calleeNumber,callerNumber,startDateTime
|
|
100
|
+
9e8bba57-dc14-533a-a7dd-f0da6575eed1,+01234567***,+12345678***,2019-11-01T00:00:25.105Z
|
|
101
|
+
```
|
|
@@ -11,10 +11,10 @@ m365 teams report pstncalls [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`--fromDateTime <fromDateTime>`
|
|
14
|
-
: The start of time range to query. UTC, inclusive
|
|
14
|
+
: The start of time range to query. UTC, inclusive.
|
|
15
15
|
|
|
16
16
|
`--toDateTime [toDateTime]`
|
|
17
|
-
: The end time range to query. UTC, inclusive. Defaults to today if omitted
|
|
17
|
+
: The end time range to query. UTC, inclusive. Defaults to today if omitted.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -22,23 +22,23 @@ m365 teams report pstncalls [options]
|
|
|
22
22
|
|
|
23
23
|
This command only works with app-only permissions. You will need to create your own Azure AD app with `CallRecords.Read.All` permission assigned. Instructions on how to create your own Azure AD app can be found at [Using your own Azure AD identity](../../../user-guide/using-own-identity.md)
|
|
24
24
|
|
|
25
|
-
The difference between `fromDateTime` and `toDateTime` cannot exceed a period of 90 days
|
|
25
|
+
The difference between `fromDateTime` and `toDateTime` cannot exceed a period of 90 days.
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
Get details about PSTN calls made between 2020-10-31 and today
|
|
29
|
+
Get details about PSTN calls made between 2020-10-31 and today.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 teams report pstncalls --fromDateTime 2020-10-31
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Get details about PSTN calls made between 2020-10-31 and 2020-12-31 and exports the report data in the specified path in text format
|
|
35
|
+
Get details about PSTN calls made between 2020-10-31 and 2020-12-31 and exports the report data in the specified path in text format.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --output text > "pstncalls.txt"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Get details about PSTN calls made between 2020-10-31 and 2020-12-31 and exports the report data in the specified path in json format
|
|
41
|
+
Get details about PSTN calls made between 2020-10-31 and 2020-12-31 and exports the report data in the specified path in json format.
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --output json > "pstncalls.json"
|
|
@@ -96,3 +96,10 @@ m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --
|
|
|
96
96
|
id,calleeNumber,callerNumber,startDateTime
|
|
97
97
|
9c4984c7-6c3c-427d-a30c-bd0b2eacee90,+1234567890,+0123456789,2019-11-01T00:00:08.2589935Z
|
|
98
98
|
```
|
|
99
|
+
|
|
100
|
+
=== "Markdown"
|
|
101
|
+
|
|
102
|
+
```md
|
|
103
|
+
id,calleeNumber,callerNumber,startDateTime
|
|
104
|
+
9c4984c7-6c3c-427d-a30c-bd0b2eacee90,+1234567890,+0123456789,2019-11-01T00:00:08.2589935Z
|
|
105
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# teams report useractivitycounts
|
|
2
2
|
|
|
3
|
-
Get the number of Microsoft Teams activities by activity type. The activity types are team chat messages, private chat messages, calls, and meetings
|
|
3
|
+
Get the number of Microsoft Teams activities by activity type. The activity types are team chat messages, private chat messages, calls, and meetings
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
@@ -11,28 +11,28 @@ m365 teams report useractivitycounts [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-p, --period <period>`
|
|
14
|
-
: The length of time over which the report is aggregated. Supported values `D7,D30,D90,D180
|
|
14
|
+
: The length of time over which the report is aggregated. Supported values `D7,D30,D90,D180`.
|
|
15
15
|
|
|
16
16
|
`-f, --outputFile [outputFile]`
|
|
17
|
-
: Path to the file where the Microsoft Teams activities by activity type report should be stored in
|
|
17
|
+
: Path to the file where the Microsoft Teams activities by activity type report should be stored in.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
21
21
|
## Examples
|
|
22
22
|
|
|
23
|
-
Gets the number of Microsoft Teams activities by activity type for the last week
|
|
23
|
+
Gets the number of Microsoft Teams activities by activity type for the last week.
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
m365 teams report useractivitycounts --period D7
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Gets the number of Microsoft Teams activities by activity type for the last week and exports the report data in the specified path in text format
|
|
29
|
+
Gets the number of Microsoft Teams activities by activity type for the last week and exports the report data in the specified path in text format.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 teams report useractivitycounts --period D7 --output text > "useractivitycounts.txt"
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Gets the number of Microsoft Teams activities by activity type for the last week and exports the report data in the specified path in json format
|
|
35
|
+
Gets the number of Microsoft Teams activities by activity type for the last week and exports the report data in the specified path in json format.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 teams report useractivitycounts --period D7 --output json > "useractivitycounts.json"
|
|
@@ -76,3 +76,10 @@ m365 teams report useractivitycounts --period D7 --output json > "useractivityco
|
|
|
76
76
|
Report Refresh Date,Report Date,Team Chat Messages,Private Chat Messages,Calls,Meetings,Meetings Organized Count,Meetings Attended Count,Audio Duration,Video Duration,Screen Share Duration,Post Messages,Reply Messages,Report Period
|
|
77
77
|
2022-10-28,2022-10-28,0,0,0,0,0,0,,,,0,0,7
|
|
78
78
|
```
|
|
79
|
+
|
|
80
|
+
=== "Markdown"
|
|
81
|
+
|
|
82
|
+
```md
|
|
83
|
+
Report Refresh Date,Report Date,Team Chat Messages,Private Chat Messages,Calls,Meetings,Meetings Organized Count,Meetings Attended Count,Audio Duration,Video Duration,Screen Share Duration,Post Messages,Reply Messages,Report Period
|
|
84
|
+
2022-10-28,2022-10-28,0,0,0,0,0,0,,,,0,0,7
|
|
85
|
+
```
|