@pnp/cli-microsoft365 10.10.0-beta.eb74779 → 10.11.0-beta.24af61c
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 +2 -0
- package/Dockerfile +2 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/config.js +1 -0
- package/dist/m365/base/GraphApplicationCommand.js +17 -0
- package/dist/m365/base/{DelegatedGraphCommand.js → GraphDelegatedCommand.js} +4 -4
- package/dist/m365/base/PowerAppsCommand.js +1 -1
- package/dist/m365/base/PowerAutomateCommand.js +1 -1
- package/dist/m365/base/PowerBICommand.js +1 -1
- package/dist/m365/base/PowerPlatformCommand.js +1 -1
- package/dist/m365/base/VivaEngageCommand.js +1 -1
- package/dist/m365/cli/commands/app/app-add.js +95 -0
- package/dist/m365/cli/commands.js +1 -0
- package/dist/m365/entra/commands/app/app-get.js +11 -52
- package/dist/m365/entra/commands/app/app-permission-add.js +19 -30
- package/dist/m365/entra/commands/app/app-permission-list.js +2 -19
- package/dist/m365/entra/commands/app/app-permission-remove.js +22 -31
- package/dist/m365/entra/commands/app/app-remove.js +2 -18
- package/dist/m365/entra/commands/app/app-role-add.js +10 -43
- package/dist/m365/entra/commands/app/app-role-list.js +2 -20
- package/dist/m365/entra/commands/app/app-role-remove.js +9 -40
- package/dist/m365/entra/commands/app/app-set.js +2 -19
- package/dist/m365/entra/commands/group/group-member-add.js +55 -10
- package/dist/m365/entra/commands/group/group-member-set.js +18 -3
- package/dist/m365/entra/commands/organization/organization-set.js +104 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/outlook/commands/message/message-move.js +1 -1
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +7 -21
- package/dist/m365/spe/commands/container/container-recyclebinitem-restore.js +96 -0
- package/dist/m365/spe/commands.js +1 -0
- package/dist/m365/spfx/commands/project/base-project-command.js +1 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.21.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.21.1.js +2 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.22.0-beta.1.js +21 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002022_DEVDEP_typescript.js +10 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-model/SassJson.js +2 -0
- package/dist/m365/spfx/commands/project/project-model/index.js +1 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002001_DEVDEP_microsoft_sp_build_web.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002004_DEVDEP_gulp.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002007_DEVDEP_ajv.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002029_DEVDEP_microsoft_rush_stack_compiler_5_3.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002030_DEVDEP_microsoft_spfx_web_build_rig.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002031_DEVDEP_rushstack_heft.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002033_DEVDEP_jest_junit.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010011_YORC_useGulp.js +40 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015010_FILE_gulpfile_js.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015011_FILE_tsconfig_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015012_FILE_config_heft_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015013_FILE_config_jest_config_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015014_FILE_config_rig_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015015_FILE_config_typescript_json.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021004_PKG_scripts_build.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021005_PKG_scripts_test.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021006_PKG_scripts_clean.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021007_PKG_scripts_deploy.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021008_PKG_scripts_start.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021009_PKG_scripts_build_watch.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021010_PKG_scripts_package_solution.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021011_PKG_scripts_deploy_azure_storage.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021012_PKG_scripts_eject_webpack.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021013_PKG_overrides_rushstack_heft.js +45 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023003_GITIGNORE_libdts.js +36 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023004_GITIGNORE_libcommonjs.js +36 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023005_GITIGNORE_libesm.js +36 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023006_GITIGNORE_jestoutput.js +36 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN026001_CFG_SASS_schema.js +40 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN026002_CFG_SASS_extends.js +40 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FileAddRemoveRule.js +7 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.22.0-beta.1.js +241 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
- package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
- package/dist/m365/spo/commands/file/file-version-get.js +1 -0
- package/dist/m365/spo/commands/file/file-version-list.js +2 -2
- package/dist/m365/spo/commands/homesite/homesite-remove.js +57 -37
- package/dist/m365/spo/commands/list/list-view-add.js +140 -87
- package/dist/m365/spo/commands/page/Page.js +10 -3
- package/dist/m365/spo/commands/page/clientsidepages.js +4 -0
- package/dist/m365/spo/commands/page/page-section-add.js +73 -13
- package/dist/m365/spo/commands/page/page-section-list.js +5 -1
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +13 -7
- package/dist/m365/spo/commands/site/site-appcatalog-list.js +38 -2
- package/dist/m365/spo/commands/tenant/tenant-site-unarchive.js +1 -1
- package/dist/m365/teams/commands/callrecord/callrecord-list.js +100 -0
- package/dist/m365/teams/commands/chat/chat-message-send.js +2 -2
- package/dist/m365/teams/commands/message/message-remove.js +2 -2
- package/dist/m365/teams/commands/message/message-restore.js +2 -2
- package/dist/m365/teams/commands.js +1 -0
- package/dist/m365/todo/commands/list/list-add.js +2 -2
- package/dist/m365/todo/commands/list/list-get.js +2 -2
- package/dist/m365/todo/commands/list/list-list.js +2 -2
- package/dist/m365/todo/commands/list/list-remove.js +2 -2
- package/dist/m365/todo/commands/list/list-set.js +2 -2
- package/dist/m365/todo/commands/task/task-add.js +2 -2
- package/dist/m365/todo/commands/task/task-get.js +2 -2
- package/dist/m365/todo/commands/task/task-list.js +2 -2
- package/dist/m365/todo/commands/task/task-remove.js +2 -2
- package/dist/m365/todo/commands/task/task-set.js +2 -2
- package/dist/m365/viva/commands/engage/EngageRole.js +2 -0
- package/dist/m365/viva/commands/engage/engage-role-list.js +28 -0
- package/dist/m365/viva/commands/engage/engage-role-member-list.js +57 -0
- package/dist/m365/viva/commands.js +2 -0
- package/dist/utils/accessToken.js +9 -5
- package/dist/utils/entraApp.js +15 -0
- package/dist/utils/entraGroup.js +43 -0
- package/dist/utils/vivaEngage.js +19 -0
- package/docs/docs/cmd/cli/app/app-add.mdx +50 -0
- package/docs/docs/cmd/entra/group/group-member-add.mdx +26 -5
- package/docs/docs/cmd/entra/group/group-member-set.mdx +7 -4
- package/docs/docs/cmd/entra/organization/organization-set.mdx +84 -0
- package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +53 -0
- package/docs/docs/cmd/spo/file/file-version-get.mdx +5 -2
- package/docs/docs/cmd/spo/file/file-version-list.mdx +7 -5
- package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +6 -3
- package/docs/docs/cmd/spo/list/list-view-add.mdx +53 -10
- package/docs/docs/cmd/spo/page/page-section-add.mdx +22 -2
- package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +11 -0
- package/docs/docs/cmd/spo/tenant/tenant-site-unarchive.mdx +1 -1
- package/docs/docs/cmd/teams/callrecord/callrecord-list.mdx +173 -0
- package/docs/docs/cmd/viva/engage/engage-role-list.mdx +102 -0
- package/docs/docs/cmd/viva/engage/engage-role-member-list.mdx +118 -0
- package/npm-shrinkwrap.json +293 -765
- package/package.json +18 -17
|
@@ -23,7 +23,10 @@ m365 entra group member set [options]
|
|
|
23
23
|
: The display name of the Microsoft Entra group. Specify `groupId`, `groupDisplayName` or `groupName` but not multiple.
|
|
24
24
|
|
|
25
25
|
`--ids [ids]`
|
|
26
|
-
: Comma-separated list of user IDs. Specify either `ids` or `userNames` but not
|
|
26
|
+
: (deprecated. Use option `userIds` instead) Comma-separated list of user IDs. Specify either `ids`, `userIds` or `userNames` but not multiple.
|
|
27
|
+
|
|
28
|
+
`--userIds [userIds]`
|
|
29
|
+
: Comma-separated list of user IDs. Specify either `ids`, `userIds` or `userNames` but not multiple.
|
|
27
30
|
|
|
28
31
|
`--userNames [userNames]`
|
|
29
32
|
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `ids` or `userNames` but not both.
|
|
@@ -39,19 +42,19 @@ m365 entra group member set [options]
|
|
|
39
42
|
Update a single member specified by ID to a member of a group specified by display name
|
|
40
43
|
|
|
41
44
|
```sh
|
|
42
|
-
m365 entra group member set --groupDisplayName Developers --
|
|
45
|
+
m365 entra group member set --groupDisplayName Developers --userIds 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
43
46
|
```
|
|
44
47
|
|
|
45
48
|
Update a single member specified by ID to a member of a group specified by group name
|
|
46
49
|
|
|
47
50
|
```sh
|
|
48
|
-
m365 entra group member set --groupName Developers --
|
|
51
|
+
m365 entra group member set --groupName Developers --userIds 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
49
52
|
```
|
|
50
53
|
|
|
51
54
|
Update multiple members specified by ID to members of a group specified by ID
|
|
52
55
|
|
|
53
56
|
```sh
|
|
54
|
-
m365 entra group member set --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --
|
|
57
|
+
m365 entra group member set --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userIds "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
|
|
55
58
|
```
|
|
56
59
|
|
|
57
60
|
Update a single member specified by UPN to an owner of a group specified by display name
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# entra organization set
|
|
6
|
+
|
|
7
|
+
Updates info about the organization
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra organization set [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id [id]`
|
|
19
|
+
: The id of the organization. Specify either `id` or `displayName`, but not both.
|
|
20
|
+
|
|
21
|
+
`-d, --displayName [displayName]`
|
|
22
|
+
: The name of the organization. Specify either `id` or `displayName`, but not both.
|
|
23
|
+
|
|
24
|
+
`--marketingNotificationEmails [marketingNotificationEmails]`
|
|
25
|
+
: The comma separated list of marketing notification emails.
|
|
26
|
+
|
|
27
|
+
`--securityComplianceNotificationMails [securityComplianceNotificationMails]`
|
|
28
|
+
: The comma separated list of security compliance notification emails.
|
|
29
|
+
|
|
30
|
+
`--securityComplianceNotificationPhones [securityComplianceNotificationPhones]`
|
|
31
|
+
: The comma separated list of security compliance notification phones.
|
|
32
|
+
|
|
33
|
+
`--technicalNotificationMails [technicalNotificationMails]`
|
|
34
|
+
: The comma separated list of technical notification emails.
|
|
35
|
+
|
|
36
|
+
`--contactEmail [contactEmail]`
|
|
37
|
+
: A valid smtp email address for the privacy statement contact
|
|
38
|
+
|
|
39
|
+
`--statementUrl [statementUrl]`
|
|
40
|
+
: The URL that directs to the company's privacy statement
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
<Global />
|
|
44
|
+
|
|
45
|
+
## Permissions
|
|
46
|
+
|
|
47
|
+
<Tabs>
|
|
48
|
+
<TabItem value="Delegated">
|
|
49
|
+
|
|
50
|
+
| Resource | Permissions |
|
|
51
|
+
|-----------------|--------------------------------------------------|
|
|
52
|
+
| Microsoft Graph | Organization.ReadWrite.All |
|
|
53
|
+
|
|
54
|
+
</TabItem>
|
|
55
|
+
<TabItem value="Application">
|
|
56
|
+
|
|
57
|
+
| Resource | Permissions |
|
|
58
|
+
|-----------------|----------------------------------------------------------|
|
|
59
|
+
| Microsoft Graph | Organization.ReadWrite.All |
|
|
60
|
+
|
|
61
|
+
</TabItem>
|
|
62
|
+
</Tabs>
|
|
63
|
+
|
|
64
|
+
## Examples
|
|
65
|
+
|
|
66
|
+
Updates properties of an organization specified by id
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 entra organization set --id 84841066-274d-4ec0-a5c1-276be684bdd3 --marketingNotificationEmails 'marketing@contoso.com'
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Updates properties of an organization specified by displayName
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
m365 entra organization set --displayName Contoso --marketingNotificationEmails 'marketing@contoso.com'
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Response
|
|
79
|
+
|
|
80
|
+
The command won't return a response on success
|
|
81
|
+
|
|
82
|
+
## More information
|
|
83
|
+
|
|
84
|
+
- Organization: https://learn.microsoft.com/graph/api/organization-update
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spe container recyclebinitem restore
|
|
4
|
+
|
|
5
|
+
Restores a deleted container
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spe container recyclebinitem restore [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`--id [id]`
|
|
17
|
+
: The container id. Specify either `id` or `name` but not both.
|
|
18
|
+
|
|
19
|
+
`--name [name]`
|
|
20
|
+
: The display name of the Container. Specify either `id` or `name` but not both.
|
|
21
|
+
|
|
22
|
+
`--containerTypeId [containerTypeId]`
|
|
23
|
+
: The container type ID of the container instance. Use either `containerTypeId` or `containerTypeName` but not both.
|
|
24
|
+
|
|
25
|
+
`--containerTypeName [containerTypeName]`
|
|
26
|
+
: The container type name of the container instance. Use either `containerTypeId` or `containerTypeName` but not both.
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
<Global />
|
|
30
|
+
|
|
31
|
+
## Examples
|
|
32
|
+
|
|
33
|
+
Restore a deleted container by ID.
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
m365 spe container recyclebinitem restore --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Restore a deleted container by using its name and container type ID.
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
m365 spe container recyclebinitem restore --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73" --name "Invoices"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Restore a deleted container by using its name and container type name.
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
m365 spe container recyclebinitem restore --containerTypeName "My container type name" --name "Invoices"
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Response
|
|
52
|
+
|
|
53
|
+
The command won't return a response on success.
|
|
@@ -53,6 +53,7 @@ m365 spo file version get --webUrl https://contoso.sharepoint.com --label "1.0"
|
|
|
53
53
|
{
|
|
54
54
|
"CheckInComment": "",
|
|
55
55
|
"Created": "2022-10-30T12:03:06Z",
|
|
56
|
+
"ExpirationDate": "2026-01-31T08:23:43.0000000Z",
|
|
56
57
|
"ID": 512,
|
|
57
58
|
"IsCurrentVersion": false,
|
|
58
59
|
"Length": "18898",
|
|
@@ -68,6 +69,7 @@ m365 spo file version get --webUrl https://contoso.sharepoint.com --label "1.0"
|
|
|
68
69
|
```text
|
|
69
70
|
CheckInComment :
|
|
70
71
|
Created : 2022-10-30T12:03:06Z
|
|
72
|
+
ExpirationDate : 2026-01-31T08:23:43.0000000Z
|
|
71
73
|
ID : 512
|
|
72
74
|
IsCurrentVersion: false
|
|
73
75
|
Length : 18898
|
|
@@ -80,8 +82,8 @@ m365 spo file version get --webUrl https://contoso.sharepoint.com --label "1.0"
|
|
|
80
82
|
<TabItem value="CSV">
|
|
81
83
|
|
|
82
84
|
```csv
|
|
83
|
-
CheckInComment,Created,ID,IsCurrentVersion,Length,Size,Url,VersionLabel
|
|
84
|
-
,2022-10-30T12:03:06Z,512
|
|
85
|
+
CheckInComment,Created,ExpirationDate,ID,IsCurrentVersion,Length,Size,Url,VersionLabel
|
|
86
|
+
,2022-10-30T12:03:06Z,2026-01-31T08:23:43.0000000Z,512,0,18898,18898,_vti_history/512/Shared Documents/Document.docx,1.0
|
|
85
87
|
```
|
|
86
88
|
|
|
87
89
|
</TabItem>
|
|
@@ -98,6 +100,7 @@ m365 spo file version get --webUrl https://contoso.sharepoint.com --label "1.0"
|
|
|
98
100
|
---------|-------
|
|
99
101
|
CheckInComment |
|
|
100
102
|
Created | 2022-10-30T12:03:06Z
|
|
103
|
+
ExpirationDate | 2026-01-31T08:23:43.0000000Z
|
|
101
104
|
ID | 512
|
|
102
105
|
IsCurrentVersion | false
|
|
103
106
|
Length | 18898
|
|
@@ -57,6 +57,7 @@ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project
|
|
|
57
57
|
{
|
|
58
58
|
"CheckInComment": "",
|
|
59
59
|
"Created": "2022-10-30T12:03:06Z",
|
|
60
|
+
"ExpirationDate": "2026-01-31T08:23:43.0000000Z",
|
|
60
61
|
"ID": 512,
|
|
61
62
|
"IsCurrentVersion": false,
|
|
62
63
|
"Length": "18898",
|
|
@@ -71,17 +72,17 @@ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project
|
|
|
71
72
|
<TabItem value="Text">
|
|
72
73
|
|
|
73
74
|
```text
|
|
74
|
-
Created ID IsCurrentVersion VersionLabel
|
|
75
|
-
-------------------- ---- ---------------- ------------
|
|
76
|
-
2022-10-30T12:03:06Z 512 false 1.0
|
|
75
|
+
Created ID IsCurrentVersion VersionLabel ExpirationDate
|
|
76
|
+
-------------------- ---- ---------------- ------------ ----------------------------
|
|
77
|
+
2022-10-30T12:03:06Z 512 false 1.0 2026-01-31T08:23:43.0000000Z
|
|
77
78
|
```
|
|
78
79
|
|
|
79
80
|
</TabItem>
|
|
80
81
|
<TabItem value="CSV">
|
|
81
82
|
|
|
82
83
|
```csv
|
|
83
|
-
Created,ID,IsCurrentVersion,VersionLabel
|
|
84
|
-
2022-10-30T12:03:06Z,512,
|
|
84
|
+
CheckInComment,Created,ExpirationDate,ID,IsCurrentVersion,Length,Size,Url,VersionLabel
|
|
85
|
+
,2022-10-30T12:03:06Z,2026-01-31T08:23:43.0000000Z,512,0,18898,18898,_vti_history/512/Shared Documents/Document.docx,1.0
|
|
85
86
|
```
|
|
86
87
|
|
|
87
88
|
</TabItem>
|
|
@@ -98,6 +99,7 @@ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project
|
|
|
98
99
|
---------|-------
|
|
99
100
|
CheckInComment |
|
|
100
101
|
Created | 2022-10-30T12:03:06Z
|
|
102
|
+
ExpirationDate | 2026-01-31T08:23:43.0000000Z
|
|
101
103
|
ID | 512
|
|
102
104
|
IsCurrentVersion | false
|
|
103
105
|
Length | 18898
|
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# spo homesite remove
|
|
6
6
|
|
|
7
|
-
Removes
|
|
7
|
+
Removes a Home Site
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -15,6 +15,9 @@ m365 spo homesite remove [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
+
`-u, --url [url]`
|
|
19
|
+
: URL of the home site to remove.
|
|
20
|
+
|
|
18
21
|
`-f, --force`
|
|
19
22
|
: Do not prompt for confirmation before removing the Home Site.
|
|
20
23
|
```
|
|
@@ -31,10 +34,10 @@ To use this command you must be either **SharePoint Administrator** or **Global
|
|
|
31
34
|
|
|
32
35
|
## Examples
|
|
33
36
|
|
|
34
|
-
Removes
|
|
37
|
+
Removes a Home site specified by URL without prompting for confirmation.
|
|
35
38
|
|
|
36
39
|
```sh
|
|
37
|
-
m365 spo homesite remove --force
|
|
40
|
+
m365 spo homesite remove --url "https://contoso.sharepoint.com/sites/testcomms" --force
|
|
38
41
|
```
|
|
39
42
|
|
|
40
43
|
## Response
|
|
@@ -30,12 +30,33 @@ m365 spo list view add [options]
|
|
|
30
30
|
`--title <title>`
|
|
31
31
|
: Title of the view to be created for the list.
|
|
32
32
|
|
|
33
|
-
`--
|
|
34
|
-
:
|
|
33
|
+
`--type [type]`
|
|
34
|
+
: Type of the view. Possible values are: `list`, `calendar`, `gallery`, `kanban`. Defaults to `list`.
|
|
35
|
+
|
|
36
|
+
`--fields [fields]`
|
|
37
|
+
: Comma-separated list of **case-sensitive** internal names of the fields to add to the view. Optional when `type` is set to `calendar`.
|
|
35
38
|
|
|
36
39
|
`--viewQuery [viewQuery]`
|
|
37
40
|
: XML representation of the list query for the underlying view.
|
|
38
41
|
|
|
42
|
+
`--calendarStartDateField [calendarStartDateField]`
|
|
43
|
+
: Internal name of the field that contains the start date of the calendar event. Required when `type` is set to `calendar`.
|
|
44
|
+
|
|
45
|
+
`--calendarEndDateField [calendarEndDateField]`
|
|
46
|
+
: Internal name of the field that contains the end date of the calendar event. Required when `type` is set to `calendar`.
|
|
47
|
+
|
|
48
|
+
`--calendarTitleField [calendarTitleField]`
|
|
49
|
+
: Internal name of the field that contains the title of the calendar event. Required when `type` is set to `calendar`.
|
|
50
|
+
|
|
51
|
+
`--calendarSubTitleField [calendarSubTitleField]`
|
|
52
|
+
: Internal name of the field that contains the subtitle of the calendar event.
|
|
53
|
+
|
|
54
|
+
`--calendarDefaultLayout [calendarDefaultLayout]`
|
|
55
|
+
: Default layout of the calendar view. Possible values are: `month`, `week`, `workWeek`, `day`. Defaults to `month`.
|
|
56
|
+
|
|
57
|
+
`--kanbanBucketField [kanbanBucketField]`
|
|
58
|
+
: Internal name of the field that contains the bucket for the Kanban board view. Required when `type` is set to `kanban`.
|
|
59
|
+
|
|
39
60
|
`--personal`
|
|
40
61
|
: View will be created as personal view, if specified.
|
|
41
62
|
|
|
@@ -53,32 +74,54 @@ m365 spo list view add [options]
|
|
|
53
74
|
|
|
54
75
|
## Remarks
|
|
55
76
|
|
|
77
|
+
:::tip
|
|
78
|
+
|
|
56
79
|
We recommend using the `paged` option. When specified, the view supports displaying more items page by page (default behavior). When not specified, the `rowLimit` is absolute, and there is no link to see more items.
|
|
57
80
|
|
|
81
|
+
:::
|
|
82
|
+
|
|
58
83
|
## Examples
|
|
59
84
|
|
|
60
|
-
Add a view called
|
|
85
|
+
Add a list view called to a list with specific title.
|
|
86
|
+
|
|
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" --paged
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Add a gallery view as default view to a list with a specific URL.
|
|
92
|
+
|
|
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" --paged --default
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Add a view with defined filter and sorting.
|
|
98
|
+
|
|
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>" --paged
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Add a gallery view as personal view.
|
|
61
104
|
|
|
62
105
|
```sh
|
|
63
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/
|
|
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" --paged --personal
|
|
64
107
|
```
|
|
65
108
|
|
|
66
|
-
Add a
|
|
109
|
+
Add a calendar view with month layout.
|
|
67
110
|
|
|
68
111
|
```sh
|
|
69
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/
|
|
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 --paged
|
|
70
113
|
```
|
|
71
114
|
|
|
72
|
-
Add a
|
|
115
|
+
Add a calendar view with week layout and subtitle.
|
|
73
116
|
|
|
74
117
|
```sh
|
|
75
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/
|
|
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 --paged
|
|
76
119
|
```
|
|
77
120
|
|
|
78
|
-
Add a
|
|
121
|
+
Add a Kanban board view.
|
|
79
122
|
|
|
80
123
|
```sh
|
|
81
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/
|
|
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 --paged
|
|
82
125
|
```
|
|
83
126
|
|
|
84
127
|
## Response
|
|
@@ -20,7 +20,7 @@ m365 spo page section add [options]
|
|
|
20
20
|
: URL of the site where the page to retrieve is located.
|
|
21
21
|
|
|
22
22
|
`-t, --sectionTemplate <sectionTemplate>`
|
|
23
|
-
: Type of section to add. Allowed values `OneColumn`, `OneColumnFullWidth`, `TwoColumn`, `ThreeColumn`, `TwoColumnLeft`, `TwoColumnRight`, `Vertical`.
|
|
23
|
+
: Type of section to add. Allowed values `OneColumn`, `OneColumnFullWidth`, `TwoColumn`, `ThreeColumn`, `TwoColumnLeft`, `TwoColumnRight`, `Vertical`, `Flexible`.
|
|
24
24
|
|
|
25
25
|
`--order [order]`
|
|
26
26
|
: Order of the section to add.
|
|
@@ -43,6 +43,9 @@ m365 spo page section add [options]
|
|
|
43
43
|
`--isExpanded`
|
|
44
44
|
: Sets the default display state of the collapsible section. Sets `false` if not specified.
|
|
45
45
|
|
|
46
|
+
`--headingLevel [headingLevel]`
|
|
47
|
+
: Heading level of collapsible section Allowed values `2`, `3`, `4`.
|
|
48
|
+
|
|
46
49
|
`--gradientText [gradientText]`
|
|
47
50
|
: Sets the gradient setting of the background of a section. Required when `zoneEmphasis` is `Gradient`.
|
|
48
51
|
|
|
@@ -68,7 +71,13 @@ m365 spo page section add [options]
|
|
|
68
71
|
: The overlay opacity for the background. Applied only when `zoneEmphasis` is `Image` or `Gradient`. Sets `60` value if not specified.
|
|
69
72
|
|
|
70
73
|
`--collapsibleTitle [collapsibleTitle]`
|
|
71
|
-
: The display name of the collapsible section
|
|
74
|
+
: The display name of the collapsible section.
|
|
75
|
+
|
|
76
|
+
`--zoneReflowStrategy [zoneReflowStrategy]`
|
|
77
|
+
: Mobile and email reflow. Allowed values `TopToBottom`, `LeftToRight`. Applied only for `Flexible` section.
|
|
78
|
+
|
|
79
|
+
`--zoneHeight [zoneHeight]`
|
|
80
|
+
: Section height. Minimum value is `34`. Applied only for `Flexible` section.
|
|
72
81
|
```
|
|
73
82
|
|
|
74
83
|
<Global />
|
|
@@ -115,6 +124,12 @@ Add OneColumn section as a collapsible section as expanded with icon aligned to
|
|
|
115
124
|
m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate OneColumn --isCollapsibleSection --isExpanded --iconAlignment Left
|
|
116
125
|
```
|
|
117
126
|
|
|
127
|
+
Add OneColumn section as a collapsible section as expanded with headingLevel 3
|
|
128
|
+
|
|
129
|
+
```sh
|
|
130
|
+
m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate OneColumn --isCollapsibleSection --isExpanded --headingLevel 3
|
|
131
|
+
```
|
|
132
|
+
|
|
118
133
|
Add TwoColumn section with Image background
|
|
119
134
|
|
|
120
135
|
```sh
|
|
@@ -127,6 +142,11 @@ Add OneColumn section with Gradient background
|
|
|
127
142
|
m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate TwoColumn --zoneEmphasis Gradient --gradientText "linear-gradient(72.44deg, #E6FBFE 0%, #EDDDFB 100%)"
|
|
128
143
|
```
|
|
129
144
|
|
|
145
|
+
Add a Flexible section to the modern page with mobile and email reflow and section height.
|
|
146
|
+
|
|
147
|
+
```sh
|
|
148
|
+
m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate Flexible --zoneHeight 100 --zoneReflowStrategy LeftToRight
|
|
149
|
+
```
|
|
130
150
|
|
|
131
151
|
## Response
|
|
132
152
|
|
|
@@ -14,6 +14,11 @@ m365 spo site appcatalog list [options]
|
|
|
14
14
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--excludeDeletedSites [excludeDeletedSites]`
|
|
19
|
+
: Exclude site collections that are no longer active
|
|
20
|
+
```
|
|
21
|
+
|
|
17
22
|
<Global />
|
|
18
23
|
|
|
19
24
|
## Remarks
|
|
@@ -32,6 +37,12 @@ List all site collection app catalogs within the tenant
|
|
|
32
37
|
m365 spo site appcatalog list
|
|
33
38
|
```
|
|
34
39
|
|
|
40
|
+
List all site collection app catalogs within the tenant and exclude deleted sites.
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
m365 spo site appcatalog list --excludeDeletedSites
|
|
44
|
+
```
|
|
45
|
+
|
|
35
46
|
## Response
|
|
36
47
|
|
|
37
48
|
<Tabs>
|
|
@@ -34,7 +34,7 @@ To use this command, you must be a Global or SharePoint administrator.
|
|
|
34
34
|
|
|
35
35
|
:::warning
|
|
36
36
|
|
|
37
|
-
If a site
|
|
37
|
+
If a site has been archived for more than **seven days**, reactivating it triggers a 120-day cooldown period during which you can't archive the site again.
|
|
38
38
|
|
|
39
39
|
:::
|
|
40
40
|
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# teams callrecord list
|
|
6
|
+
|
|
7
|
+
Lists all Teams calls within the tenant
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 teams callrecord list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--userId [userId]`
|
|
19
|
+
: Filters call records to only include those where the user participated. Use the Entra user ID of the user. Specify either `userId` or `userName` but not both.
|
|
20
|
+
|
|
21
|
+
`--userName [userName]`
|
|
22
|
+
: Filters call records to only include those where the user participated. Use the UPN of the user. Specify either `userId` or `userName` but not both.
|
|
23
|
+
|
|
24
|
+
`--startDateTime [startDateTime]`
|
|
25
|
+
: Only show calls that started after this time. Defaults to 30 days ago.
|
|
26
|
+
|
|
27
|
+
`--endDateTime [endDateTime]`
|
|
28
|
+
: Only show calls that started before this time (exclusive). Defaults to now.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<Global />
|
|
32
|
+
|
|
33
|
+
## Remarks
|
|
34
|
+
|
|
35
|
+
:::info
|
|
36
|
+
|
|
37
|
+
This command only supports application permissions. Use scope `CallRecords.Read.All`.
|
|
38
|
+
|
|
39
|
+
:::
|
|
40
|
+
|
|
41
|
+
:::note
|
|
42
|
+
|
|
43
|
+
It is only possible to retrieve call records from the past 30 days.
|
|
44
|
+
|
|
45
|
+
:::
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
Get all call records from the past 30 days.
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 teams callrecord list
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Get all call records where a specific user participated in.
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 teams callrecord list --userName "john.doe@contoso.com"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Get all call records that started within a specific timeframe.
|
|
62
|
+
|
|
63
|
+
```sh
|
|
64
|
+
m365 teams callrecord list --startDateTime "2025-05-1T00:00:00Z" --endDateTime "2025-05-14T00:00:00Z"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Response
|
|
68
|
+
|
|
69
|
+
<Tabs>
|
|
70
|
+
<TabItem value="JSON">
|
|
71
|
+
|
|
72
|
+
```json
|
|
73
|
+
[
|
|
74
|
+
{
|
|
75
|
+
"id": "145ae53b-7781-47c4-a5f7-b0e043012624",
|
|
76
|
+
"version": 1,
|
|
77
|
+
"type": "peerToPeer",
|
|
78
|
+
"modalities": [
|
|
79
|
+
"audio"
|
|
80
|
+
],
|
|
81
|
+
"lastModifiedDateTime": "2025-05-29T17:41:33.5066667Z",
|
|
82
|
+
"startDateTime": "2025-05-29T17:27:20.428943Z",
|
|
83
|
+
"endDateTime": "2025-05-29T17:37:20.428943Z",
|
|
84
|
+
"joinWebUrl": "",
|
|
85
|
+
"organizer": {
|
|
86
|
+
"acsUser": null,
|
|
87
|
+
"spoolUser": null,
|
|
88
|
+
"phone": null,
|
|
89
|
+
"guest": null,
|
|
90
|
+
"encrypted": null,
|
|
91
|
+
"onPremises": null,
|
|
92
|
+
"acsApplicationInstance": null,
|
|
93
|
+
"spoolApplicationInstance": null,
|
|
94
|
+
"applicationInstance": null,
|
|
95
|
+
"application": null,
|
|
96
|
+
"device": null,
|
|
97
|
+
"user": {
|
|
98
|
+
"id": "b51efc8b-0adf-486c-ba54-b239ffa7c1f9",
|
|
99
|
+
"displayName": "John Doe",
|
|
100
|
+
"tenantId": "de5e90f2-9a07-4ed1-b903-f801afa7b1fd"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"participants": [],
|
|
104
|
+
"organizer_v2": {
|
|
105
|
+
"id": "b51efc8b-0adf-486c-ba54-b239ffa7c1f9",
|
|
106
|
+
"identity": {
|
|
107
|
+
"endpointType": null,
|
|
108
|
+
"acsUser": null,
|
|
109
|
+
"spoolUser": null,
|
|
110
|
+
"phone": null,
|
|
111
|
+
"guest": null,
|
|
112
|
+
"encrypted": null,
|
|
113
|
+
"onPremises": null,
|
|
114
|
+
"acsApplicationInstance": null,
|
|
115
|
+
"spoolApplicationInstance": null,
|
|
116
|
+
"applicationInstance": null,
|
|
117
|
+
"application": null,
|
|
118
|
+
"device": null,
|
|
119
|
+
"azureCommunicationServicesUser": null,
|
|
120
|
+
"assertedIdentity": null,
|
|
121
|
+
"user": {
|
|
122
|
+
"id": "b51efc8b-0adf-486c-ba54-b239ffa7c1f9",
|
|
123
|
+
"displayName": "John Doe",
|
|
124
|
+
"tenantId": "de5e90f2-9a07-4ed1-b903-f801afa7b1fd",
|
|
125
|
+
"userPrincipalName": "john.doe@contoso.com"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"administrativeUnitInfos": []
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
</TabItem>
|
|
135
|
+
<TabItem value="Text">
|
|
136
|
+
|
|
137
|
+
```text
|
|
138
|
+
id type startDateTime endDateTime
|
|
139
|
+
------------------------------------ ---------- ---------------------------- ----------------------------
|
|
140
|
+
145ae53b-7781-47c4-a5f7-b0e043012624 peerToPeer 2025-05-29T17:27:20.428943Z 2025-05-29T17:37:20.428943Z
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
</TabItem>
|
|
144
|
+
<TabItem value="CSV">
|
|
145
|
+
|
|
146
|
+
```csv
|
|
147
|
+
id,version,type,lastModifiedDateTime,startDateTime,endDateTime,joinWebUrl
|
|
148
|
+
145ae53b-7781-47c4-a5f7-b0e043012624,1,peerToPeer,2025-05-29T17:41:33.5066667Z,2025-05-29T17:27:20.428943Z,2025-05-29T17:37:20.428943Z,
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
</TabItem>
|
|
152
|
+
<TabItem value="Markdown">
|
|
153
|
+
|
|
154
|
+
```md
|
|
155
|
+
# teams callrecord list
|
|
156
|
+
|
|
157
|
+
Date: 03/06/2025
|
|
158
|
+
|
|
159
|
+
## 145ae53b-7781-47c4-a5f7-b0e043012624
|
|
160
|
+
|
|
161
|
+
Property | Value
|
|
162
|
+
---------|-------
|
|
163
|
+
id | 145ae53b-7781-47c4-a5f7-b0e043012624
|
|
164
|
+
version | 1
|
|
165
|
+
type | peerToPeer
|
|
166
|
+
lastModifiedDateTime | 2025-05-29T17:41:33.5066667Z
|
|
167
|
+
startDateTime | 2025-05-29T17:27:20.428943Z
|
|
168
|
+
endDateTime | 2025-05-29T17:37:20.428943Z
|
|
169
|
+
joinWebUrl |
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
</TabItem>
|
|
173
|
+
</Tabs>
|