@pnp/cli-microsoft365 10.3.0-beta.f5e6f85 → 10.4.0-beta.17b3a55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/config.js +3 -1
  4. package/dist/m365/entra/commands/app/app-add.js +3 -0
  5. package/dist/m365/entra/commands/resourcenamespace/resourcenamespace-list.js +28 -0
  6. package/dist/m365/entra/commands/rolepermission/rolepermission-list.js +42 -0
  7. package/dist/m365/entra/commands.js +2 -0
  8. package/dist/m365/outlook/commands/mailbox/mailbox-settings-get.js +71 -0
  9. package/dist/m365/outlook/commands/mailbox/mailbox-settings-set.js +5 -2
  10. package/dist/m365/outlook/commands.js +1 -0
  11. package/dist/m365/spe/commands/container/container-activate.js +50 -0
  12. package/dist/m365/spe/commands.js +1 -0
  13. package/dist/m365/spo/commands/list/list-defaultvalue-clear.js +184 -0
  14. package/dist/m365/spo/commands/list/list-defaultvalue-remove.js +181 -0
  15. package/dist/m365/spo/commands/list/list-defaultvalue-set.js +210 -0
  16. package/dist/m365/spo/commands/mail/mail-send.js +2 -0
  17. package/dist/m365/spo/commands/page/page-get.js +40 -27
  18. package/dist/m365/spo/commands.js +3 -0
  19. package/dist/m365/tenant/commands/report/report-settings-get.js +32 -0
  20. package/dist/m365/tenant/commands/report/report-settings-set.js +47 -0
  21. package/dist/m365/tenant/commands.js +2 -0
  22. package/docs/docs/cmd/entra/app/app-add.mdx +1 -1
  23. package/docs/docs/cmd/entra/resourcenamespace/resourcenamespace-list.mdx +96 -0
  24. package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +4 -0
  25. package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +4 -0
  26. package/docs/docs/cmd/entra/rolepermission/rolepermission-list.mdx +164 -0
  27. package/docs/docs/cmd/outlook/mailbox/mailbox-settings-get.mdx +131 -0
  28. package/docs/docs/cmd/spe/container/container-activate.mdx +34 -0
  29. package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +62 -0
  30. package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +62 -0
  31. package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +112 -0
  32. package/docs/docs/cmd/spo/page/page-get.mdx +11 -2
  33. package/docs/docs/cmd/tenant/report/report-settings-get.mdx +67 -0
  34. package/docs/docs/cmd/tenant/report/report-settings-set.mdx +32 -0
  35. package/npm-shrinkwrap.json +2 -2
  36. package/package.json +1 -1
@@ -0,0 +1,164 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # entra rolepermission list
6
+
7
+ Lists all Microsoft Entra ID role permissions
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 entra rolepermission list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-n, --resourceNamespace [resourceNamespace]`
19
+ : The namespace of the resource for which to retrieve role permissions.
20
+
21
+ `-p, --privileged`
22
+ : Retrieve only sensitive role permissions.
23
+ ```
24
+
25
+ <Global />
26
+
27
+ ## Remarks
28
+
29
+ :::warning
30
+
31
+ The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
32
+
33
+ :::
34
+
35
+ Use the `m365 entra resourcenamespace list` command to get a list of available resource namespaces.
36
+
37
+ ## Examples
38
+
39
+ Get a list of role permissions
40
+
41
+ ```sh
42
+ m365 entra rolepermission list --resourceNamespace 'microsoft.directory'
43
+ ```
44
+
45
+ Get a list of sensitive role permissions
46
+
47
+ ```sh
48
+ m365 entra rolepermission list --resourceNamespace 'microsoft.directory' --privileged
49
+ ```
50
+
51
+ ## Response
52
+
53
+ <Tabs>
54
+ <TabItem value="JSON">
55
+
56
+ ```json
57
+ [
58
+ {
59
+ "actionVerb": null,
60
+ "description": "Create and delete access reviews, and read and update all properties of access reviews in Microsoft Entra ID",
61
+ "id": "microsoft.directory-accessReviews-allProperties-allTasks",
62
+ "isPrivileged": false,
63
+ "name": "microsoft.directory/accessReviews/allProperties/allTasks",
64
+ "resourceScopeId": null
65
+ },
66
+ {
67
+ "actionVerb": "GET",
68
+ "description": "Read all properties of access reviews",
69
+ "id": "microsoft.directory-accessReviews-allProperties-read-get",
70
+ "isPrivileged": false,
71
+ "name": "microsoft.directory/accessReviews/allProperties/read",
72
+ "resourceScopeId": null
73
+ },
74
+ {
75
+ "actionVerb": null,
76
+ "description": "Manage access reviews of application role assignments in Microsoft Entra ID",
77
+ "id": "microsoft.directory-accessReviews-definitions.applications-allProperties-allTasks",
78
+ "isPrivileged": false,
79
+ "name": "microsoft.directory/accessReviews/definitions.applications/allProperties/allTasks",
80
+ "resourceScopeId": null
81
+ },
82
+ {
83
+ "actionVerb": "GET",
84
+ "description": "Read all properties of access reviews of application role assignments in Microsoft Entra ID",
85
+ "id": "microsoft.directory-accessReviews-definitions.applications-allProperties-read-get",
86
+ "isPrivileged": false,
87
+ "name": "microsoft.directory/accessReviews/definitions.applications/allProperties/read",
88
+ "resourceScopeId": null
89
+ }
90
+ ]
91
+ ```
92
+
93
+ </TabItem>
94
+ <TabItem value="Text">
95
+
96
+ ```text
97
+ id name actionVerb isPrivileged
98
+ -------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------- ---------- ------------
99
+ microsoft.directory-accessReviews-allProperties-allTasks microsoft.directory/accessReviews/allProperties/allTasks null false
100
+ microsoft.directory-accessReviews-allProperties-read-get microsoft.directory/accessReviews/allProperties/read GET false
101
+ microsoft.directory-accessReviews-definitions.applications-allProperties-allTasks microsoft.directory/accessReviews/definitions.applications/allProperties/allTasks null false
102
+ microsoft.directory-accessReviews-definitions.applications-allProperties-read-get microsoft.directory/accessReviews/definitions.applications/allProperties/read GET false
103
+ ```
104
+
105
+ </TabItem>
106
+ <TabItem value="CSV">
107
+
108
+ ```csv
109
+ actionVerb,description,id,isPrivileged,name,resourceScopeId
110
+ ,"Create and delete access reviews, and read and update all properties of access reviews in Microsoft Entra ID",microsoft.directory-accessReviews-allProperties-allTasks,0,microsoft.directory/accessReviews/allProperties/allTasks,
111
+ GET,Read all properties of access reviews,microsoft.directory-accessReviews-allProperties-read-get,0,microsoft.directory/accessReviews/allProperties/read,
112
+ ,Manage access reviews of application role assignments in Microsoft Entra ID,microsoft.directory-accessReviews-definitions.applications-allProperties-allTasks,0,microsoft.directory/accessReviews/definitions.applications/allProperties/allTasks,
113
+ GET,Read all properties of access reviews of application role assignments in Microsoft Entra ID,microsoft.directory-accessReviews-definitions.applications-allProperties-read-get,0,microsoft.directory/accessReviews/definitions.applications/allProperties/read,
114
+ ```
115
+
116
+ </TabItem>
117
+ <TabItem value="Markdown">
118
+
119
+ ```md
120
+ # entra rolepermission list --resourceNamespace "microsoft.directory"
121
+
122
+ Date: 1/16/2025
123
+
124
+ ## microsoft.directory/accessReviews/allProperties/allTasks (microsoft.directory-accessReviews-allProperties-allTasks)
125
+
126
+ Property | Value
127
+ ---------|-------
128
+ description | Create and delete access reviews, and read and update all properties of access reviews in Microsoft Entra ID
129
+ id | microsoft.directory-accessReviews-allProperties-allTasks
130
+ isPrivileged | false
131
+ name | microsoft.directory/accessReviews/allProperties/allTasks
132
+
133
+ ## microsoft.directory/accessReviews/allProperties/read (microsoft.directory-accessReviews-allProperties-read-get)
134
+
135
+ Property | Value
136
+ ---------|-------
137
+ actionVerb | GET
138
+ description | Read all properties of access reviews
139
+ id | microsoft.directory-accessReviews-allProperties-read-get
140
+ isPrivileged | false
141
+ name | microsoft.directory/accessReviews/allProperties/read
142
+
143
+ ## microsoft.directory/accessReviews/definitions.applications/allProperties/allTasks (microsoft.directory-accessReviews-definitions.applications-allProperties-allTasks)
144
+
145
+ Property | Value
146
+ ---------|-------
147
+ description | Manage access reviews of application role assignments in Microsoft Entra ID
148
+ id | microsoft.directory-accessReviews-definitions.applications-allProperties-allTasks
149
+ isPrivileged | false
150
+ name | microsoft.directory/accessReviews/definitions.applications/allProperties/allTasks
151
+
152
+ ## microsoft.directory/accessReviews/definitions.applications/allProperties/read (microsoft.directory-accessReviews-definitions.applications-allProperties-read-get)
153
+
154
+ Property | Value
155
+ ---------|-------
156
+ actionVerb | GET
157
+ description | Read all properties of access reviews of application role assignments in Microsoft Entra ID
158
+ id | microsoft.directory-accessReviews-definitions.applications-allProperties-read-get
159
+ isPrivileged | false
160
+ name | microsoft.directory/accessReviews/definitions.applications/allProperties/read
161
+ ```
162
+
163
+ </TabItem>
164
+ </Tabs>
@@ -0,0 +1,131 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # outlook mailbox settings get
6
+
7
+ Get the user's mailbox settings
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 outlook mailbox settings get [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --userId [userId]`
19
+ : The ID of the Microsoft Entra user for which you want to get mailbox settings. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
20
+
21
+ `-n, --userName [userName]`
22
+ : The UPN of the Microsoft Entra user for which you want to get mailbox settings. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
23
+ ```
24
+
25
+ <Global />
26
+
27
+ ## Examples
28
+
29
+ Get mailbox settings of the signed-in user
30
+
31
+ ```sh
32
+ m365 outlook mailbox settings get
33
+ ```
34
+
35
+ Get mailbox settings of a user specified by id
36
+
37
+ ```sh
38
+ m365 outlook mailbox settings get --userId 1caf7dcd-7e83-4c3a-94f7-932a1299c844
39
+ ```
40
+
41
+ ## Response
42
+
43
+ <Tabs>
44
+ <TabItem value="JSON">
45
+
46
+ ```json
47
+ {
48
+ "archiveFolder": "AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgAuAAADSG3wPE27kUeySjmT5eRT8QEAfJKVL07sbkmIfHqjbDnRgQAAAgEMAAAA",
49
+ "timeZone": "Central Europe Standard Time",
50
+ "delegateMeetingMessageDeliveryOptions": "sendToDelegateOnly",
51
+ "dateFormat": "dd.MM.yyyy",
52
+ "timeFormat": "H:mm",
53
+ "userPurpose": "user",
54
+ "automaticRepliesSetting": {
55
+ "status": "disabled",
56
+ "externalAudience": "all",
57
+ "internalReplyMessage": "On vacation. Will be back.",
58
+ "externalReplyMessage": "Vacation",
59
+ "scheduledStartDateTime": {
60
+ "dateTime": "2025-01-20T08:00:00.0000000",
61
+ "timeZone": "UTC"
62
+ },
63
+ "scheduledEndDateTime": {
64
+ "dateTime": "2025-01-25T18:00:00.0000000",
65
+ "timeZone": "UTC"
66
+ }
67
+ },
68
+ "language": {
69
+ "locale": "en-US",
70
+ "displayName": "English (United States)"
71
+ },
72
+ "workingHours": {
73
+ "daysOfWeek": [
74
+ "monday",
75
+ "tuesday",
76
+ "wednesday",
77
+ "thursday",
78
+ "friday"
79
+ ],
80
+ "startTime": "08:00:00.0000000",
81
+ "endTime": "16:30:00.0000000",
82
+ "timeZone": {
83
+ "name": "Central Europe Standard Time"
84
+ }
85
+ }
86
+ }
87
+ ```
88
+
89
+ </TabItem>
90
+ <TabItem value="Text">
91
+
92
+ ```text
93
+ archiveFolder : AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgAuAAADSG3wPE27kUeySjmT5eRT8QEAfJKVL07sbkmIfHqjbDnRgQAAAgEMAAAA
94
+ automaticRepliesSetting : {"status":"disabled","externalAudience":"all","internalReplyMessage":"","externalReplyMessage":"","scheduledStartDateTime":{"dateTime":"2025-01-20T08:00:00.0000000","timeZone":"UTC"},"scheduledEndDateTime":{"dateTime":"2025-01-25T18:00:00.0000000","timeZone":"UTC"}}
95
+ dateFormat : dd.MM.yyyy
96
+ delegateMeetingMessageDeliveryOptions: sendToDelegateOnly
97
+ language : {"locale":"en-US","displayName":"English (United States)"}
98
+ timeFormat : H:mm
99
+ timeZone : Central Europe Standard Time
100
+ userPurpose : user
101
+ workingHours : {"daysOfWeek":["monday","tuesday","wednesday","thursday","friday"],"startTime":"08:00:00.0000000","endTime":"16:30:00.0000000","timeZone":{"name":"Central Europe Standard Time"}}
102
+ ```
103
+
104
+ </TabItem>
105
+ <TabItem value="CSV">
106
+
107
+ ```csv
108
+ archiveFolder,timeZone,delegateMeetingMessageDeliveryOptions,dateFormat,timeFormat,userPurpose
109
+ AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgAuAAADSG3wPE27kUeySjmT5eRT8QEAfJKVL07sbkmIfHqjbDnRgQAAAgEMAAAA,Central Europe Standard Time,sendToDelegateOnly,dd.MM.yyyy,H:mm,user
110
+ ```
111
+
112
+ </TabItem>
113
+ <TabItem value="Markdown">
114
+
115
+ ```md
116
+ # outlook mailbox settings get
117
+
118
+ Date: 1/17/2025
119
+
120
+ Property | Value
121
+ ---------|-------
122
+ archiveFolder | AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgAuAAADSG3wPE27kUeySjmT5eRT8QEAfJKVL07sbkmIfHqjbDnRgQAAAgEMAAAA
123
+ timeZone | Central Europe Standard Time
124
+ delegateMeetingMessageDeliveryOptions | sendToDelegateOnly
125
+ dateFormat | dd.MM.yyyy
126
+ timeFormat | H:mm
127
+ userPurpose | user
128
+ ```
129
+
130
+ </TabItem>
131
+ </Tabs>
@@ -0,0 +1,34 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spe container activate
6
+
7
+ Activates a container
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spe container activate [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --id <id>`
19
+ : The Id of the container instance.
20
+ ```
21
+
22
+ <Global />
23
+
24
+ ## Examples
25
+
26
+ Activates a container.
27
+
28
+ ```sh
29
+ m365 spe container activate --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
30
+ ```
31
+
32
+ ## Response
33
+
34
+ The command won't return a response on success.
@@ -0,0 +1,62 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # spo list defaultvalue clear
4
+
5
+ Clears default column values for a specific document library
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 spo list defaultvalue clear [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-u, --webUrl <webUrl>`
17
+ : URL of the site where the list is located.
18
+
19
+ `-i, --listId [listId]`
20
+ : ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
21
+
22
+ `-t, --listTitle [listTitle]`
23
+ : Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
24
+
25
+ `--listUrl [listUrl]`
26
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
27
+
28
+ `--fieldName [fieldName]`
29
+ : Internal name of the field to clear over the entire list. Specify either `fieldName` or `folderUrl`, but not both.
30
+
31
+ `--folderUrl [folderUrl]`
32
+ : Clear all fields of a specific folder by specifying a server- or site-relative URL. Specify either `fieldName` or `folderUrl`, but not both.
33
+
34
+ `-f, --force`
35
+ : Don't prompt for confirmation.
36
+ ```
37
+
38
+ <Global />
39
+
40
+ ## Examples
41
+
42
+ Remove all default column values from a library
43
+
44
+ ```sh
45
+ m365 spo list defaultvalue clear --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos
46
+ ```
47
+
48
+ Clear a field from all folders of a library
49
+
50
+ ```sh
51
+ m365 spo list defaultvalue clear --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --field Company
52
+ ```
53
+
54
+ Clear all fields from a specific folder in a library
55
+
56
+ ```sh
57
+ m365 spo list defaultvalue clear --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --folderUrl "/sites/Marketing/Logos/Contoso"
58
+ ```
59
+
60
+ ## Response
61
+
62
+ The command won't return a response on success.
@@ -0,0 +1,62 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # spo list defaultvalue remove
4
+
5
+ Removes a specific default column value for a specific document library
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 spo list defaultvalue remove [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-u, --webUrl <webUrl>`
17
+ : URL of the site where the list is located.
18
+
19
+ `-i, --listId [listId]`
20
+ : ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
21
+
22
+ `-t, --listTitle [listTitle]`
23
+ : Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
24
+
25
+ `--listUrl [listUrl]`
26
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
27
+
28
+ `--fieldName <fieldName>`
29
+ : Internal name of the field.
30
+
31
+ `--folderUrl [folderUrl]`
32
+ : Server- or site-relative URL of a specific folder to remove the field from. By default, the root folder of the list is used.
33
+
34
+ `-f, --force`
35
+ : Don't prompt for confirmation.
36
+ ```
37
+
38
+ <Global />
39
+
40
+ ## Examples
41
+
42
+ Remove a default column value from the root folder of the list
43
+
44
+ ```sh
45
+ m365 spo list defaultvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Company
46
+ ```
47
+
48
+ Remove a column default value from a specific folder using web-relative URL
49
+
50
+ ```sh
51
+ m365 spo list defaultvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl '/Logos' --fieldName Company --folderUrl '/Logos/Branding'
52
+ ```
53
+
54
+ Remove a column default value from a specific folder by server relative URL
55
+
56
+ ```sh
57
+ m365 spo list defaultvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listId fc6d514f-e7da-47d4-b48b-f72e2fb9c82a --field Company --folderUrl '/sites/Marketing/Logos/Branding'
58
+ ```
59
+
60
+ ## Response
61
+
62
+ The command won't return a response on success.
@@ -0,0 +1,112 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # spo list defaultvalue set
4
+
5
+ Sets default column values for a specific document library
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 spo list defaultvalue set [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-u, --webUrl <webUrl>`
17
+ : URL of the site where the list is located.
18
+
19
+ `-i, --listId [listId]`
20
+ : ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
21
+
22
+ `-t, --listTitle [listTitle]`
23
+ : Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
24
+
25
+ `--listUrl [listUrl]`
26
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
27
+
28
+ `--fieldName <fieldName>`
29
+ : Internal name of the field.
30
+
31
+ `--fieldValue <fieldValue>`
32
+ : Default value of the field.
33
+
34
+ `--folderUrl [folderUrl]`
35
+ : Set the value for a specific folder by specifying a server- or site-relative URL. By default, the root folder of the list is used.
36
+ ```
37
+
38
+ <Global />
39
+
40
+ # Remarks
41
+
42
+ :::note
43
+
44
+ Due to limitations in SharePoint Online, setting default column values for folders with a `#` or `%` character in their path is not supported.
45
+
46
+ :::
47
+
48
+ ## Examples
49
+
50
+ Set a default folder value on the root folder of a list for a text field
51
+
52
+ ```sh
53
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Company --fieldValue Contoso
54
+ ```
55
+
56
+ Set a default folder value for a taxonomy field on a specific folder
57
+
58
+ ```sh
59
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --folderUrl "/sites/Marketing/Logos/Contoso" --fieldName Country --fieldValue "-1;#Belgium|442affc2-7fab-4f33-9590-330403a579c2"
60
+ ```
61
+
62
+ Set a default folder value for a multi-taxonomy field on a specific folder
63
+
64
+ ```sh
65
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/marketing/Logos --folderUrl "/sites/Marketing/Logos/Contoso" --fieldName Countries --fieldValue "-1;#Belgium|442affc2-7fab-4f33-9590-330403a579c2;#-1;#France|14888324-5c48-46db-b748-215cbe24eb4c"
66
+ ```
67
+
68
+ Set a default folder value for a date field to today
69
+
70
+ ```sh
71
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Published --fieldValue "[today]"
72
+ ```
73
+
74
+ Set a default folder value for a date field
75
+
76
+ ```sh
77
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Published --fieldValue "2020-05-03T11:00:00Z"
78
+ ```
79
+
80
+ Set a default folder value for a choice field
81
+
82
+ ```sh
83
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/marketing/Logos --fieldName FileType --fieldValue Logo
84
+ ```
85
+
86
+ Set a default folder value for a multi-choice field
87
+
88
+ ```sh
89
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName FileTypes --fieldValue "Logo;#Brand"
90
+ ```
91
+
92
+ Set a default folder value for a yes/no field using site-relative list URL
93
+
94
+ ```sh
95
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /Logos --fieldName Active --fieldValue 1
96
+ ```
97
+
98
+ Set a default folder value for a user field
99
+
100
+ ```sh
101
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Responsible --fieldValue "1;#john.doe@contoso.com"
102
+ ```
103
+
104
+ Set a default folder value for a multi-user field
105
+
106
+ ```sh
107
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Responsible --fieldValue "1;#john.doe@contoso.com;#2;#adele.vance@contoso.com"
108
+ ```
109
+
110
+ ## Response
111
+
112
+ The command won't return a response on success.
@@ -15,8 +15,11 @@ m365 spo page get [options]
15
15
  ## Options
16
16
 
17
17
  ```md definition-list
18
- `-n, --name <name>`
19
- : Name of the page to retrieve.
18
+ `-n, --name [name]`
19
+ : Name of the page to retrieve. Specify either `name` or `default`, but not both.
20
+
21
+ `--default`
22
+ : Get the homepage of a specific web. Specify either `name` or `default`, but not both.
20
23
 
21
24
  `-u, --webUrl <webUrl>`
22
25
  : URL of the site where the page to retrieve is located.
@@ -39,6 +42,12 @@ Get information about the modern page.
39
42
  m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name home.aspx
40
43
  ```
41
44
 
45
+ Get information about the home page.
46
+
47
+ ```sh
48
+ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --default
49
+ ```
50
+
42
51
  Get all the metadata from the modern page, without the section and control count information.
43
52
 
44
53
  ```sh
@@ -0,0 +1,67 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # tenant report settings get
6
+
7
+ Get the tenant-level settings for Microsoft 365 reports
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 tenant report settings get [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ <Global />
18
+
19
+ ## Examples
20
+
21
+ Get the tenant-level settings for Microsoft 365 reports.
22
+
23
+ ```sh
24
+ m365 tenant report settings get
25
+ ```
26
+
27
+ ## Response
28
+
29
+ <Tabs>
30
+ <TabItem value="JSON">
31
+
32
+ ```json
33
+ {
34
+ "displayConcealedNames": true
35
+ }
36
+ ```
37
+
38
+ </TabItem>
39
+ <TabItem value="Text">
40
+
41
+ ```text
42
+ displayConcealedNames: true
43
+ ```
44
+
45
+ </TabItem>
46
+ <TabItem value="CSV">
47
+
48
+ ```csv
49
+ displayConcealedNames
50
+ 1
51
+ ```
52
+
53
+ </TabItem>
54
+ <TabItem value="Markdown">
55
+
56
+ ```md
57
+ # tenant report settings get
58
+
59
+ Date: 1/28/2025
60
+
61
+ Property | Value
62
+ ---------|-------
63
+ displayConcealedNames | true
64
+ ```
65
+
66
+ </TabItem>
67
+ </Tabs>
@@ -0,0 +1,32 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # tenant report settings set
4
+
5
+ Update tenant-level settings for Microsoft 365 reports
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 tenant report settings set [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-d, --displayConcealedNames <displayConcealedNames>`
17
+ : Determines whether all reports conceal user information such as usernames, groups, and sites. If false, all reports show identifiable information.
18
+ ```
19
+
20
+ <Global />
21
+
22
+ ## Examples
23
+
24
+ Configure the tenant to display concealed user information in Microsoft 365 reports
25
+
26
+ ```sh
27
+ m365 tenant report settings set --displayConcealedNames true
28
+ ```
29
+
30
+ ## Response
31
+
32
+ The command won't return a response on success