@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.
- package/.devproxy/api-specs/sharepoint.yaml +54 -0
- package/.eslintrc.cjs +2 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Command.js +4 -0
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +13 -27
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +18 -43
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +10 -21
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +25 -49
- package/dist/m365/entra/commands/app/app-add.js +14 -2
- package/dist/m365/entra/commands/roleassignment/roleassignment-add.js +146 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/flow/commands/environment/environment-get.js +19 -29
- package/dist/m365/graph/commands/openextension/openextension-add.js +2 -2
- package/dist/m365/graph/commands/openextension/openextension-set.js +2 -6
- package/dist/m365/outlook/commands/mail/mail-searchfolder-add.js +85 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/pa/commands/environment/environment-get.js +18 -23
- package/dist/m365/pp/commands/copilot/copilot-get.js +0 -4
- package/dist/m365/pp/commands/copilot/copilot-list.js +0 -4
- package/dist/m365/pp/commands/copilot/copilot-remove.js +0 -4
- package/dist/m365/pp/commands/environment/environment-get.js +19 -26
- package/dist/m365/pp/commands.js +0 -7
- package/dist/m365/spfx/commands/project/project-upgrade.js +23 -66
- package/dist/m365/spo/commands/customaction/customaction-list.js +3 -10
- package/dist/m365/spo/commands/file/file-version-keep.js +78 -0
- package/dist/m365/spo/commands/homesite/homesite-get.js +28 -14
- package/dist/m365/spo/commands/homesite/homesite-list.js +1 -12
- package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -34
- package/dist/m365/spo/commands/homesite/homesite-set.js +88 -44
- package/dist/m365/spo/commands/list/list-view-add.js +1 -1
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +17 -25
- package/dist/m365/spo/commands.js +1 -2
- package/dist/m365/teams/commands/report/report-directroutingcalls.js +5 -12
- package/dist/m365/teams/commands/report/report-pstncalls.js +5 -12
- package/dist/m365/viva/commands.js +0 -3
- package/dist/utils/entraAdministrativeUnit.js +1 -1
- package/dist/utils/entraApp.js +15 -0
- package/docs/docs/cmd/entra/app/app-add.mdx +7 -1
- package/docs/docs/cmd/entra/roleassignment/roleassignment-add.mdx +163 -0
- package/docs/docs/cmd/flow/environment/environment-get.mdx +6 -5
- package/docs/docs/cmd/outlook/mail/mail-searchfolder-add.mdx +147 -0
- package/docs/docs/cmd/pa/environment/environment-get.mdx +5 -2
- package/docs/docs/cmd/pp/copilot/copilot-get.mdx +0 -6
- package/docs/docs/cmd/pp/copilot/copilot-list.mdx +0 -6
- package/docs/docs/cmd/pp/copilot/copilot-remove.mdx +0 -6
- package/docs/docs/cmd/pp/environment/environment-get.mdx +5 -2
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +18 -5
- package/docs/docs/cmd/spo/file/file-version-keep.mdx +68 -0
- package/docs/docs/cmd/spo/homesite/homesite-get.mdx +44 -23
- package/docs/docs/cmd/spo/homesite/homesite-list.mdx +0 -6
- package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +10 -35
- package/docs/docs/cmd/spo/homesite/homesite-set.mdx +85 -45
- package/docs/docs/cmd/spo/list/list-view-add.mdx +11 -11
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.mdx +18 -18
- package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +25 -44
- package/docs/docs/cmd/teams/report/report-pstncalls.mdx +25 -48
- package/docs/docs/cmd/viva/engage/engage-community-list.mdx +19 -0
- package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +19 -0
- package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +19 -0
- package/npm-shrinkwrap.json +53 -53
- package/package.json +13 -13
- package/dist/m365/pp/commands/card/card-clone.js +0 -101
- package/dist/m365/pp/commands/card/card-get.js +0 -89
- package/dist/m365/pp/commands/card/card-list.js +0 -55
- package/dist/m365/pp/commands/card/card-remove.js +0 -105
- package/dist/m365/skype/commands/report/report-activitycounts.js +0 -15
- package/dist/m365/skype/commands/report/report-activityusercounts.js +0 -15
- package/dist/m365/skype/commands/report/report-activityuserdetail.js +0 -15
- package/dist/m365/skype/commands.js +0 -7
- package/dist/m365/spo/commands/mail/mail-send.js +0 -108
- package/dist/m365/viva/commands/engage/engage-group-list.js +0 -93
- package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -73
- package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -88
- package/docs/docs/cmd/pp/card/card-clone.mdx +0 -103
- package/docs/docs/cmd/pp/card/card-get.mdx +0 -212
- package/docs/docs/cmd/pp/card/card-list.mdx +0 -163
- package/docs/docs/cmd/pp/card/card-remove.mdx +0 -86
- package/docs/docs/cmd/skype/report/report-activitycounts.mdx +0 -96
- package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +0 -96
- package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +0 -134
- package/docs/docs/cmd/spo/mail/mail-send.mdx +0 -69
- package/docs/docs/cmd/viva/engage/engage-group-list.mdx +0 -174
- package/docs/docs/cmd/viva/engage/engage-group-user-add.mdx +0 -60
- package/docs/docs/cmd/viva/engage/engage-group-user-remove.mdx +0 -58
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# spo homesite set
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Updates an existing SharePoint home site.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -15,11 +15,23 @@ m365 spo homesite set [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`-u, --
|
|
19
|
-
: The URL of the
|
|
18
|
+
`-u, --url <url>`
|
|
19
|
+
: The URL of the home site
|
|
20
|
+
|
|
21
|
+
`--draftMode [draftMode]`
|
|
22
|
+
: Set draft status. Valid values are: `true`, `false`.
|
|
23
|
+
|
|
24
|
+
`--audienceIds [audienceIds]`
|
|
25
|
+
: Comma-separated list of group Ids to set as audiences. Specify either `audienceIds` or `audienceNames`, but not both.
|
|
26
|
+
|
|
27
|
+
`--audienceNames [audienceNames]`
|
|
28
|
+
: Comma-separated list of group names to set as audiences. You must use either `audienceIds` or `audienceNames`, but not both. Pass `''` to clear audience.
|
|
29
|
+
|
|
30
|
+
`--targetedLicenseType [targetedLicenseType]`
|
|
31
|
+
: Value of either `everyone`, `frontLineWorkers` or `informationWorkers` to create an experience for a distinct audience by license type.
|
|
20
32
|
|
|
21
33
|
`--vivaConnectionsDefaultStart [vivaConnectionsDefaultStart]`
|
|
22
|
-
:
|
|
34
|
+
: Specifies whether the home site is the default start for Viva Connections. Accepts `true` or `false`.
|
|
23
35
|
```
|
|
24
36
|
|
|
25
37
|
<Global />
|
|
@@ -34,91 +46,119 @@ To use this command you must be a Global or SharePoint administrator.
|
|
|
34
46
|
|
|
35
47
|
## Examples
|
|
36
48
|
|
|
37
|
-
|
|
49
|
+
Sets the home site to the provided site collection url and sets the Viva Connections landing experience to the SharePoint home site
|
|
38
50
|
|
|
39
51
|
```sh
|
|
40
|
-
m365 spo homesite set --
|
|
52
|
+
m365 spo homesite set --url https://contoso.sharepoint.com/sites/comms --vivaConnectionsDefaultStart true
|
|
41
53
|
```
|
|
42
54
|
|
|
43
|
-
|
|
55
|
+
Set the home site in draft mode
|
|
44
56
|
|
|
45
57
|
```sh
|
|
46
|
-
m365 spo homesite set --
|
|
58
|
+
m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --draftMode true
|
|
47
59
|
```
|
|
48
60
|
|
|
49
|
-
|
|
61
|
+
Set the audience to everyone
|
|
50
62
|
|
|
51
63
|
```sh
|
|
52
|
-
m365 spo homesite set --
|
|
64
|
+
m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --targetedLicenseType "everyone"
|
|
53
65
|
```
|
|
54
66
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
### Standard response
|
|
58
|
-
|
|
59
|
-
<Tabs>
|
|
60
|
-
<TabItem value="JSON">
|
|
61
|
-
|
|
62
|
-
```json
|
|
63
|
-
"The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details."
|
|
64
|
-
```
|
|
67
|
+
Set the audience to groups using groups Ids
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
```sh
|
|
70
|
+
m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceIds "978b5280-4f80-47ea-a1db-b0d1d2fb1ba4,21af775d-17b3-4637-94a4-2ba8625277cb"
|
|
71
|
+
```
|
|
68
72
|
|
|
69
|
-
|
|
70
|
-
The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
71
|
-
```
|
|
73
|
+
Set the audience to using their display name
|
|
72
74
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
```sh
|
|
76
|
+
m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames "Marketing, IT department"
|
|
77
|
+
```
|
|
75
78
|
|
|
76
|
-
|
|
77
|
-
The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
78
|
-
```
|
|
79
|
+
Clear the audience and set to draft
|
|
79
80
|
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
```sh
|
|
82
|
+
m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames '' --draftMode true
|
|
83
|
+
```
|
|
82
84
|
|
|
83
|
-
|
|
84
|
-
The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
85
|
-
```
|
|
85
|
+
Configure multiple options
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
```sh
|
|
88
|
+
m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames 'Marketing, IT department' --draftMode true --targetedLicenseType "everyone" --vivaConnectionsDefaultStart true
|
|
89
|
+
```
|
|
89
90
|
|
|
90
|
-
|
|
91
|
+
## Response
|
|
91
92
|
|
|
92
|
-
|
|
93
|
+
### Standard response
|
|
93
94
|
|
|
94
95
|
<Tabs>
|
|
95
96
|
<TabItem value="JSON">
|
|
96
97
|
|
|
97
98
|
```json
|
|
98
|
-
|
|
99
|
+
{
|
|
100
|
+
"Audiences": [
|
|
101
|
+
{
|
|
102
|
+
"Email": "active@contoso.onmicrosoft.com",
|
|
103
|
+
"Id": "7a1eea7f-9ab0-40ff-8f2e-0083d9d63451",
|
|
104
|
+
"Title": "active Members"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"IsInDraftMode": true,
|
|
108
|
+
"IsVivaBackendSite": false,
|
|
109
|
+
"SiteId": "431d7819-4aaf-49a1-b664-b2fe9e609b63",
|
|
110
|
+
"TargetedLicenseType": 2,
|
|
111
|
+
"Title": "The Landing",
|
|
112
|
+
"Url": "https://contoso.sharepoint.com/sites/TheLanding",
|
|
113
|
+
"VivaConnectionsDefaultStart": true,
|
|
114
|
+
"WebId": "626c1724-8ac8-45d5-af87-c07c752fab75"
|
|
115
|
+
}
|
|
99
116
|
```
|
|
100
117
|
|
|
101
118
|
</TabItem>
|
|
102
119
|
<TabItem value="Text">
|
|
103
120
|
|
|
104
121
|
```text
|
|
105
|
-
|
|
122
|
+
Audiences : [{"Email":"active@contoso.onmicrosoft.com","Id":"7a1eea7f-9ab0-40ff-8f2e-0083d9d63451","Title":"active Members"}]
|
|
123
|
+
IsInDraftMode : true
|
|
124
|
+
IsVivaBackendSite : false
|
|
125
|
+
SiteId : 431d7819-4aaf-49a1-b664-b2fe9e609b63
|
|
126
|
+
TargetedLicenseType : 2
|
|
127
|
+
Title : The Landing
|
|
128
|
+
Url : https://contoso.sharepoint.com/sites/TheLanding
|
|
129
|
+
VivaConnectionsDefaultStart: true
|
|
130
|
+
WebId : 626c1724-8ac8-45d5-af87-c07c752fab75
|
|
106
131
|
```
|
|
107
132
|
|
|
108
133
|
</TabItem>
|
|
109
134
|
<TabItem value="CSV">
|
|
110
135
|
|
|
111
136
|
```csv
|
|
112
|
-
|
|
137
|
+
IsInDraftMode,IsVivaBackendSite,SiteId,TargetedLicenseType,Title,Url,VivaConnectionsDefaultStart,WebId
|
|
138
|
+
1,0,431d7819-4aaf-49a1-b664-b2fe9e609b63,2,The Landing,https://contoso.sharepoint.com/sites/TheLanding,1,626c1724-8ac8-45d5-af87-c07c752fab75
|
|
113
139
|
```
|
|
114
|
-
|
|
140
|
+
|
|
115
141
|
</TabItem>
|
|
116
142
|
<TabItem value="Markdown">
|
|
117
143
|
|
|
118
144
|
```md
|
|
119
|
-
|
|
145
|
+
# spo homesite set --url "https://contoso.sharepoint.com/sites/TheLanding" --vivaConnectionsDefaultStart "true" --audienceNames "active"
|
|
146
|
+
|
|
147
|
+
Date: 7/27/2025
|
|
148
|
+
|
|
149
|
+
## The Landing (https://contoso.sharepoint.com/sites/TheLanding)
|
|
150
|
+
|
|
151
|
+
Property | Value
|
|
152
|
+
---------|-------
|
|
153
|
+
IsInDraftMode | true
|
|
154
|
+
IsVivaBackendSite | false
|
|
155
|
+
SiteId | 431d7819-4aaf-49a1-b664-b2fe9e609b63
|
|
156
|
+
TargetedLicenseType | 2
|
|
157
|
+
Title | The Landing
|
|
158
|
+
Url | https://contoso.sharepoint.com/sites/TheLanding
|
|
159
|
+
VivaConnectionsDefaultStart | true
|
|
160
|
+
WebId | 626c1724-8ac8-45d5-af87-c07c752fab75
|
|
120
161
|
```
|
|
121
|
-
|
|
122
162
|
</TabItem>
|
|
123
163
|
</Tabs>
|
|
124
164
|
|
|
@@ -63,8 +63,8 @@ m365 spo list view add [options]
|
|
|
63
63
|
`--default`
|
|
64
64
|
: View will be set as default view, if specified.
|
|
65
65
|
|
|
66
|
-
`--paged`
|
|
67
|
-
: View supports paging
|
|
66
|
+
`--paged [paged]`
|
|
67
|
+
: View supports paging. Valid values are `true`, `false`. Defaults to `true`.
|
|
68
68
|
|
|
69
69
|
`--rowLimit [rowLimit]`
|
|
70
70
|
: Sets the number of items to display for the view. Default value is 30.
|
|
@@ -76,7 +76,7 @@ m365 spo list view add [options]
|
|
|
76
76
|
|
|
77
77
|
:::tip
|
|
78
78
|
|
|
79
|
-
We recommend using the `paged` option.
|
|
79
|
+
We recommend using the `paged` option. Paging is enabled by default: the view shows items page by page, up to the specified `rowLimit` per page. To disable paging, set `paged` to `false`; in a non-paged view, the `rowLimit` is absolute and there is no link to see more items.
|
|
80
80
|
|
|
81
81
|
:::
|
|
82
82
|
|
|
@@ -85,43 +85,43 @@ We recommend using the `paged` option. When specified, the view supports display
|
|
|
85
85
|
Add a list view called to a list with specific title.
|
|
86
86
|
|
|
87
87
|
```sh
|
|
88
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "All customers" --fields "LinkTitle,Country,Sector,Country,Address,Contact"
|
|
88
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "All customers" --fields "LinkTitle,Country,Sector,Country,Address,Contact"
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
Add a gallery view as default view to a list with a specific URL.
|
|
92
92
|
|
|
93
93
|
```sh
|
|
94
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listUrl "/Lists/Customers" --title "All customers" --type gallery --fields "LinkTitle,Country,Sector,Country,Address,Contact" --
|
|
94
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listUrl "/Lists/Customers" --title "All customers" --type gallery --fields "LinkTitle,Country,Sector,Country,Address,Contact" --default
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
Add a view with defined filter and sorting.
|
|
98
98
|
|
|
99
99
|
```sh
|
|
100
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "Transport customers" --fields "LinkTitle,Country,Country,Address,Contact" --viewQuery "<OrderBy><FieldRef Name='LinkTitle' Ascending='TRUE' /></OrderBy><Where><Eq><FieldRef Name='Sector' /><Value Type='Text'>Transportation</Value></Eq></Where>"
|
|
100
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "Transport customers" --fields "LinkTitle,Country,Country,Address,Contact" --viewQuery "<OrderBy><FieldRef Name='LinkTitle' Ascending='TRUE' /></OrderBy><Where><Eq><FieldRef Name='Sector' /><Value Type='Text'>Transportation</Value></Eq></Where>"
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
Add a gallery view as personal view.
|
|
104
104
|
|
|
105
105
|
```sh
|
|
106
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "All customers" --type gallery --fields "LinkTitle,Country,Sector,Country,Address,Contact" --
|
|
106
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "All customers" --type gallery --fields "LinkTitle,Country,Sector,Country,Address,Contact" --personal
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
Add a calendar view with month layout.
|
|
110
110
|
|
|
111
111
|
```sh
|
|
112
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Events" --title "All events" --type calendar --fields "EventType,InternalExternal" --calendarStartDateField EventStartDate --calendarEndDateField EventEndDate --calendarTitleField LinkTitle
|
|
112
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Events" --title "All events" --type calendar --fields "EventType,InternalExternal" --calendarStartDateField EventStartDate --calendarEndDateField EventEndDate --calendarTitleField LinkTitle
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
Add a calendar view with week layout and subtitle.
|
|
116
116
|
|
|
117
117
|
```sh
|
|
118
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Events" --title "All events" --type calendar --fields "EventType,InternalExternal" --calendarStartDateField EventStartDate --calendarEndDateField EventEndDate --calendarTitleField LinkTitle --calendarSubTitleField Location --calendarDefaultLayout week
|
|
118
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Events" --title "All events" --type calendar --fields "EventType,InternalExternal" --calendarStartDateField EventStartDate --calendarEndDateField EventEndDate --calendarTitleField LinkTitle --calendarSubTitleField Location --calendarDefaultLayout week
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
Add a Kanban board view.
|
|
122
122
|
|
|
123
123
|
```sh
|
|
124
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Tasks" --title "All tasks" --type kanban --fields "Title,AssignedTo" --kanbanBucketField Status
|
|
124
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Tasks" --title "All tasks" --type kanban --fields "Title,AssignedTo" --kanbanBucketField Status
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
## Response
|
|
@@ -252,7 +252,7 @@ m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --lis
|
|
|
252
252
|
<TabItem value="Markdown">
|
|
253
253
|
|
|
254
254
|
```md
|
|
255
|
-
# spo list view add --webUrl "https://contoso.sharepoint.com" --listTitle "Test" --title "All events" --fields "FieldName1" --viewQuery "<OrderBy><FieldRef Name='Created' Ascending='FALSE' /></OrderBy><Where><Eq><FieldRef Name='TextFieldName' /><Value Type='Text'>Field value</Value></Eq></Where>"
|
|
255
|
+
# spo list view add --webUrl "https://contoso.sharepoint.com" --listTitle "Test" --title "All events" --fields "FieldName1" --viewQuery "<OrderBy><FieldRef Name='Created' Ascending='FALSE' /></OrderBy><Where><Eq><FieldRef Name='TextFieldName' /><Value Type='Text'>Field value</Value></Eq></Where>"
|
|
256
256
|
|
|
257
257
|
Date: 2/20/2023
|
|
258
258
|
|
|
@@ -46,12 +46,12 @@ m365 spo serviceprincipal grant list
|
|
|
46
46
|
```json
|
|
47
47
|
[
|
|
48
48
|
{
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
49
|
+
"clientId": "1e551032-3e2d-4d6b-9392-9b25451313a0",
|
|
50
|
+
"consentType": "AllPrincipals",
|
|
51
|
+
"id": "MhBVHi0-a02TkpslRRMToFw7FM2TduxCifs3fo6XqP8",
|
|
52
|
+
"principalId": null,
|
|
53
|
+
"resourceId": "cd143b5c-7693-42ec-89fb-377e8e97a8ff",
|
|
54
|
+
"scope": "User.Read"
|
|
55
55
|
}
|
|
56
56
|
]
|
|
57
57
|
```
|
|
@@ -60,17 +60,17 @@ m365 spo serviceprincipal grant list
|
|
|
60
60
|
<TabItem value="Text">
|
|
61
61
|
|
|
62
62
|
```text
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
clientId consentType id principalId resourceId scope
|
|
64
|
+
------------------------------------ ------------- ------------------------------------------- ----------- ------------------------------------ ----------
|
|
65
|
+
1e551032-3e2d-4d6b-9392-9b25451313a0 AllPrincipals MhBVHi0-a02TkpslRRMToFw7FM2TduxCifs3fo6XqP8 null cd143b5c-7693-42ec-89fb-377e8e97a8ff User.Read
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
</TabItem>
|
|
69
69
|
<TabItem value="CSV">
|
|
70
70
|
|
|
71
71
|
```csv
|
|
72
|
-
|
|
73
|
-
,
|
|
72
|
+
clientId,consentType,id,principalId,resourceId,scope
|
|
73
|
+
1e551032-3e2d-4d6b-9392-9b25451313a0,AllPrincipals,MhBVHi0-a02TkpslRRMToFw7FM2TduxCifs3fo6XqP8,,cd143b5c-7693-42ec-89fb-377e8e97a8ff,User.Read
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
</TabItem>
|
|
@@ -79,17 +79,17 @@ m365 spo serviceprincipal grant list
|
|
|
79
79
|
```md
|
|
80
80
|
# spo serviceprincipal grant list
|
|
81
81
|
|
|
82
|
-
Date:
|
|
82
|
+
Date: 7/8/2025
|
|
83
83
|
|
|
84
|
-
##
|
|
84
|
+
## MhBVHi0-a02TkpslRRMToFw7FM2TduxCifs3fo6XqP8
|
|
85
85
|
|
|
86
86
|
Property | Value
|
|
87
87
|
---------|-------
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
clientId | 1e551032-3e2d-4d6b-9392-9b25451313a0
|
|
89
|
+
consentType | AllPrincipals
|
|
90
|
+
id | MhBVHi0-a02TkpslRRMToFw7FM2TduxCifs3fo6XqP8
|
|
91
|
+
resourceId | cd143b5c-7693-42ec-89fb-377e8e97a8ff
|
|
92
|
+
scope | User.Read
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
</TabItem>
|
|
@@ -62,42 +62,31 @@ m365 teams report directroutingcalls --fromDateTime 2020-10-31 --toDateTime 2020
|
|
|
62
62
|
<TabItem value="JSON">
|
|
63
63
|
|
|
64
64
|
``` json
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
</TabItem>
|
|
96
|
-
<TabItem value="Text">
|
|
97
|
-
|
|
98
|
-
``` text
|
|
99
|
-
id,calleeNumber,callerNumber,startDateTime
|
|
100
|
-
9e8bba57-dc14-533a-a7dd-f0da6575eed1,+01234567***,+12345678***,2019-11-01T00:00:25.105Z
|
|
65
|
+
[
|
|
66
|
+
{
|
|
67
|
+
"id": "9e8bba57-dc14-533a-a7dd-f0da6575eed1",
|
|
68
|
+
"correlationId": "c98e1515-a937-4b81-b8a8-3992afde64e0",
|
|
69
|
+
"userId": "db03c14b-06eb-4189-939b-7cbf3a20ba27",
|
|
70
|
+
"userPrincipalName": "richard.malk@contoso.com",
|
|
71
|
+
"userDisplayName": "Richard Malk",
|
|
72
|
+
"startDateTime": "2019-11-01T00:00:25.105Z",
|
|
73
|
+
"inviteDateTime": "2019-11-01T00:00:21.949Z",
|
|
74
|
+
"failureDateTime": "0001-01-01T00:00:00Z",
|
|
75
|
+
"endDateTime": "2019-11-01T00:00:30.105Z",
|
|
76
|
+
"duration": 5,
|
|
77
|
+
"callType": "ByotIn",
|
|
78
|
+
"successfulCall": true,
|
|
79
|
+
"callerNumber": "+12345678***",
|
|
80
|
+
"calleeNumber": "+01234567***",
|
|
81
|
+
"mediaPathLocation": "USWE",
|
|
82
|
+
"signalingLocation": "EUNO",
|
|
83
|
+
"finalSipCode": 0,
|
|
84
|
+
"callEndSubReason": 540000,
|
|
85
|
+
"finalSipCodePhrase": "BYE",
|
|
86
|
+
"trunkFullyQualifiedDomainName": "tll-audiocodes01.adatum.biz",
|
|
87
|
+
"mediaBypassEnabled": false
|
|
88
|
+
}
|
|
89
|
+
]
|
|
101
90
|
```
|
|
102
91
|
|
|
103
92
|
</TabItem>
|
|
@@ -108,14 +97,6 @@ m365 teams report directroutingcalls --fromDateTime 2020-10-31 --toDateTime 2020
|
|
|
108
97
|
9e8bba57-dc14-533a-a7dd-f0da6575eed1,+01234567***,+12345678***,2019-11-01T00:00:25.105Z
|
|
109
98
|
```
|
|
110
99
|
|
|
111
|
-
</TabItem>
|
|
112
|
-
<TabItem value="Markdown">
|
|
113
|
-
|
|
114
|
-
```md
|
|
115
|
-
id,calleeNumber,callerNumber,startDateTime
|
|
116
|
-
9e8bba57-dc14-533a-a7dd-f0da6575eed1,+01234567***,+12345678***,2019-11-01T00:00:25.105Z
|
|
117
|
-
```
|
|
118
|
-
|
|
119
100
|
</TabItem>
|
|
120
101
|
</Tabs>
|
|
121
102
|
|
|
@@ -56,52 +56,37 @@ Get details about PSTN calls made between 2020-10-31 and 2020-12-31 and exports
|
|
|
56
56
|
m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --output json > "pstncalls.json"
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
## More information
|
|
60
|
-
|
|
61
|
-
- List PSTN calls: [https://learn.microsoft.com/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0)
|
|
62
|
-
|
|
63
59
|
## Response
|
|
64
60
|
|
|
65
61
|
<Tabs>
|
|
66
62
|
<TabItem value="JSON">
|
|
67
63
|
|
|
68
64
|
``` json
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
</TabItem>
|
|
100
|
-
<TabItem value="Text">
|
|
101
|
-
|
|
102
|
-
``` text
|
|
103
|
-
id,calleeNumber,callerNumber,startDateTime
|
|
104
|
-
9c4984c7-6c3c-427d-a30c-bd0b2eacee90,+1234567890,+0123456789,2019-11-01T00:00:08.2589935Z
|
|
65
|
+
[
|
|
66
|
+
{
|
|
67
|
+
"id": "9c4984c7-6c3c-427d-a30c-bd0b2eacee90",
|
|
68
|
+
"callId": "1835317186_112562680@61.221.3.176",
|
|
69
|
+
"userId": "db03c14b-06eb-4189-939b-7cbf3a20ba27",
|
|
70
|
+
"userPrincipalName": "richard.malk@contoso.com",
|
|
71
|
+
"userDisplayName": "Richard Malk",
|
|
72
|
+
"startDateTime": "2019-11-01T00:00:08.2589935Z",
|
|
73
|
+
"endDateTime": "2019-11-01T00:03:47.2589935Z",
|
|
74
|
+
"duration": 219,
|
|
75
|
+
"charge": 0.00,
|
|
76
|
+
"callType": "user_in",
|
|
77
|
+
"currency": "USD",
|
|
78
|
+
"calleeNumber": "+1234567890",
|
|
79
|
+
"usageCountryCode": "US",
|
|
80
|
+
"tenantCountryCode": "US",
|
|
81
|
+
"connectionCharge": 0.00,
|
|
82
|
+
"callerNumber": "+0123456789",
|
|
83
|
+
"destinationContext": null,
|
|
84
|
+
"destinationName": "United States",
|
|
85
|
+
"conferenceId": null,
|
|
86
|
+
"licenseCapability": "MCOPSTNU",
|
|
87
|
+
"inventoryType": "Subscriber"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
105
90
|
```
|
|
106
91
|
|
|
107
92
|
</TabItem>
|
|
@@ -112,14 +97,6 @@ m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --
|
|
|
112
97
|
9c4984c7-6c3c-427d-a30c-bd0b2eacee90,+1234567890,+0123456789,2019-11-01T00:00:08.2589935Z
|
|
113
98
|
```
|
|
114
99
|
|
|
115
|
-
</TabItem>
|
|
116
|
-
<TabItem value="Markdown">
|
|
117
|
-
|
|
118
|
-
```md
|
|
119
|
-
id,calleeNumber,callerNumber,startDateTime
|
|
120
|
-
9c4984c7-6c3c-427d-a30c-bd0b2eacee90,+1234567890,+0123456789,2019-11-01T00:00:08.2589935Z
|
|
121
|
-
```
|
|
122
|
-
|
|
123
100
|
</TabItem>
|
|
124
101
|
</Tabs>
|
|
125
102
|
|
|
@@ -16,6 +16,25 @@ m365 viva engage community list [options]
|
|
|
16
16
|
|
|
17
17
|
<Global />
|
|
18
18
|
|
|
19
|
+
## Permissions
|
|
20
|
+
|
|
21
|
+
<Tabs>
|
|
22
|
+
<TabItem value="Delegated">
|
|
23
|
+
|
|
24
|
+
| Resource | Permissions |
|
|
25
|
+
|-----------------|--------------------|
|
|
26
|
+
| Microsoft Graph | Community.Read.All |
|
|
27
|
+
|
|
28
|
+
</TabItem>
|
|
29
|
+
<TabItem value="Application">
|
|
30
|
+
|
|
31
|
+
| Resource | Permissions |
|
|
32
|
+
|-----------------|--------------------|
|
|
33
|
+
| Microsoft Graph | Community.Read.All |
|
|
34
|
+
|
|
35
|
+
</TabItem>
|
|
36
|
+
</Tabs>
|
|
37
|
+
|
|
19
38
|
## Examples
|
|
20
39
|
|
|
21
40
|
Lists all Viva Engage communities
|
|
@@ -36,6 +36,25 @@ m365 viva engage community user add [options]
|
|
|
36
36
|
|
|
37
37
|
<Global />
|
|
38
38
|
|
|
39
|
+
## Permissions
|
|
40
|
+
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|---------------------------|
|
|
46
|
+
| Microsoft Graph | GroupMember.ReadWrite.All |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
<TabItem value="Application">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|-----------------|---------------------------|
|
|
53
|
+
| Microsoft Graph | GroupMember.ReadWrite.All |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
39
58
|
## Examples
|
|
40
59
|
|
|
41
60
|
Add a single user specified by ID as a member to a community specified by display name.
|
|
@@ -36,6 +36,25 @@ m365 viva engage community user remove [options]
|
|
|
36
36
|
|
|
37
37
|
<Global />
|
|
38
38
|
|
|
39
|
+
## Permissions
|
|
40
|
+
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|---------------------------|
|
|
46
|
+
| Microsoft Graph | GroupMember.ReadWrite.All |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
<TabItem value="Application">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|-----------------|---------------------------|
|
|
53
|
+
| Microsoft Graph | GroupMember.ReadWrite.All |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
39
58
|
## Examples
|
|
40
59
|
|
|
41
60
|
Remove a user specified by ID as a member from a community specified by display name.
|