@pnp/cli-microsoft365 7.1.0-beta.8b56e1d → 7.1.0-beta.99de250
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/dist/Auth.js +1 -1
- package/dist/appInsights.js +5 -9
- package/dist/cli/Cli.js +6 -2
- package/dist/m365/spo/commands/feature/feature-disable.js +8 -6
- package/dist/m365/spo/commands/feature/feature-enable.js +6 -5
- package/dist/m365/spo/commands/user/user-get.js +7 -1
- package/dist/telemetry.js +30 -14
- package/dist/telemetryRunner.js +26 -0
- package/docs/docs/cmd/aad/license/license-list.mdx +21 -16
- package/docs/docs/cmd/aad/m365group/m365group-add.mdx +1 -1
- package/docs/docs/cmd/aad/user/user-add.mdx +2 -4
- package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -4
- package/docs/docs/cmd/aad/user/user-license-list.mdx +3 -5
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.mdx +1 -3
- package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.mdx +1 -3
- package/docs/docs/cmd/flow/environment/environment-get.mdx +3 -4
- package/docs/docs/cmd/flow/environment/environment-list.mdx +3 -4
- package/docs/docs/cmd/flow/owner/owner-list.mdx +2 -3
- package/docs/docs/cmd/flow/run/run-list.mdx +6 -8
- package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +2 -3
- package/docs/docs/cmd/onenote/page/page-list.mdx +6 -9
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -15
- package/docs/docs/cmd/outlook/message/message-list.mdx +5 -14
- package/docs/docs/cmd/outlook/room/room-list.mdx +3 -6
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +1 -3
- package/docs/docs/cmd/pa/app/app-get.mdx +4 -7
- package/docs/docs/cmd/pa/app/app-list.mdx +4 -7
- package/docs/docs/cmd/pa/connector/connector-list.mdx +2 -4
- package/docs/docs/cmd/pa/environment/environment-get.mdx +2 -4
- package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +4 -11
- package/docs/docs/cmd/planner/plan/plan-get.mdx +4 -9
- package/docs/docs/cmd/planner/plan/plan-list.mdx +3 -6
- package/docs/docs/cmd/planner/plan/plan-set.mdx +3 -9
- package/docs/docs/cmd/planner/roster/roster-member-add.mdx +2 -4
- package/docs/docs/cmd/planner/roster/roster-member-get.mdx +2 -4
- package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -3
- package/docs/docs/cmd/planner/task/task-add.mdx +4 -14
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +2 -4
- package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +1 -3
- package/docs/docs/cmd/planner/task/task-get.mdx +0 -7
- package/docs/docs/cmd/planner/task/task-list.mdx +1 -5
- package/docs/docs/cmd/planner/task/task-reference-add.mdx +0 -2
- package/docs/docs/cmd/planner/task/task-reference-list.mdx +0 -2
- package/docs/docs/cmd/planner/task/task-set.mdx +4 -13
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +1 -3
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +3 -5
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +6 -8
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -7
- package/docs/docs/cmd/pp/card/card-get.mdx +4 -8
- package/docs/docs/cmd/pp/card/card-list.mdx +0 -4
- package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +4 -6
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +3 -14
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +3 -14
- package/docs/docs/cmd/pp/environment/environment-get.mdx +3 -5
- package/docs/docs/cmd/pp/environment/environment-list.mdx +2 -4
- package/docs/docs/cmd/pp/gateway/gateway-get.mdx +0 -3
- package/docs/docs/cmd/pp/gateway/gateway-list.mdx +1 -4
- package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +4 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +3 -8
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -3
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -5
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -2
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -3
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -3
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +3 -6
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +3 -5
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +4 -8
- package/docs/docs/cmd/spo/app/app-add.mdx +94 -7
- package/docs/docs/cmd/spo/app/app-deploy.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-get.mdx +117 -8
- package/docs/docs/cmd/spo/app/app-install.mdx +9 -5
- package/docs/docs/cmd/spo/app/app-instance-list.mdx +85 -2
- package/docs/docs/cmd/spo/app/app-list.mdx +95 -3
- package/docs/docs/cmd/spo/app/app-remove.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-retract.mdx +9 -5
- package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +12 -8
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-upgrade.mdx +9 -5
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +4 -2
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +9 -7
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +6 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +12 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +4 -2
- package/docs/docs/cmd/spo/apppage/apppage-add.mdx +54 -5
- package/docs/docs/cmd/spo/apppage/apppage-set.mdx +8 -4
- package/docs/docs/cmd/spo/cdn/cdn-get.mdx +36 -1
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +7 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +48 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +8 -4
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +53 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +7 -3
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +7 -3
- package/docs/docs/cmd/spo/commandset/commandset-add.mdx +6 -6
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +3 -5
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +6 -5
- package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +7 -3
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +6 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +148 -9
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +19 -15
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +12 -8
- package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +147 -8
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +115 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +8 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +8 -4
- package/docs/docs/cmd/spo/contenttypehub/contenttypehub-get.mdx +44 -0
- package/docs/docs/cmd/spo/customaction/customaction-add.mdx +12 -8
- package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +10 -7
- package/docs/docs/cmd/spo/customaction/customaction-get.mdx +11 -15
- package/docs/docs/cmd/spo/customaction/customaction-list.mdx +87 -5
- package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +17 -13
- package/docs/docs/cmd/spo/customaction/customaction-set.mdx +27 -23
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.mdx +29 -14
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.mdx +66 -5
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +4 -0
- package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +78 -7
- package/docs/docs/cmd/spo/feature/feature-disable.mdx +10 -6
- package/docs/docs/cmd/spo/feature/feature-enable.mdx +9 -5
- package/docs/docs/cmd/spo/feature/feature-list.mdx +52 -0
- package/docs/docs/cmd/spo/field/field-add.mdx +177 -11
- package/docs/docs/cmd/spo/field/field-get.mdx +175 -9
- package/docs/docs/cmd/spo/field/field-list.mdx +135 -8
- package/docs/docs/cmd/spo/field/field-remove.mdx +16 -12
- package/docs/docs/cmd/spo/field/field-set.mdx +15 -11
- package/docs/docs/cmd/spo/file/file-add.mdx +31 -27
- package/docs/docs/cmd/spo/file/file-checkin.mdx +13 -9
- package/docs/docs/cmd/spo/file/file-checkout.mdx +9 -5
- package/docs/docs/cmd/spo/file/file-copy.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-get.mdx +89 -18
- package/docs/docs/cmd/spo/file/file-list.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-move.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-remove.mdx +13 -9
- package/docs/docs/cmd/spo/file/file-rename.mdx +63 -5
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +4 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +7 -3
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +9 -5
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +10 -6
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +133 -5
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +21 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +18 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +20 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +2 -7
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +7 -7
- package/docs/docs/cmd/spo/file/file-version-get.mdx +28 -6
- package/docs/docs/cmd/spo/file/file-version-list.mdx +28 -6
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +8 -8
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +8 -8
- package/docs/docs/cmd/spo/folder/folder-add.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-get.mdx +257 -3
- package/docs/docs/cmd/spo/folder/folder-list.mdx +3 -4
- package/docs/docs/cmd/spo/folder/folder-move.mdx +5 -5
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +6 -2
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +13 -8
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +8 -4
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +4 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +5 -1
- package/docs/docs/cmd/spo/group/group-add.mdx +78 -0
- package/docs/docs/cmd/spo/group/group-get.mdx +81 -3
- package/docs/docs/cmd/spo/group/group-list.mdx +74 -3
- package/docs/docs/cmd/spo/group/group-member-add.mdx +13 -21
- package/docs/docs/cmd/spo/group/group-member-list.mdx +80 -5
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +4 -4
- package/docs/docs/cmd/spo/group/group-remove.mdx +10 -6
- package/docs/docs/cmd/spo/group/group-set.mdx +9 -5
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +36 -1
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +6 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-get.mdx +1 -4
- package/docs/docs/cmd/spo/list/list-list.mdx +0 -4
- package/docs/docs/cmd/spo/list/list-view-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-view-get.mdx +9 -12
- package/docs/docs/cmd/spo/list/list-view-list.mdx +4 -7
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +8 -11
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +0 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +4 -6
- package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +0 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +4 -6
- package/docs/docs/cmd/spo/page/page-copy.mdx +4 -8
- package/docs/docs/cmd/spo/page/page-get.mdx +2 -5
- package/docs/docs/cmd/spo/page/page-list.mdx +1 -5
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +4 -4
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +6 -7
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +3 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +5 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +4 -2
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +2 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +5 -2
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +4 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +3 -1
- package/docs/docs/cmd/spo/user/user-get.mdx +6 -0
- package/docs/docs/cmd/teams/channel/channel-member-list.mdx +3 -5
- package/docs/docs/cmd/teams/channel/channel-member-set.mdx +0 -2
- package/docs/docs/cmd/teams/chat/chat-get.mdx +2 -4
- package/docs/docs/cmd/teams/chat/chat-list.mdx +1 -3
- package/docs/docs/cmd/teams/chat/chat-member-list.mdx +2 -4
- package/docs/docs/cmd/teams/message/message-get.mdx +0 -7
- package/docs/docs/cmd/teams/message/message-list.mdx +0 -6
- package/docs/docs/cmd/teams/message/message-reply-list.mdx +0 -6
- package/docs/docs/cmd/teams/tab/tab-add.mdx +10 -12
- package/docs/docs/cmd/teams/tab/tab-get.mdx +8 -10
- package/docs/docs/cmd/teams/tab/tab-list.mdx +4 -7
- package/docs/docs/cmd/teams/team/team-add.mdx +0 -7
- package/docs/docs/cmd/teams/team/team-get.mdx +0 -6
- package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-add.mdx +9 -13
- package/docs/docs/cmd/todo/task/task-set.mdx +10 -14
- package/npm-shrinkwrap.json +86 -82
- package/package.json +20 -19
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo externaluser list
|
|
4
6
|
|
|
@@ -14,19 +16,19 @@ m365 spo externaluser list [options]
|
|
|
14
16
|
|
|
15
17
|
```md definition-list
|
|
16
18
|
`--filter [filter]`
|
|
17
|
-
: Limits the results to only those users whose first name, last name or email address begins with the text in the string, using a case-insensitive comparison
|
|
19
|
+
: Limits the results to only those users whose first name, last name or email address begins with the text in the string, using a case-insensitive comparison.
|
|
18
20
|
|
|
19
21
|
`-p, --pageSize [pageSize]`
|
|
20
|
-
: Specifies the maximum number of users to be returned in the collection. The value must be less than or equal to `50
|
|
22
|
+
: Specifies the maximum number of users to be returned in the collection. The value must be less than or equal to `50`.
|
|
21
23
|
|
|
22
24
|
`-i, --position [position]`
|
|
23
|
-
: Use to specify the zero-based index of the position in the sorted collection of the first result to be returned
|
|
25
|
+
: Use to specify the zero-based index of the position in the sorted collection of the first result to be returned.
|
|
24
26
|
|
|
25
27
|
`-s, --sortOrder [sortOrder]`
|
|
26
|
-
: Specifies the sort results in Ascending or Descending order on the `SPOUser.Email` property should occur. Allowed values `asc|desc`. Default `asc
|
|
28
|
+
: Specifies the sort results in Ascending or Descending order on the `SPOUser.Email` property should occur. Allowed values `asc|desc`. Default `asc`.
|
|
27
29
|
|
|
28
30
|
`-u, --siteUrl [siteUrl]`
|
|
29
|
-
: Specifies the site to retrieve external users for. If no site is specified, the external users for all sites are returned
|
|
31
|
+
: Specifies the site to retrieve external users for. If no site is specified, the external users for all sites are returned.
|
|
30
32
|
```
|
|
31
33
|
|
|
32
34
|
<Global />
|
|
@@ -47,8 +49,7 @@ List all external users from the current tenant. Show the first batch of 50 user
|
|
|
47
49
|
m365 spo externaluser list --pageSize 50 --position 0
|
|
48
50
|
```
|
|
49
51
|
|
|
50
|
-
List all external users from the current tenant whose first name, last name or email address
|
|
51
|
-
begins with `Vesa`. Show the first batch of 50 users.
|
|
52
|
+
List all external users from the current tenant whose first name, last name or email address begins with `Vesa`. Show the first batch of 50 users.
|
|
52
53
|
|
|
53
54
|
```sh
|
|
54
55
|
m365 spo externaluser list --pageSize 50 --position 0 --filter Vesa
|
|
@@ -66,3 +67,73 @@ by e-mail.
|
|
|
66
67
|
```sh
|
|
67
68
|
m365 spo externaluser list --pageSize 50 --position 0 --sortOrder desc
|
|
68
69
|
```
|
|
70
|
+
|
|
71
|
+
## Response
|
|
72
|
+
|
|
73
|
+
<Tabs>
|
|
74
|
+
<TabItem value="JSON">
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
[
|
|
78
|
+
{
|
|
79
|
+
"Id": 14,
|
|
80
|
+
"IsHiddenInUI": false,
|
|
81
|
+
"LoginName": "i:0#.f|membership|user_domain.nl#ext#@tenant.onmicrosoft.com",
|
|
82
|
+
"Title": "Jon Doe",
|
|
83
|
+
"PrincipalType": 1,
|
|
84
|
+
"Email": "user@domain.nl",
|
|
85
|
+
"Expiration": "",
|
|
86
|
+
"IsEmailAuthenticationGuestUser": false,
|
|
87
|
+
"IsShareByEmailGuestUser": true,
|
|
88
|
+
"IsSiteAdmin": false,
|
|
89
|
+
"UserId": null,
|
|
90
|
+
"UserPrincipalName": "user_domain.nl#ext#@tenant.onmicrosoft.com"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
</TabItem>
|
|
96
|
+
<TabItem value="Text">
|
|
97
|
+
|
|
98
|
+
```text
|
|
99
|
+
Id IsHiddenInUI LoginName Title PrincipalType Email Expiration IsEmailAuthenticationGuestUser IsShareByEmailGuestUser IsSiteAdmin UserId UserPrincipalName
|
|
100
|
+
--- ------------ ------------------------------------------------------------- -------- -------------- -------------- ----------- ------------------------------- ------------------------ ------------ ------- -------------------------------------------
|
|
101
|
+
14 false i:0#.f|membership|user_domain.nl#ext#@tenant.onmicrosoft.com Jon Doe 1 user@domain.nl false true false null user_domain.nl#ext#@tenant.onmicrosoft.com
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
</TabItem>
|
|
105
|
+
<TabItem value="CSV">
|
|
106
|
+
|
|
107
|
+
```csv
|
|
108
|
+
Id,IsHiddenInUI,LoginName,Title,PrincipalType,Email,Expiration,IsEmailAuthenticationGuestUser,IsShareByEmailGuestUser,IsSiteAdmin,UserId,UserPrincipalName
|
|
109
|
+
14,false,i:0#.f|membership|user_domain.nl#ext#@tenant.onmicrosoft.com,Jon Doe,1,user@domain.nl,false,true,false,null,user_domain.nl#ext#@tenant.onmicrosoft.com
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
</TabItem>
|
|
113
|
+
<TabItem value="Markdown">
|
|
114
|
+
|
|
115
|
+
```md
|
|
116
|
+
# m365 spo externaluser list --pageSize 50 --position 0
|
|
117
|
+
|
|
118
|
+
Date: 10/3/2023
|
|
119
|
+
|
|
120
|
+
## Jon Doe (14)
|
|
121
|
+
|
|
122
|
+
Property | Value
|
|
123
|
+
---------|-------
|
|
124
|
+
Id | 14
|
|
125
|
+
IsHiddenInUI | false
|
|
126
|
+
LoginName | i:0#.f|membership|user_domain.nl#ext#@tenant.onmicrosoft.com
|
|
127
|
+
Title | Jon Doe
|
|
128
|
+
PrincipalType | 1
|
|
129
|
+
Email | user@domain.nl
|
|
130
|
+
Expiration |
|
|
131
|
+
IsEmailAuthenticationGuestUser | false
|
|
132
|
+
IsShareByEmailGuestUser | true
|
|
133
|
+
IsSiteAdmin | false
|
|
134
|
+
UserId | null
|
|
135
|
+
UserPrincipalName | user_domain.nl#ext#@tenant.onmicrosoft.com
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
</TabItem>
|
|
139
|
+
</Tabs>
|
|
@@ -14,16 +14,16 @@ m365 spo feature disable [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: The URL of the site or web for which to disable the feature
|
|
17
|
+
: The URL of the site or web for which to disable the feature.
|
|
18
18
|
|
|
19
19
|
`-i, --id <id>`
|
|
20
|
-
: The ID of the feature to disable
|
|
20
|
+
: The ID of the feature to disable.
|
|
21
21
|
|
|
22
22
|
`-s, --scope [scope]`
|
|
23
|
-
: Scope of the Feature to disable. Allowed values `Site
|
|
23
|
+
: Scope of the Feature to disable. Allowed values: `Site`, `Web`. Defaults to `Web`.
|
|
24
24
|
|
|
25
25
|
`--force`
|
|
26
|
-
: Specifies whether to continue if an error occurs when disabling the feature
|
|
26
|
+
: Specifies whether to continue if an error occurs when disabling the feature.
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
<Global />
|
|
@@ -34,14 +34,18 @@ If the specified url doesn't refer to an existing site collection, you will get
|
|
|
34
34
|
|
|
35
35
|
## Examples
|
|
36
36
|
|
|
37
|
-
Disable site feature
|
|
37
|
+
Disable site feature.
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
40
|
m365 spo feature disable --webUrl https://contoso.sharepoint.com/sites/salis --id 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 --scope Site
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Disable web feature (with force to ignore errors)
|
|
43
|
+
Disable web feature (with force to ignore errors).
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
46
|
m365 spo feature disable --webUrl https://contoso.sharepoint.com/sites/salis --id 00bfea71-5932-4f9c-ad71-1557e5751100 --scope Web --force
|
|
47
47
|
```
|
|
48
|
+
|
|
49
|
+
## Response
|
|
50
|
+
|
|
51
|
+
The command won't return a response on success.
|
|
@@ -14,13 +14,13 @@ m365 spo feature enable [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: The URL of the site or web for which to enable the feature
|
|
17
|
+
: The URL of the site or web for which to enable the feature.
|
|
18
18
|
|
|
19
19
|
`-i, --id <id>`
|
|
20
|
-
: The ID of the feature to enable
|
|
20
|
+
: The ID of the feature to enable.
|
|
21
21
|
|
|
22
22
|
`-s, --scope [scope]`
|
|
23
|
-
: Scope of the Feature to enable. Allowed values `Site
|
|
23
|
+
: Scope of the Feature to enable. Allowed values: `Site`, `Web`. Defaults to `Web`.
|
|
24
24
|
|
|
25
25
|
`--force`
|
|
26
26
|
: Specifies whether to overwrite an existing feature with the same feature identifier. This parameter is ignored if there are no errors.
|
|
@@ -34,14 +34,18 @@ If the specified url doesn't refer to an existing site collection, you will get
|
|
|
34
34
|
|
|
35
35
|
## Examples
|
|
36
36
|
|
|
37
|
-
Enable site feature
|
|
37
|
+
Enable site feature.
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
40
|
m365 spo feature enable --webUrl https://contoso.sharepoint.com/sites/sales --id 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 --scope Site
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Enable web feature (with force to overwrite feature with same id)
|
|
43
|
+
Enable web feature (with force to overwrite feature with same id).
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
46
|
m365 spo feature enable --webUrl https://contoso.sharepoint.com/sites/sales --id 00bfea71-5932-4f9c-ad71-1557e5751100 --scope Web --force
|
|
47
47
|
```
|
|
48
|
+
|
|
49
|
+
## Response
|
|
50
|
+
|
|
51
|
+
The command won't return a response on success.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo feature list
|
|
4
6
|
|
|
@@ -35,3 +37,53 @@ Return details about Features activated in the specified site
|
|
|
35
37
|
```sh
|
|
36
38
|
m365 spo feature list --webUrl https://contoso.sharepoint.com/sites/test --scope Web
|
|
37
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
<Tabs>
|
|
44
|
+
<TabItem value="JSON">
|
|
45
|
+
|
|
46
|
+
```json
|
|
47
|
+
[
|
|
48
|
+
{
|
|
49
|
+
"DefinitionId": "3019c9b4-e371-438d-98f6-0a08c34d06eb",
|
|
50
|
+
"DisplayName": "TenantSitesList"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
<TabItem value="Text">
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
DefinitionId DisplayName
|
|
60
|
+
------------------------------------ ------------------------
|
|
61
|
+
3019c9b4-e371-438d-98f6-0a08c34d06eb TenantSitesList
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
</TabItem>
|
|
65
|
+
<TabItem value="CSV">
|
|
66
|
+
|
|
67
|
+
```csv
|
|
68
|
+
DefinitionId,DisplayName
|
|
69
|
+
3019c9b4-e371-438d-98f6-0a08c34d06eb,TenantSitesList
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
<TabItem value="Markdown">
|
|
74
|
+
|
|
75
|
+
```md
|
|
76
|
+
# spo feature list --webUrl "https://contoso.sharepoint.com/sites/test" --scope "Site"
|
|
77
|
+
|
|
78
|
+
Date: 10/3/2023
|
|
79
|
+
|
|
80
|
+
## TenantSitesList
|
|
81
|
+
|
|
82
|
+
Property | Value
|
|
83
|
+
---------|-------
|
|
84
|
+
DefinitionId | 3019c9b4-e371-438d-98f6-0a08c34d06eb
|
|
85
|
+
DisplayName | TenantSitesList
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
</TabItem>
|
|
89
|
+
</Tabs>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo field add
|
|
4
6
|
|
|
@@ -14,22 +16,22 @@ m365 spo field add [options]
|
|
|
14
16
|
|
|
15
17
|
```md definition-list
|
|
16
18
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: Absolute URL of the site where the field should be created
|
|
19
|
+
: Absolute URL of the site where the field should be created.
|
|
18
20
|
|
|
19
21
|
`-l, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list where the field should be created (if it should be created as a list column). Specify either `listTitle`, `listId` or `listUrl
|
|
22
|
+
: Title of the list where the field should be created (if it should be created as a list column). Specify either `listTitle`, `listId` or `listUrl`.
|
|
21
23
|
|
|
22
24
|
`--listId [listId]`
|
|
23
|
-
: ID of the list where the field should be created (if it should be created as a list column). Specify either `listTitle`, `listId` or `listUrl
|
|
25
|
+
: ID of the list where the field should be created (if it should be created as a list column). Specify either `listTitle`, `listId` or `listUrl`.
|
|
24
26
|
|
|
25
27
|
`--listUrl [listUrl]`
|
|
26
|
-
: Server- or site-relative URL of the list where the field should be created (if it should be created as a list column). Specify either `listTitle`, `listId` or `listUrl
|
|
28
|
+
: Server- or site-relative URL of the list where the field should be created (if it should be created as a list column). Specify either `listTitle`, `listId` or `listUrl`.
|
|
27
29
|
|
|
28
30
|
`-x, --xml <xml>`
|
|
29
|
-
: CAML field definition
|
|
31
|
+
: CAML field definition.
|
|
30
32
|
|
|
31
33
|
`--options [options]`
|
|
32
|
-
: The options to use to add to the field. Allowed values: `DefaultValue`,`AddToDefaultContentType`, `AddToNoContentType`, `AddToAllContentTypes`, `AddFieldInternalNameHint`, `AddFieldToDefaultView`, `AddFieldCheckDisplayName
|
|
34
|
+
: The options to use to add to the field. Allowed values: `DefaultValue`,`AddToDefaultContentType`, `AddToNoContentType`, `AddToAllContentTypes`, `AddFieldInternalNameHint`, `AddFieldToDefaultView`, `AddFieldCheckDisplayName`.
|
|
33
35
|
```
|
|
34
36
|
|
|
35
37
|
<Global />
|
|
@@ -40,31 +42,31 @@ If the specified field already exists, you will get a _A duplicate field name "y
|
|
|
40
42
|
|
|
41
43
|
## Examples
|
|
42
44
|
|
|
43
|
-
Create a date time site column
|
|
45
|
+
Create a date time site column.
|
|
44
46
|
|
|
45
47
|
```sh
|
|
46
48
|
m365 spo field add --webUrl https://contoso.sharepoint.com/sites/contoso-sales --xml '`<Field Type="DateTime" DisplayName="Start date-time" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="DateTime" Group="PnP Columns" FriendlyDisplayFormat="Disabled" ID="{5ee2dd25-d941-455a-9bdb-7f2c54aed11b}" SourceID="{4f118c69-66e0-497c-96ff-d7855ce0713d}" StaticName="PnPAlertStartDateTime" Name="PnPAlertStartDateTime"><Default>[today]</Default></Field>`'
|
|
47
49
|
```
|
|
48
50
|
|
|
49
|
-
Create a URL list column to a list retrieved by Title
|
|
51
|
+
Create a URL list column to a list retrieved by Title.
|
|
50
52
|
|
|
51
53
|
```sh
|
|
52
54
|
m365 spo field add --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listTitle Events --xml '`<Field Type="URL" DisplayName="More information link" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="Hyperlink" Group="PnP Columns" ID="{6085e32a-339b-4da7-ab6d-c1e013e5ab27}" SourceID="{4f118c69-66e0-497c-96ff-d7855ce0713d}" StaticName="PnPAlertMoreInformation" Name="PnPAlertMoreInformation"></Field>`'
|
|
53
55
|
```
|
|
54
56
|
|
|
55
|
-
Create a URL list column and add it to all content types
|
|
57
|
+
Create a URL list column and add it to all content types.
|
|
56
58
|
|
|
57
59
|
```sh
|
|
58
60
|
m365 spo field add --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listTitle Events --xml '`<Field Type="URL" DisplayName="More information link" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="Hyperlink" Group="PnP Columns" ID="{6085e32a-339b-4da7-ab6d-c1e013e5ab27}" SourceID="{4f118c69-66e0-497c-96ff-d7855ce0713d}" StaticName="PnPAlertMoreInformation" Name="PnPAlertMoreInformation"></Field>`' --options AddToAllContentTypes
|
|
59
61
|
```
|
|
60
62
|
|
|
61
|
-
Create a URL list column to a list retrieved by ID
|
|
63
|
+
Create a URL list column to a list retrieved by ID.
|
|
62
64
|
|
|
63
65
|
```sh
|
|
64
66
|
m365 spo field add --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listId e785fe80-2ca1-409e-b9d1-19055a85cd38 --xml '`<Field Type="URL" DisplayName="More information link" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="Hyperlink" Group="PnP Columns" ID="{6085e32a-339b-4da7-ab6d-c1e013e5ab27}" SourceID="{4f118c69-66e0-497c-96ff-d7855ce0713d}" StaticName="PnPAlertMoreInformation" Name="PnPAlertMoreInformation"></Field>`'
|
|
65
67
|
```
|
|
66
68
|
|
|
67
|
-
Create a date time list column to a list retrieved by URL
|
|
69
|
+
Create a date time list column to a list retrieved by URL.
|
|
68
70
|
|
|
69
71
|
```sh
|
|
70
72
|
m365 spo field add --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listUrl /sites/contoso-sales/lists/Events --xml '`<Field Type="DateTime" DisplayName="Start date-time" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="DateTime" Group="PnP Columns" FriendlyDisplayFormat="Disabled" ID="{5ee2dd25-d941-455a-9bdb-7f2c54aed11b}" SourceID="{4f118c69-66e0-497c-96ff-d7855ce0713d}" StaticName="PnPAlertStartDateTime" Name="PnPAlertStartDateTime"><Default>[today]</Default></Field>`'
|
|
@@ -73,3 +75,167 @@ m365 spo field add --webUrl https://contoso.sharepoint.com/sites/contoso-sales -
|
|
|
73
75
|
## More information
|
|
74
76
|
|
|
75
77
|
- AddFieldOptions enumeration: [https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.addfieldoptions.aspx](https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.addfieldoptions.aspx)
|
|
78
|
+
|
|
79
|
+
## Response
|
|
80
|
+
|
|
81
|
+
<Tabs>
|
|
82
|
+
<TabItem value="JSON">
|
|
83
|
+
|
|
84
|
+
```json
|
|
85
|
+
{
|
|
86
|
+
"AutoIndexed": false,
|
|
87
|
+
"CanBeDeleted": true,
|
|
88
|
+
"ClientSideComponentId": "00000000-0000-0000-0000-000000000000",
|
|
89
|
+
"ClientSideComponentProperties": null,
|
|
90
|
+
"ClientValidationFormula": null,
|
|
91
|
+
"ClientValidationMessage": null,
|
|
92
|
+
"CustomFormatter": null,
|
|
93
|
+
"DefaultFormula": null,
|
|
94
|
+
"DefaultValue": "[today]",
|
|
95
|
+
"Description": "",
|
|
96
|
+
"Direction": "none",
|
|
97
|
+
"EnforceUniqueValues": false,
|
|
98
|
+
"EntityPropertyName": "PnPAlertStartDateTime",
|
|
99
|
+
"Filterable": true,
|
|
100
|
+
"FromBaseType": false,
|
|
101
|
+
"Group": "PnP Columns",
|
|
102
|
+
"Hidden": false,
|
|
103
|
+
"Id": "5ee2dd25-d941-455a-9bdb-7f2c54aed11b",
|
|
104
|
+
"Indexed": false,
|
|
105
|
+
"IndexStatus": 0,
|
|
106
|
+
"InternalName": "PnPAlertStartDateTime",
|
|
107
|
+
"IsModern": false,
|
|
108
|
+
"JSLink": "clienttemplates.js",
|
|
109
|
+
"PinnedToFiltersPane": false,
|
|
110
|
+
"ReadOnlyField": false,
|
|
111
|
+
"Required": false,
|
|
112
|
+
"SchemaXml": "<Field Type=\"DateTime\" DisplayName=\"Start date-time\" Required=\"FALSE\" EnforceUniqueValues=\"FALSE\" Indexed=\"FALSE\" Format=\"DateTime\" Group=\"PnP Columns\" FriendlyDisplayFormat=\"Disabled\" ID=\"{5ee2dd25-d941-455a-9bdb-7f2c54aed11b}\" SourceID=\"{4f118c69-66e0-497c-96ff-d7855ce0713d}\" StaticName=\"PnPAlertStartDateTime\" Name=\"PnPAlertStartDateTime\" Version=\"1\"><Default>[today]</Default></Field>",
|
|
113
|
+
"Scope": "/sites/SPDemo",
|
|
114
|
+
"Sealed": false,
|
|
115
|
+
"ShowInFiltersPane": 0,
|
|
116
|
+
"Sortable": true,
|
|
117
|
+
"StaticName": "PnPAlertStartDateTime",
|
|
118
|
+
"Title": "Start date-time",
|
|
119
|
+
"FieldTypeKind": 4,
|
|
120
|
+
"TypeAsString": "DateTime",
|
|
121
|
+
"TypeDisplayName": "Date and Time",
|
|
122
|
+
"TypeShortDescription": "Date and Time",
|
|
123
|
+
"ValidationFormula": null,
|
|
124
|
+
"ValidationMessage": null,
|
|
125
|
+
"DateTimeCalendarType": 0,
|
|
126
|
+
"DateFormat": null,
|
|
127
|
+
"DisplayFormat": 1,
|
|
128
|
+
"FriendlyDisplayFormat": 1,
|
|
129
|
+
"TimeFormat": null
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
</TabItem>
|
|
134
|
+
<TabItem value="Text">
|
|
135
|
+
|
|
136
|
+
```text
|
|
137
|
+
AutoIndexed : false
|
|
138
|
+
CanBeDeleted : true
|
|
139
|
+
ClientSideComponentId : 00000000-0000-0000-0000-000000000000
|
|
140
|
+
ClientSideComponentProperties: null
|
|
141
|
+
ClientValidationFormula : null
|
|
142
|
+
ClientValidationMessage : null
|
|
143
|
+
CustomFormatter : null
|
|
144
|
+
DateFormat : null
|
|
145
|
+
DateTimeCalendarType : 0
|
|
146
|
+
DefaultFormula : null
|
|
147
|
+
DefaultValue : [today]
|
|
148
|
+
Description :
|
|
149
|
+
Direction : none
|
|
150
|
+
DisplayFormat : 1
|
|
151
|
+
EnforceUniqueValues : false
|
|
152
|
+
EntityPropertyName : PnPAlertStartDateTime
|
|
153
|
+
FieldTypeKind : 4
|
|
154
|
+
Filterable : true
|
|
155
|
+
FriendlyDisplayFormat : 1
|
|
156
|
+
FromBaseType : false
|
|
157
|
+
Group : PnP Columns
|
|
158
|
+
Hidden : false
|
|
159
|
+
Id : 5ee2dd25-d941-455a-9bdb-7f2c54aed11b
|
|
160
|
+
IndexStatus : 0
|
|
161
|
+
Indexed : false
|
|
162
|
+
InternalName : PnPAlertStartDateTime
|
|
163
|
+
IsModern : false
|
|
164
|
+
JSLink : clienttemplates.js
|
|
165
|
+
PinnedToFiltersPane : false
|
|
166
|
+
ReadOnlyField : false
|
|
167
|
+
Required : false
|
|
168
|
+
SchemaXml : <Field Type="DateTime" DisplayName="Start date-time" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="DateTime" Group="PnP Columns" FriendlyDisplayFormat="Disabled" ID="{5ee2dd25-d941-455a-9bdb-7f2c54aed11b}" SourceID="{4f118c69-66e0-497c-96ff-d7855ce0713d}" StaticName="PnPAlertStartDateTime" Name="PnPAlertStartDateTime" Version="1"><Default>[today]</Default></Field>
|
|
169
|
+
Scope : /sites/SPDemo
|
|
170
|
+
Sealed : false
|
|
171
|
+
ShowInFiltersPane : 0
|
|
172
|
+
Sortable : true
|
|
173
|
+
StaticName : PnPAlertStartDateTime
|
|
174
|
+
TimeFormat : null
|
|
175
|
+
Title : Start date-time
|
|
176
|
+
TypeAsString : DateTime
|
|
177
|
+
TypeDisplayName : Date and Time
|
|
178
|
+
TypeShortDescription : Date and Time
|
|
179
|
+
ValidationFormula : null
|
|
180
|
+
ValidationMessage : null
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
</TabItem>
|
|
184
|
+
<TabItem value="CSV">
|
|
185
|
+
|
|
186
|
+
```csv
|
|
187
|
+
AutoIndexed,CanBeDeleted,ClientSideComponentId,DefaultValue,Description,Direction,EnforceUniqueValues,EntityPropertyName,Filterable,FromBaseType,Group,Hidden,Id,Indexed,IndexStatus,InternalName,IsModern,JSLink,PinnedToFiltersPane,ReadOnlyField,Required,SchemaXml,Scope,Sealed,ShowInFiltersPane,Sortable,StaticName,Title,FieldTypeKind,TypeAsString,TypeDisplayName,TypeShortDescription,DateTimeCalendarType,DisplayFormat,FriendlyDisplayFormat
|
|
188
|
+
,1,00000000-0000-0000-0000-000000000000,[today],,none,,PnPAlertStartDateTime,1,,PnP Columns,,5ee2dd25-d941-455a-9bdb-7f2c54aed11b,,0,PnPAlertStartDateTime,,clienttemplates.js,,,,"<Field Type=""DateTime"" DisplayName=""Start date-time"" Required=""FALSE"" EnforceUniqueValues=""FALSE"" Indexed=""FALSE"" Format=""DateTime"" Group=""PnP Columns"" FriendlyDisplayFormat=""Disabled"" ID=""{5ee2dd25-d941-455a-9bdb-7f2c54aed11b}"" SourceID=""{4f118c69-66e0-497c-96ff-d7855ce0713d}"" StaticName=""PnPAlertStartDateTime"" Name=""PnPAlertStartDateTime"" Version=""1""><Default>[today]</Default></Field>",/sites/SPDemo,,0,1,PnPAlertStartDateTime,Start date-time,4,DateTime,Date and Time,Date and Time,0,1,1
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
</TabItem>
|
|
192
|
+
<TabItem value="Markdown">
|
|
193
|
+
|
|
194
|
+
```md
|
|
195
|
+
# spo field add --webUrl "https://nachan365.sharepoint.com/sites/SPDemo" --xml "<Field Type='DateTime' DisplayName='Start date-time' Required='FALSE' EnforceUniqueValues='FALSE' Indexed='FALSE' Format='DateTime' Group='PnP Columns' FriendlyDisplayFormat='Disabled' ID='{5ee2dd25-d941-455a-9bdb-7f2c54aed11b}' SourceID='{4f118c69-66e0-497c-96ff-d7855ce0713d}' StaticName='PnPAlertStartDateTime' Name='PnPAlertStartDateTime'><Default>[today]</Default></Field>"
|
|
196
|
+
|
|
197
|
+
Date: 10/3/2023
|
|
198
|
+
|
|
199
|
+
## Start date-time (5ee2dd25-d941-455a-9bdb-7f2c54aed11b)
|
|
200
|
+
|
|
201
|
+
Property | Value
|
|
202
|
+
---------|-------
|
|
203
|
+
AutoIndexed | false
|
|
204
|
+
CanBeDeleted | true
|
|
205
|
+
ClientSideComponentId | 00000000-0000-0000-0000-000000000000
|
|
206
|
+
DefaultValue | [today]
|
|
207
|
+
Description |
|
|
208
|
+
Direction | none
|
|
209
|
+
EnforceUniqueValues | false
|
|
210
|
+
EntityPropertyName | PnPAlertStartDateTime
|
|
211
|
+
Filterable | true
|
|
212
|
+
FromBaseType | false
|
|
213
|
+
Group | PnP Columns
|
|
214
|
+
Hidden | false
|
|
215
|
+
Id | 5ee2dd25-d941-455a-9bdb-7f2c54aed11b
|
|
216
|
+
Indexed | false
|
|
217
|
+
IndexStatus | 0
|
|
218
|
+
InternalName | PnPAlertStartDateTime
|
|
219
|
+
IsModern | false
|
|
220
|
+
JSLink | clienttemplates.js
|
|
221
|
+
PinnedToFiltersPane | false
|
|
222
|
+
ReadOnlyField | false
|
|
223
|
+
Required | false
|
|
224
|
+
SchemaXml | <Field Type="DateTime" DisplayName="Start date-time" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="DateTime" Group="PnP Columns" FriendlyDisplayFormat="Disabled" ID="{5ee2dd25-d941-455a-9bdb-7f2c54aed11b}" SourceID="{4f118c69-66e0-497c-96ff-d7855ce0713d}" StaticName="PnPAlertStartDateTime" Name="PnPAlertStartDateTime" Version="1"><Default>[today]</Default></Field>
|
|
225
|
+
Scope | /sites/SPDemo
|
|
226
|
+
Sealed | false
|
|
227
|
+
ShowInFiltersPane | 0
|
|
228
|
+
Sortable | true
|
|
229
|
+
StaticName | PnPAlertStartDateTime
|
|
230
|
+
Title | Start date-time
|
|
231
|
+
FieldTypeKind | 4
|
|
232
|
+
TypeAsString | DateTime
|
|
233
|
+
TypeDisplayName | Date and Time
|
|
234
|
+
TypeShortDescription | Date and Time
|
|
235
|
+
DateTimeCalendarType | 0
|
|
236
|
+
DisplayFormat | 1
|
|
237
|
+
FriendlyDisplayFormat | 1
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
</TabItem>
|
|
241
|
+
</Tabs>
|