@pnp/cli-microsoft365 6.3.0-beta.64eb7da → 6.3.0-beta.80fcd21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +4 -0
- package/dist/Command.js +4 -4
- package/dist/appInsights.js +2 -1
- package/dist/cli/Cli.js +58 -1
- package/dist/m365/aad/commands/license/license-list.js +41 -0
- package/dist/m365/aad/commands/user/user-add.js +223 -0
- package/dist/m365/aad/commands/user/user-license-add.js +88 -0
- package/dist/m365/aad/commands/user/user-license-list.js +99 -0
- package/dist/m365/aad/commands/user/user-license-remove.js +114 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +103 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +77 -0
- package/dist/m365/aad/commands/user/user-remove.js +107 -0
- package/dist/m365/aad/commands.js +10 -0
- package/dist/m365/context/commands/option/option-list.js +54 -0
- package/dist/m365/context/commands.js +1 -0
- package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
- package/dist/m365/flow/commands/environment/environment-get.js +26 -11
- package/dist/m365/pa/commands/environment/environment-get.js +13 -5
- package/dist/m365/planner/commands/plan/plan-get.js +17 -10
- package/dist/m365/planner/commands/plan/plan-set.js +21 -10
- package/dist/m365/planner/commands/roster/roster-get.js +61 -0
- package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
- package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
- package/dist/m365/planner/commands/roster/roster-member-remove.js +140 -0
- package/dist/m365/planner/commands/task/task-add.js +3 -0
- package/dist/m365/planner/commands.js +4 -0
- package/dist/m365/pp/commands/environment/environment-get.js +18 -9
- package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +75 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +46 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +97 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +77 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +13 -8
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +43 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +97 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +90 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +11 -1
- package/dist/m365/purview/commands.js +8 -1
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
- package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
- package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
- package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
- package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
- package/dist/m365/spo/commands/file/file-move.js +0 -2
- package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
- package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
- package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +7 -28
- package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
- package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
- package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
- package/dist/m365/spo/commands/folder/folder-move.js +0 -2
- package/dist/m365/spo/commands/listitem/listitem-add.js +2 -1
- package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
- package/dist/m365/spo/commands/site/site-add.js +0 -3
- package/dist/m365/spo/commands/site/site-remove.js +0 -3
- package/dist/m365/spo/commands/site/site-set.js +0 -2
- package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +179 -0
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
- package/dist/m365/spo/commands.js +5 -0
- package/dist/m365/teams/commands/team/team-add.js +3 -8
- package/dist/utils/aadUser.js +38 -0
- package/dist/utils/planner.js +1 -4
- package/dist/utils/session.js +18 -0
- package/dist/utils/spo.js +92 -12
- package/docs/docs/cmd/aad/license/license-list.md +87 -0
- package/docs/docs/cmd/aad/user/user-add.md +168 -0
- package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
- package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
- package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +42 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
- package/docs/docs/cmd/aad/user/user-remove.md +51 -0
- package/docs/docs/cmd/aad/user/user-set.md +1 -1
- package/docs/docs/cmd/context/option/option-list.md +63 -0
- package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
- package/docs/docs/cmd/login.md +26 -0
- package/docs/docs/cmd/logout.md +4 -0
- package/docs/docs/cmd/pa/app/app-get.md +24 -0
- package/docs/docs/cmd/pa/app/app-list.md +21 -0
- package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
- package/docs/docs/cmd/pa/environment/environment-get.md +26 -2
- package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +12 -12
- package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
- package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
- package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
- package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
- package/docs/docs/cmd/planner/roster/roster-member-remove.md +51 -0
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
- package/docs/docs/cmd/pp/card/card-clone.md +12 -0
- package/docs/docs/cmd/pp/card/card-get.md +49 -0
- package/docs/docs/cmd/pp/card/card-list.md +49 -0
- package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
- package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
- package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
- package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +132 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +107 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +45 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +106 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +3 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +97 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +43 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +43 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +3 -0
- package/docs/docs/cmd/request.md +74 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
- package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +8 -2
- package/docs/docs/cmd/spo/homesite/homesite-set.md +8 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +7 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +9 -3
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +8 -2
- package/docs/docs/cmd/spo/list/list-add.md +123 -57
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-get.md +70 -4
- package/docs/docs/cmd/spo/list/list-list.md +70 -2
- package/docs/docs/cmd/spo/list/list-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
- package/docs/docs/cmd/spo/list/list-set.md +61 -61
- package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
- package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
- package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
- package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-add.md +29 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +17 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +6 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.md +30 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +22 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +59 -0
- package/docs/docs/cmd/status.md +46 -0
- package/docs/docs/cmd/version.md +26 -0
- package/npm-shrinkwrap.json +912 -876
- package/package.json +13 -12
|
@@ -121,3 +121,64 @@ m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
|
121
121
|
Id,Title,DefaultView,Hidden,BaseViewId
|
|
122
122
|
3cd2e934-f482-4d4a-a9b8-a13b49b3d226,All events,,,1
|
|
123
123
|
```
|
|
124
|
+
|
|
125
|
+
=== "Markdown"
|
|
126
|
+
|
|
127
|
+
```md
|
|
128
|
+
# spo list view list --webUrl "https://contoso.sharepoint.com" --listTitle "My List"
|
|
129
|
+
|
|
130
|
+
Date: 2/20/2023
|
|
131
|
+
|
|
132
|
+
## All Items (6275ed5c-8e4f-4e81-8060-2d9162b29952)
|
|
133
|
+
|
|
134
|
+
Property | Value
|
|
135
|
+
---------|-------
|
|
136
|
+
Aggregations | null
|
|
137
|
+
AggregationsStatus | null
|
|
138
|
+
AssociatedContentTypeId | null
|
|
139
|
+
BaseViewId | 1
|
|
140
|
+
CalendarViewStyles | null
|
|
141
|
+
ColumnWidth | null
|
|
142
|
+
ContentTypeId | {"StringValue":"0x"}
|
|
143
|
+
CustomFormatter |
|
|
144
|
+
CustomOrder | null
|
|
145
|
+
DefaultView | true
|
|
146
|
+
DefaultViewForContentType | false
|
|
147
|
+
EditorModified | false
|
|
148
|
+
Formats | null
|
|
149
|
+
GridLayout | null
|
|
150
|
+
Hidden | false
|
|
151
|
+
HtmlSchemaXml | <View Name="{6275ED5C-8E4F-4E81-8060-2D9162B29952}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/teams/AllStars/Lists/My List/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/\_layouts/15/images/generic.png?rev=47"><Query /><ViewFields><FieldRef Name="LinkTitle" /><FieldRef Name="FieldName1" /></ViewFields><Toolbar Type="Standard" /><CustomFormatter /><XslLink Default="TRUE">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><RowLimit Paged="TRUE">30</RowLimit><ParameterBindings><ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY\_LIST)" /><ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY\_DEFAULT)" /></ParameterBindings></View>
|
|
152
|
+
Id | 6275ed5c-8e4f-4e81-8060-2d9162b29952
|
|
153
|
+
ImageUrl | /\_layouts/15/images/generic.png?rev=47
|
|
154
|
+
IncludeRootFolder | false
|
|
155
|
+
ViewJoins | null
|
|
156
|
+
JSLink | clienttemplates.js
|
|
157
|
+
ListViewXml | <View Name="{6275ED5C-8E4F-4E81-8060-2D9162B29952}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/teams/AllStars/Lists/My List/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/\_layouts/15/images/generic.png?rev=47" ><Query /><ViewFields><FieldRef Name="LinkTitle" /><FieldRef Name="FieldName1" /></ViewFields><RowLimit Paged="TRUE">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default="TRUE">main.xsl</XslLink><CustomFormatter /><Toolbar Type="Standard"/></View>
|
|
158
|
+
Method | null
|
|
159
|
+
MobileDefaultView | true
|
|
160
|
+
MobileView | true
|
|
161
|
+
ModerationType | null
|
|
162
|
+
NewDocumentTemplates | null
|
|
163
|
+
OrderedView | false
|
|
164
|
+
Paged | true
|
|
165
|
+
PersonalView | false
|
|
166
|
+
ViewProjectedFields | null
|
|
167
|
+
ViewQuery |
|
|
168
|
+
ReadOnlyView | false
|
|
169
|
+
RequiresClientIntegration | false
|
|
170
|
+
RowLimit | 30
|
|
171
|
+
Scope | 0
|
|
172
|
+
ServerRelativePath | {"DecodedUrl":"/teams/AllStars/Lists/My List/AllItems.aspx"}
|
|
173
|
+
ServerRelativeUrl | /teams/AllStars/Lists/My List/AllItems.aspx
|
|
174
|
+
StyleId | null
|
|
175
|
+
TabularView | true
|
|
176
|
+
Threaded | false
|
|
177
|
+
Title | All Items
|
|
178
|
+
Toolbar |
|
|
179
|
+
ToolbarTemplateName | null
|
|
180
|
+
ViewType | HTML
|
|
181
|
+
ViewData | null
|
|
182
|
+
ViewType2 | null
|
|
183
|
+
VisualizationInfo | null
|
|
184
|
+
```
|
|
@@ -19,7 +19,7 @@ m365 spo list view set [options]
|
|
|
19
19
|
`--listTitle [listTitle]`
|
|
20
20
|
: Title of the list where the view is located. Specify either `listId`, `listTitle`, or `listUrl`.
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
`--listUrl [listUrl]`
|
|
23
23
|
: Server- or site-relative URL of the list. Specify either `listId` , `listTitle` or `listUrl`.
|
|
24
24
|
|
|
25
25
|
`--id [id]`
|
|
@@ -86,3 +86,22 @@ m365 spo list webhook add --webUrl https://contoso.sharepoint.com/sites/ninja --
|
|
|
86
86
|
clientState,expirationDateTime,id,notificationUrl,resource,resourceData
|
|
87
87
|
random client state,2019-05-29T23:00:00.000Z,ef69c37d-cb0e-46d9-9758-5ebdeffd6959,https://contoso-funcions.azurewebsites.net/webhook,0987cfd9-f02c-479b-9fb4-3f0550462848,
|
|
88
88
|
```
|
|
89
|
+
|
|
90
|
+
=== "Markdown"
|
|
91
|
+
|
|
92
|
+
```md
|
|
93
|
+
# spo list webhook add --webUrl "https://contoso.sharepoint.com/sites/ninja" --listUrl "/sites/ninja/Documents" --notificationUrl "https://contoso-funcions.azurewebsites.net/webhook" --expirationDateTime "2019-01-21"
|
|
94
|
+
|
|
95
|
+
Date: 2/20/2023
|
|
96
|
+
|
|
97
|
+
## ef69c37d-cb0e-46d9-9758-5ebdeffd6959
|
|
98
|
+
|
|
99
|
+
Property | Value
|
|
100
|
+
---------|-------
|
|
101
|
+
clientState | random client state
|
|
102
|
+
expirationDateTime | 2019-05-29T23:00:00.000Z
|
|
103
|
+
id | ef69c37d-cb0e-46d9-9758-5ebdeffd6959
|
|
104
|
+
notificationUrl | https://contoso-funcions.azurewebsites.net/webhook
|
|
105
|
+
resource | 0987cfd9-f02c-479b-9fb4-3f0550462848
|
|
106
|
+
resourceData | null
|
|
107
|
+
```
|
|
@@ -83,3 +83,22 @@ m365 spo list webhook get --webUrl https://contoso.sharepoint.com/sites/project-
|
|
|
83
83
|
clientState,expirationDateTime,id,notificationUrl,resource,resourceData
|
|
84
84
|
system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,b8838bbb-9ddb-44fb-9016-0aacb9e02b77,https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76,97d19285-b8a6-4c7f-9c6c-d6b850a6561a,
|
|
85
85
|
```
|
|
86
|
+
|
|
87
|
+
=== "Markdown"
|
|
88
|
+
|
|
89
|
+
```md
|
|
90
|
+
# spo list webhook get --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents" --id "b8838bbb-9ddb-44fb-9016-0aacb9e02b77"
|
|
91
|
+
|
|
92
|
+
Date: 2/20/2023
|
|
93
|
+
|
|
94
|
+
## b8838bbb-9ddb-44fb-9016-0aacb9e02b77
|
|
95
|
+
|
|
96
|
+
Property | Value
|
|
97
|
+
---------|-------
|
|
98
|
+
clientState| system-managed:8082D436-D8DA-458D-96AD-34C902B73F37
|
|
99
|
+
expirationDateTime| 2022-11-16T20:25:12.2735056Z
|
|
100
|
+
id| b8838bbb-9ddb-44fb-9016-0aacb9e02b77
|
|
101
|
+
notificationUrl| https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76
|
|
102
|
+
resource| 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
|
|
103
|
+
resourceData| null
|
|
104
|
+
```
|
|
@@ -75,3 +75,22 @@ m365 spo list webhook list --webUrl https://contoso.sharepoint.com/sites/project
|
|
|
75
75
|
id,clientState,expirationDateTime,resource
|
|
76
76
|
b8838bbb-9ddb-44fb-9016-0aacb9e02b77,system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,97d19285-b8a6-4c7f-9c6c-d6b850a6561a
|
|
77
77
|
```
|
|
78
|
+
|
|
79
|
+
=== "Markdown"
|
|
80
|
+
|
|
81
|
+
```md
|
|
82
|
+
# spo list webhook list --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents"
|
|
83
|
+
|
|
84
|
+
Date: 2/20/2023
|
|
85
|
+
|
|
86
|
+
## b8838bbb-9ddb-44fb-9016-0aacb9e02b77
|
|
87
|
+
|
|
88
|
+
Property | Value
|
|
89
|
+
---------|-------
|
|
90
|
+
clientState| system-managed:8082D436-D8DA-458D-96AD-34C902B73F37
|
|
91
|
+
expirationDateTime| 2022-11-16T20:25:12.2735056Z
|
|
92
|
+
id| b8838bbb-9ddb-44fb-9016-0aacb9e02b77
|
|
93
|
+
notificationUrl| https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76
|
|
94
|
+
resource| 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
|
|
95
|
+
resourceData| null
|
|
96
|
+
```
|
|
@@ -132,3 +132,32 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
|
|
|
132
132
|
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
|
|
133
133
|
0,235,,,235,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
|
|
134
134
|
```
|
|
135
|
+
|
|
136
|
+
=== "Markdown"
|
|
137
|
+
|
|
138
|
+
```md
|
|
139
|
+
# spo listitem add --contentType "Item" --listTitle "My List" --webUrl "https://contoso.sharepoint.com/sites/project-x" --Title "Test"
|
|
140
|
+
|
|
141
|
+
Date: 2/20/2023
|
|
142
|
+
|
|
143
|
+
## Test (234)
|
|
144
|
+
|
|
145
|
+
Property | Value
|
|
146
|
+
---------|-------
|
|
147
|
+
FileSystemObjectType | 0
|
|
148
|
+
Id | 234
|
|
149
|
+
ServerRedirectedEmbedUri | null
|
|
150
|
+
ServerRedirectedEmbedUrl |
|
|
151
|
+
ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
|
|
152
|
+
Title | Test
|
|
153
|
+
ComplianceAssetId | null
|
|
154
|
+
FieldName1 | null
|
|
155
|
+
ID | 234
|
|
156
|
+
Modified | 2022-11-16T20:55:45Z
|
|
157
|
+
Created | 2022-11-16T20:55:45Z
|
|
158
|
+
AuthorId | 10
|
|
159
|
+
EditorId | 10
|
|
160
|
+
OData\_\_UIVersionString | 1.0
|
|
161
|
+
Attachments | false
|
|
162
|
+
GUID | 352e3855-56fa-4b68-b6be-4644d6adf204
|
|
163
|
+
```
|
|
@@ -11,7 +11,7 @@ m365 spo listitem attachment list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
URL of the site from which the item should be retrieved
|
|
14
|
+
: URL of the site from which the item should be retrieved
|
|
15
15
|
|
|
16
16
|
`--listId [listId]`
|
|
17
17
|
: ID of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl`
|
|
@@ -23,7 +23,7 @@ URL of the site from which the item should be retrieved
|
|
|
23
23
|
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
24
|
|
|
25
25
|
`--itemId <itemId>`
|
|
26
|
-
ID of the list item to in question
|
|
26
|
+
: ID of the list item to in question
|
|
27
27
|
|
|
28
28
|
--8<-- "docs/cmd/_global.md"
|
|
29
29
|
|
|
@@ -80,3 +80,18 @@ m365 spo listitem attachment list --webUrl https://contoso.sharepoint.com/sites/
|
|
|
80
80
|
FileName,ServerRelativeUrl
|
|
81
81
|
DummyDocument.docx,/Lists/Test/Attachments/236/DummyDocument.docx
|
|
82
82
|
```
|
|
83
|
+
|
|
84
|
+
=== "Markdown"
|
|
85
|
+
|
|
86
|
+
```md
|
|
87
|
+
# spo listitem attachment list --webUrl "https://contoso.sharepoint.com" --listTitle "Test" --itemId "236"
|
|
88
|
+
|
|
89
|
+
Date: 2/20/2023
|
|
90
|
+
|
|
91
|
+
Property | Value
|
|
92
|
+
---------|-------
|
|
93
|
+
FileName | DummyDocument.docx
|
|
94
|
+
FileNameAsPath | {"DecodedUrl":"DummyDocument.docx"}
|
|
95
|
+
ServerRelativePath | {"DecodedUrl":"/Lists/Test/Attachments/236/DummyDocument.docx"}
|
|
96
|
+
ServerRelativeUrl | /Lists/Test/Attachments/236/DummyDocument.docx
|
|
97
|
+
```
|
|
@@ -118,6 +118,34 @@ m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.
|
|
|
118
118
|
0,147,,,0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126,Demo Item,2022-10-30T10:55:37Z,2022-10-30T10:55:22Z,10,10,3.0,,87f3138d-fac3-4126-97c0-543e55672261,
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
+
=== "Markdown"
|
|
122
|
+
|
|
123
|
+
```md
|
|
124
|
+
# spo listitem get --webUrl "https://contoso.sharepoint.com" --listTitle "My List" --id "147"
|
|
125
|
+
|
|
126
|
+
Date: 2/20/2023
|
|
127
|
+
|
|
128
|
+
## Demo Item (147)
|
|
129
|
+
|
|
130
|
+
Property | Value
|
|
131
|
+
---------|-------
|
|
132
|
+
FileSystemObjectType | 0
|
|
133
|
+
Id | 147
|
|
134
|
+
ServerRedirectedEmbedUri | null
|
|
135
|
+
ServerRedirectedEmbedUrl |
|
|
136
|
+
ContentTypeId | 0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126
|
|
137
|
+
Title | Demo Item
|
|
138
|
+
ComplianceAssetId | null
|
|
139
|
+
FieldName1 | null
|
|
140
|
+
Modified | 2022-10-30T10:55:37Z
|
|
141
|
+
Created | 2022-10-30T10:55:22Z
|
|
142
|
+
AuthorId | 10
|
|
143
|
+
EditorId | 10
|
|
144
|
+
OData\_\_UIVersionString | 3.0
|
|
145
|
+
Attachments | false
|
|
146
|
+
GUID | 87f3138d-fac3-4126-97c0-543e55672261
|
|
147
|
+
```
|
|
148
|
+
|
|
121
149
|
### `withPermissions` response
|
|
122
150
|
|
|
123
151
|
When we make use of the option `withPermissions` the response will differ.
|
|
@@ -242,3 +270,32 @@ When we make use of the option `withPermissions` the response will differ.
|
|
|
242
270
|
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,RoleAssignments
|
|
243
271
|
0,147,,,0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126,Demo Item,2022-10-30T10:55:37Z,2022-10-30T10:55:22Z,10,10,3.0,,87f3138d-fac3-4126-97c0-543e55672261,"[{""Member"":{""Id"":3,""IsHiddenInUI"":false,""LoginName"":""Communication site Owners"",""Title"":""Communication site Owners"",""PrincipalType"":8,""AllowMembersEditMembership"":false,""AllowRequestToJoinLeave"":false,""AutoAcceptRequestToJoinLeave"":false,""Description"":null,""OnlyAllowMembersViewMembership"":false,""OwnerTitle"":""Communication site Owners"",""RequestToJoinLeaveEmailSetting"":""""},""RoleDefinitionBindings"":[{""BasePermissions"":{""High"":""2147483647"",""Low"":""4294967295""},""Description"":""Has full control."",""Hidden"":false,""Id"":1073741829,""Name"":""Full Control"",""Order"":1,""RoleTypeKind"":5,""BasePermissionsValue"":[""ViewListItems"",""AddListItems"",""EditListItems"",""DeleteListItems"",""ApproveItems"",""OpenItems"",""ViewVersions"",""DeleteVersions"",""CancelCheckout"",""ManagePersonalViews"",""ManageLists"",""ViewFormPages"",""AnonymousSearchAccessList"",""Open"",""ViewPages"",""AddAndCustomizePages"",""ApplyThemeAndBorder"",""ApplyStyleSheets"",""ViewUsageData"",""CreateSSCSite"",""ManageSubwebs"",""CreateGroups"",""ManagePermissions"",""BrowseDirectories"",""BrowseUserInfo"",""AddDelPrivateWebParts"",""UpdatePersonalWebParts"",""ManageWeb"",""AnonymousSearchAccessWebLists"",""UseClientIntegration"",""UseRemoteAPIs"",""ManageAlerts"",""CreateAlerts"",""EditMyUserInfo"",""EnumeratePermissions""],""RoleTypeKindValue"":""Administrator""}],""PrincipalId"":3}]"
|
|
244
272
|
```
|
|
273
|
+
|
|
274
|
+
=== "Markdown"
|
|
275
|
+
|
|
276
|
+
```md
|
|
277
|
+
# spo listitem get --webUrl "https://contoso.sharepoint.com" --listTitle "My List" --id "147" --withPermissions "true"
|
|
278
|
+
|
|
279
|
+
Date: 2/20/2023
|
|
280
|
+
|
|
281
|
+
## Demo Item (1)
|
|
282
|
+
|
|
283
|
+
Property | Value
|
|
284
|
+
---------|-------
|
|
285
|
+
FileSystemObjectType | 0
|
|
286
|
+
Id | 147
|
|
287
|
+
ServerRedirectedEmbedUri | null
|
|
288
|
+
ServerRedirectedEmbedUrl |
|
|
289
|
+
ContentTypeId | 0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126
|
|
290
|
+
Title | Demo Item
|
|
291
|
+
ComplianceAssetId | null
|
|
292
|
+
FieldName1 | null
|
|
293
|
+
Modified | 2022-10-30T10:55:37Z
|
|
294
|
+
Created | 2022-10-30T10:55:22Z
|
|
295
|
+
AuthorId | 10
|
|
296
|
+
EditorId | 10
|
|
297
|
+
OData\_\_UIVersionString | 3.0
|
|
298
|
+
Attachments | false
|
|
299
|
+
GUID | 87f3138d-fac3-4126-97c0-543e55672261
|
|
300
|
+
RoleAssignments | [{"Member":{"Id":3,"IsHiddenInUI":false,"LoginName":"Communication site Owners","Title":"Communication site Owners","PrincipalType":8,"AllowMembersEditMembership":false,"AllowRequestToJoinLeave":false,"AutoAcceptRequestToJoinLeave":false,"Description":null,"OnlyAllowMembersViewMembership":false,"OwnerTitle":"Communication site Owners","RequestToJoinLeaveEmailSetting":""},"RoleDefinitionBindings":[{"BasePermissions":{"High":"2147483647","Low":"4294967295"},"Description":"Has full control.","Hidden":false,"Id":1073741829,"Name":"Full Control","Order":1,"RoleTypeKind":5,"BasePermissionsValue":["ViewListItems","AddListItems","EditListItems","DeleteListItems","ApproveItems","OpenItems","ViewVersions","DeleteVersions","CancelCheckout","ManagePersonalViews","ManageLists","ViewFormPages","AnonymousSearchAccessList","Open","ViewPages","AddAndCustomizePages","ApplyThemeAndBorder","ApplyStyleSheets","ViewUsageData","CreateSSCSite","ManageSubwebs","CreateGroups","ManagePermissions","BrowseDirectories","BrowseUserInfo","AddDelPrivateWebParts","UpdatePersonalWebParts","ManageWeb","AnonymousSearchAccessWebLists","UseClientIntegration","UseRemoteAPIs","ManageAlerts","CreateAlerts","EditMyUserInfo","EnumeratePermissions"],"RoleTypeKindValue":"Administrator"}],"PrincipalId":3}]
|
|
301
|
+
```
|
|
@@ -135,3 +135,31 @@ m365 spo listitem list --listUrl /sites/project-x/documents --webUrl https://con
|
|
|
135
135
|
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
|
|
136
136
|
0,236,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T21:00:03Z,2022-11-16T20:56:31Z,10,10,6.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
|
|
137
137
|
```
|
|
138
|
+
|
|
139
|
+
=== "Markdown"
|
|
140
|
+
|
|
141
|
+
```md
|
|
142
|
+
# spo listitem list --webUrl "https://contoso.sharepoint.com" --listTitle "My List"
|
|
143
|
+
|
|
144
|
+
Date: 2/20/2023
|
|
145
|
+
|
|
146
|
+
## Demo Item (147)
|
|
147
|
+
|
|
148
|
+
Property | Value
|
|
149
|
+
---------|-------
|
|
150
|
+
FileSystemObjectType | 0
|
|
151
|
+
Id | 236
|
|
152
|
+
ServerRedirectedEmbedUri | null
|
|
153
|
+
ServerRedirectedEmbedUrl |
|
|
154
|
+
ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
|
|
155
|
+
Title | Test
|
|
156
|
+
ComplianceAssetId | null
|
|
157
|
+
Modified | 2022-11-16T21:00:03Z
|
|
158
|
+
Created | 2022-11-16T20:56:31Z
|
|
159
|
+
AuthorId | 10
|
|
160
|
+
EditorId | 10
|
|
161
|
+
OData\_\_UIVersionString | 6.0
|
|
162
|
+
Attachments | false
|
|
163
|
+
GUID | cac57513-e870-4e7a-9f23-f4ea10e14f4e
|
|
164
|
+
OData__vti_ItemDeclaredRecord | null
|
|
165
|
+
```
|
|
@@ -84,3 +84,18 @@ m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/p
|
|
|
84
84
|
SchemaVersion,LibraryVersion,ErrorInfo,TraceCorrelationId
|
|
85
85
|
15.0.0.0,16.0.23102.12004,,0d4779a0-609c-5000-843d-c98e4764c937
|
|
86
86
|
```
|
|
87
|
+
|
|
88
|
+
=== "Markdown"
|
|
89
|
+
|
|
90
|
+
```md
|
|
91
|
+
# spo listitem record declare --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Demo List" --listItemId "1" --date "2012-03-14"
|
|
92
|
+
|
|
93
|
+
Date: 2/20/2023
|
|
94
|
+
|
|
95
|
+
Property | Value
|
|
96
|
+
---------|-------
|
|
97
|
+
SchemaVersion | 15.0.0.0
|
|
98
|
+
LibraryVersion | 16.0.23102.12004
|
|
99
|
+
ErrorInfo | null
|
|
100
|
+
TraceCorrelationId | 064779a0-d05b-5000-843d-c36803e58f12
|
|
101
|
+
```
|
|
@@ -129,3 +129,33 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
|
|
|
129
129
|
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
|
|
130
130
|
0,236,,,236,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
|
|
131
131
|
```
|
|
132
|
+
|
|
133
|
+
=== "Markdown"
|
|
134
|
+
|
|
135
|
+
```md
|
|
136
|
+
# spo listitem set --listTitle "My List" --id "236" --webUrl "https://contoso.sharepoint.com" --Title "Updated Title"
|
|
137
|
+
|
|
138
|
+
Date: 2/20/2023
|
|
139
|
+
|
|
140
|
+
## Updated Title (236)
|
|
141
|
+
|
|
142
|
+
Property | Value
|
|
143
|
+
---------|-------
|
|
144
|
+
FileSystemObjectType | 0
|
|
145
|
+
Id | 236
|
|
146
|
+
ServerRedirectedEmbedUri | null
|
|
147
|
+
ServerRedirectedEmbedUrl |
|
|
148
|
+
ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
|
|
149
|
+
Title | Updated Title
|
|
150
|
+
ComplianceAssetId | null
|
|
151
|
+
FieldName1 | null
|
|
152
|
+
ID | 236
|
|
153
|
+
Modified | 2022-11-16T21:10:06Z
|
|
154
|
+
Created | 2022-11-16T20:56:31Z
|
|
155
|
+
AuthorId | 10
|
|
156
|
+
EditorId | 10
|
|
157
|
+
OData\_\_UIVersionString | 7.0
|
|
158
|
+
Attachments | true
|
|
159
|
+
GUID | cac57513-e870-4e7a-9f23-f4ea10e14f4e
|
|
160
|
+
OData__vti_ItemDeclaredRecord | null
|
|
161
|
+
```
|
|
@@ -103,3 +103,25 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
103
103
|
AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
|
|
104
104
|
"[""7aa4a1ca-4035-4f2f-bac7-7beada59b5ba""]",1033,2032,1,1,1,0,Navigation Link,https://contoso.sharepoint.com
|
|
105
105
|
```
|
|
106
|
+
|
|
107
|
+
=== "Markdown"
|
|
108
|
+
|
|
109
|
+
```md
|
|
110
|
+
# spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/team-a" --location "TopNavigationBar" --title "Navigation Link" --url "https://contoso.sharepoint.com"
|
|
111
|
+
|
|
112
|
+
Date: 2/20/2023
|
|
113
|
+
|
|
114
|
+
## Navigation Link (2030)
|
|
115
|
+
|
|
116
|
+
Property | Value
|
|
117
|
+
---------|-------
|
|
118
|
+
AudienceIds | ["7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"]
|
|
119
|
+
CurrentLCID | 1033
|
|
120
|
+
Id | 2030
|
|
121
|
+
IsDocLib | true
|
|
122
|
+
IsExternal | false
|
|
123
|
+
IsVisible | true
|
|
124
|
+
ListTemplateType | 0
|
|
125
|
+
Title | Navigation Link
|
|
126
|
+
Url | https://contoso.sharepoint.com
|
|
127
|
+
```
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# spo navigation node get
|
|
2
|
+
|
|
3
|
+
Gets information about a specific navigation node.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo navigation node get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: Absolute URL of the site.
|
|
15
|
+
|
|
16
|
+
`--id <id>`
|
|
17
|
+
: Id of the navigation node.
|
|
18
|
+
|
|
19
|
+
--8<-- "docs/cmd/_global.md"
|
|
20
|
+
|
|
21
|
+
## Examples
|
|
22
|
+
|
|
23
|
+
Retrieve information for a specific navigation node.
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/team-a --id 2209
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Response
|
|
30
|
+
|
|
31
|
+
=== "JSON"
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"AudienceIds": [
|
|
36
|
+
"0d718612-8407-4d6b-833c-6891a553354f",
|
|
37
|
+
"f864446f-b4d7-475a-a2ba-1080c6474020"
|
|
38
|
+
],
|
|
39
|
+
"CurrentLCID": 1033,
|
|
40
|
+
"Id": 2209,
|
|
41
|
+
"IsDocLib": true,
|
|
42
|
+
"IsExternal": false,
|
|
43
|
+
"IsVisible": true,
|
|
44
|
+
"ListTemplateType": 100,
|
|
45
|
+
"Title": "Work Status",
|
|
46
|
+
"Url": "/sites/team-a/Lists/Work Status/AllItems.aspx"
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
=== "Text"
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
AudienceIds : ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
|
|
54
|
+
CurrentLCID : 1033
|
|
55
|
+
Id : 2209
|
|
56
|
+
IsDocLib : true
|
|
57
|
+
IsExternal : false
|
|
58
|
+
IsVisible : true
|
|
59
|
+
ListTemplateType: 100
|
|
60
|
+
Title : Work Status
|
|
61
|
+
Url : /sites/team-a/Lists/Work Status/AllItems.aspx
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
=== "CSV"
|
|
65
|
+
|
|
66
|
+
```csv
|
|
67
|
+
AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
|
|
68
|
+
[""0d718612-8407-4d6b-833c-6891a553354f"", ""f864446f-b4d7-475a-a2ba-1080c6474020""],1033,2209,1,,1,100,Work Status,/sites/team-a/Lists/Work Status/AllItems.aspx
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
=== "Markdown"
|
|
72
|
+
|
|
73
|
+
```md
|
|
74
|
+
# spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/team-a" --id "2209"
|
|
75
|
+
|
|
76
|
+
Date: 1/29/2023
|
|
77
|
+
|
|
78
|
+
## Work Status (2209)
|
|
79
|
+
|
|
80
|
+
Property | Value
|
|
81
|
+
---------|-------
|
|
82
|
+
AudienceIds | ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
|
|
83
|
+
CurrentLCID | 1033
|
|
84
|
+
Id | 2209
|
|
85
|
+
IsDocLib | true
|
|
86
|
+
IsExternal | false
|
|
87
|
+
IsVisible | true
|
|
88
|
+
ListTemplateType | 100
|
|
89
|
+
Title | Work Status
|
|
90
|
+
Url | /sites/team-a/Lists/Work Status/AllItems.aspx
|
|
91
|
+
```
|
|
@@ -28,6 +28,9 @@ m365 spo sitedesign add [options]
|
|
|
28
28
|
`-a, --previewImageAltText [previewImageAltText]`
|
|
29
29
|
: The alt text description of the image for accessibility
|
|
30
30
|
|
|
31
|
+
`--thumbnailUrl [thumbnailUrl]`
|
|
32
|
+
: The new URL of a thumbnail image. If none is specified SharePoint will use a generic image
|
|
33
|
+
|
|
31
34
|
`--isDefault`
|
|
32
35
|
: Set if the site design is applied as the default site design
|
|
33
36
|
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# spo tenant applicationcustomizer add
|
|
2
|
+
|
|
3
|
+
Add an application customizer as a tenant wide extension.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo tenant applicationcustomizer add [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-t, --title <title>`
|
|
14
|
+
: The title of the Application Customizer.
|
|
15
|
+
|
|
16
|
+
`-i, --clientSideComponentId <clientSideComponentId>`
|
|
17
|
+
: The Client Side Component Id (GUID) of the application customizer.
|
|
18
|
+
|
|
19
|
+
`-p, --clientSideComponentProperties [clientSideComponentProperties]`
|
|
20
|
+
: The Client Side Component properties of the application customizer.
|
|
21
|
+
|
|
22
|
+
`-w, --webTemplate [webTemplate]`
|
|
23
|
+
: Optionally add a web template (e.g. STS#3, SITEPAGEPUBLISHING#0, etc) as a filter for what kind of sites the application customizer is registered on.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
!!! important
|
|
28
|
+
To use this command, you need to be a SharePoint Admin.
|
|
29
|
+
|
|
30
|
+
## Remarks
|
|
31
|
+
|
|
32
|
+
Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell treat quotes differently. For example, this is how ApplicationCustomizer user custom action can be created from the Windows cmd.exe:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo tenant applicationcustomizer add --title "YourAppCustomizer" --clientSideComponentId b41916e7-e69d-467f-b37f-ff8ecf8f99f2 --clientSideComponentProperties '{\"testMessage\":\"Test message\"}'
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Note, how the clientSideComponentProperties option has escaped double quotes `'{\"testMessage\":\"Test message\"}'` compared to execution from bash `'{"testMessage":"Test message"}'`.
|
|
39
|
+
|
|
40
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
41
|
+
When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
42
|
+
|
|
43
|
+
## Examples
|
|
44
|
+
|
|
45
|
+
Adds an application customizer that's deployed tenant wide
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
m365 spo tenant applicationcustomizer add --title "Some customizer" --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Adds an application customizer that is configured for all communication sites.
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
m365 spo tenant applicationcustomizer add --title "Some customizer" --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc --webTemplate "SITEPAGEPUBLISHING#0"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Response
|
|
58
|
+
|
|
59
|
+
The command won't return a response on success.
|
package/docs/docs/cmd/status.md
CHANGED
|
@@ -23,3 +23,49 @@ Show the information about the current login to the Microsoft 365
|
|
|
23
23
|
```sh
|
|
24
24
|
m365 status
|
|
25
25
|
```
|
|
26
|
+
|
|
27
|
+
## Response
|
|
28
|
+
|
|
29
|
+
=== "JSON"
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"connectedAs": "john.doe@contoso.onmicrosoft.com",
|
|
34
|
+
"authType": "DeviceCode",
|
|
35
|
+
"appId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
|
|
36
|
+
"appTenant": "common"
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
=== "Text"
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
appId : 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
44
|
+
appTenant : common
|
|
45
|
+
authType : DeviceCode
|
|
46
|
+
connectedAs: john.doe@contoso.onmicrosoft.com
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
=== "CSV"
|
|
50
|
+
|
|
51
|
+
```csv
|
|
52
|
+
connectedAs,authType,appId,appTenant
|
|
53
|
+
john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
=== "Markdown"
|
|
57
|
+
|
|
58
|
+
```md
|
|
59
|
+
# status
|
|
60
|
+
|
|
61
|
+
Date: 7/2/2023
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
Property | Value
|
|
66
|
+
---------|-------
|
|
67
|
+
connectedAs | john.doe@contoso.onmicrosoft.com
|
|
68
|
+
authType | DeviceCode
|
|
69
|
+
appId | 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
70
|
+
appTenant | common
|
|
71
|
+
```
|
package/docs/docs/cmd/version.md
CHANGED
|
@@ -19,3 +19,29 @@ Show the version of CLI for Microsoft 365
|
|
|
19
19
|
```sh
|
|
20
20
|
m365 version
|
|
21
21
|
```
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
v6.3.0
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
=== "Text"
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
v6.3.0
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
=== "CSV"
|
|
38
|
+
|
|
39
|
+
```csv
|
|
40
|
+
v6.3.0
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
=== "Markdown"
|
|
44
|
+
|
|
45
|
+
```md
|
|
46
|
+
v6.3.0
|
|
47
|
+
```
|