@pnp/cli-microsoft365 7.0.0-beta.90ef876 → 7.0.0-beta.df9f285
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/Command.js +1 -1
- package/dist/cli/Cli.js +23 -8
- package/dist/m365/aad/commands/user/user-get.js +7 -1
- package/dist/m365/aad/commands/user/user-list.js +3 -6
- package/dist/m365/aad/commands/user/user-set.js +20 -20
- package/dist/m365/booking/commands/business/business-get.js +14 -15
- package/dist/m365/cli/commands/config/config-set.js +1 -1
- package/dist/m365/pa/commands/app/app-consent-set.js +2 -2
- package/dist/m365/pa/commands/app/app-export.js +3 -3
- package/dist/m365/pa/commands/app/app-list.js +5 -5
- package/dist/m365/pa/commands/app/app-owner-set.js +115 -0
- package/dist/m365/pa/commands/app/app-permission-list.js +104 -0
- package/dist/m365/pa/commands.js +2 -0
- package/dist/m365/planner/commands/bucket/bucket-add.js +14 -10
- package/dist/m365/planner/commands/bucket/bucket-get.js +25 -19
- package/dist/m365/planner/commands/bucket/bucket-list.js +14 -10
- package/dist/m365/planner/commands/bucket/bucket-remove.js +26 -20
- package/dist/m365/planner/commands/bucket/bucket-set.js +26 -28
- package/dist/m365/planner/commands/roster/roster-member-add.js +3 -14
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +2 -2
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +2 -2
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +3 -3
- package/dist/m365/pp/commands/card/card-clone.js +3 -3
- package/dist/m365/pp/commands/card/card-get.js +2 -2
- package/dist/m365/pp/commands/card/card-list.js +2 -2
- package/dist/m365/pp/commands/card/card-remove.js +3 -3
- package/dist/m365/pp/commands/chatbot/chatbot-get.js +2 -2
- package/dist/m365/pp/commands/chatbot/chatbot-list.js +3 -3
- package/dist/m365/pp/commands/chatbot/chatbot-remove.js +3 -3
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +2 -2
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +2 -2
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +2 -2
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +2 -2
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +2 -2
- package/dist/m365/pp/commands/solution/solution-get.js +2 -2
- package/dist/m365/pp/commands/solution/solution-list.js +2 -2
- package/dist/m365/pp/commands/solution/solution-publish.js +3 -3
- package/dist/m365/pp/commands/solution/solution-publisher-add.js +2 -2
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +2 -2
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +2 -2
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +3 -3
- package/dist/m365/pp/commands/solution/solution-remove.js +3 -3
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +19 -17
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +19 -17
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +35 -34
- package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +59 -51
- package/dist/m365/spo/commands/file/file-list.js +3 -14
- package/dist/m365/spo/commands/folder/folder-remove.js +30 -28
- package/dist/m365/spo/commands/list/list-add.js +0 -9
- package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +0 -4
- package/dist/m365/spo/commands/list/list-retentionlabel-get.js +0 -4
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +9 -47
- package/dist/m365/spo/commands/list/list-set.js +0 -9
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +4 -4
- package/dist/m365/spo/commands/page/page-remove.js +33 -31
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +25 -23
- package/dist/m365/spo/commands/site/site-apppermission-add.js +3 -3
- package/dist/m365/spo/commands/site/site-commsite-enable.js +9 -18
- package/dist/m365/spo/commands/site/site-set.js +10 -2
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +13 -16
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +80 -2
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +107 -24
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +48 -48
- package/dist/m365/spo/commands/theme/theme-get.js +1 -2
- package/dist/m365/spo/commands/user/user-get.js +5 -5
- package/dist/m365/spo/commands.js +0 -2
- package/dist/m365/teams/commands/chat/chat-get.js +4 -4
- package/dist/m365/teams/commands/chat/chat-member-add.js +117 -0
- package/dist/m365/teams/commands/chat/chat-message-send.js +4 -4
- package/dist/m365/teams/commands/meeting/meeting-get.js +16 -24
- package/dist/m365/teams/commands/meeting/meeting-list.js +2 -15
- package/dist/m365/teams/commands/team/team-app-list.js +1 -1
- package/dist/m365/teams/commands.js +1 -0
- package/dist/utils/spo.js +74 -0
- package/docs/docs/_clisettings.mdx +1 -1
- package/docs/docs/cmd/_global.mdx +1 -1
- package/docs/docs/cmd/aad/user/user-get.mdx +118 -25
- package/docs/docs/cmd/aad/user/user-list.mdx +0 -9
- package/docs/docs/cmd/aad/user/user-set.mdx +11 -11
- package/docs/docs/cmd/pa/app/app-consent-set.mdx +3 -3
- package/docs/docs/cmd/pa/app/app-export.mdx +3 -3
- package/docs/docs/cmd/pa/app/app-list.mdx +2 -2
- package/docs/docs/cmd/pa/app/app-owner-set.mdx +60 -0
- package/docs/docs/cmd/pa/app/app-permission-list.mdx +132 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.mdx +21 -4
- package/docs/docs/cmd/planner/bucket/bucket-get.mdx +22 -5
- package/docs/docs/cmd/planner/bucket/bucket-list.mdx +21 -4
- package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +21 -4
- package/docs/docs/cmd/planner/bucket/bucket-set.mdx +22 -5
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +4 -4
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -4
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-remove.mdx +4 -4
- package/docs/docs/cmd/pp/card/card-clone.mdx +6 -6
- package/docs/docs/cmd/pp/card/card-get.mdx +6 -6
- package/docs/docs/cmd/pp/card/card-list.mdx +4 -4
- package/docs/docs/cmd/pp/card/card-remove.mdx +9 -9
- package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +6 -6
- package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +4 -4
- package/docs/docs/cmd/pp/chatbot/chatbot-remove.mdx +4 -4
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +2 -2
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +2 -2
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +5 -5
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +5 -5
- package/docs/docs/cmd/pp/solution/solution-get.mdx +6 -6
- package/docs/docs/cmd/pp/solution/solution-list.mdx +4 -4
- package/docs/docs/cmd/pp/solution/solution-publish.mdx +4 -4
- package/docs/docs/cmd/pp/solution/solution-publisher-add.mdx +3 -3
- package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +6 -6
- package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +4 -4
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +5 -5
- package/docs/docs/cmd/pp/solution/solution-remove.mdx +9 -9
- package/docs/docs/cmd/spo/file/file-list.mdx +6 -10
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +0 -6
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +0 -6
- package/docs/docs/cmd/spo/list/list-set.mdx +0 -3
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +7 -7
- package/docs/docs/cmd/spo/site/site-add.mdx +35 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +14 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +68 -0
- package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +55 -0
- package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +55 -0
- package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +66 -0
- package/docs/docs/cmd/spo/site/site-chrome-set.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +11 -1
- package/docs/docs/cmd/spo/site/site-ensure.mdx +70 -0
- package/docs/docs/cmd/spo/site/site-get.mdx +179 -0
- package/docs/docs/cmd/spo/site/site-groupify.mdx +54 -0
- package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-list.mdx +303 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +80 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-rename.mdx +92 -0
- package/docs/docs/cmd/spo/site/site-set.mdx +13 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +116 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +125 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +117 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +94 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +54 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +66 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +65 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +117 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +61 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +60 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +75 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +62 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +60 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +63 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +53 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +54 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +4 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +35 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +12 -3
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +23 -11
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +67 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +50 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +729 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +5 -0
- package/docs/docs/cmd/spo/theme/theme-apply.mdx +35 -0
- package/docs/docs/cmd/spo/theme/theme-get.mdx +74 -0
- package/docs/docs/cmd/spo/theme/theme-list.mdx +52 -0
- package/docs/docs/cmd/spo/theme/theme-remove.mdx +4 -0
- package/docs/docs/cmd/spo/theme/theme-set.mdx +4 -0
- package/docs/docs/cmd/spo/user/user-get.mdx +6 -6
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +66 -0
- package/npm-shrinkwrap.json +212 -212
- package/package.json +10 -10
|
@@ -2,7 +2,7 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
|
|
3
3
|
# spo site hubsite theme sync
|
|
4
4
|
|
|
5
|
-
Applies any theme updates from the hub site the site is connected to.
|
|
5
|
+
Applies any theme updates from the hub site to the site it is connected to.
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
@@ -27,6 +27,10 @@ Applies any theme updates from the hub site to a specific site
|
|
|
27
27
|
m365 spo site hubsite theme sync --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
## Response
|
|
31
|
+
|
|
32
|
+
The command won't return a response on success.
|
|
33
|
+
|
|
30
34
|
## More information
|
|
31
35
|
|
|
32
36
|
- SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)
|
|
@@ -35,3 +35,7 @@ Deactivates in-place records management for site _https://contoso.sharepoint.com
|
|
|
35
35
|
```sh
|
|
36
36
|
m365 spo site inplacerecordsmanagement set --siteUrl https://contoso.sharepoint.com/sites/team-a --enabled false
|
|
37
37
|
```
|
|
38
|
+
|
|
39
|
+
## Response
|
|
40
|
+
|
|
41
|
+
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 site list
|
|
4
6
|
|
|
@@ -80,3 +82,304 @@ List all deleted sites in the tenant you're logged in to
|
|
|
80
82
|
```sh
|
|
81
83
|
m365 spo site list --deleted
|
|
82
84
|
```
|
|
85
|
+
|
|
86
|
+
## Response
|
|
87
|
+
|
|
88
|
+
### Standard response
|
|
89
|
+
|
|
90
|
+
<Tabs>
|
|
91
|
+
<TabItem value="JSON">
|
|
92
|
+
|
|
93
|
+
```json
|
|
94
|
+
[
|
|
95
|
+
{
|
|
96
|
+
"_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.SiteProperties",
|
|
97
|
+
"_ObjectIdentity_": "c904bfa0-90e8-6000-a541-33f81aef922d|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4\\\nSiteProperties\\\nhttps%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1",
|
|
98
|
+
"AllowDownloadingNonWebViewableFiles": false,
|
|
99
|
+
"AllowEditing": false,
|
|
100
|
+
"AllowSelfServiceUpgrade": true,
|
|
101
|
+
"AnonymousLinkExpirationInDays": 0,
|
|
102
|
+
"AuthContextStrength": null,
|
|
103
|
+
"AuthenticationContextLimitedAccess": false,
|
|
104
|
+
"AuthenticationContextName": null,
|
|
105
|
+
"AverageResourceUsage": 0,
|
|
106
|
+
"BlockDownloadLinksFileType": 0,
|
|
107
|
+
"BlockDownloadMicrosoft365GroupIds": null,
|
|
108
|
+
"BlockDownloadPolicy": false,
|
|
109
|
+
"BlockGuestsAsSiteAdmin": 0,
|
|
110
|
+
"ClearRestrictedAccessControl": false,
|
|
111
|
+
"CommentsOnSitePagesDisabled": false,
|
|
112
|
+
"CompatibilityLevel": 15,
|
|
113
|
+
"ConditionalAccessPolicy": 0,
|
|
114
|
+
"CurrentResourceUsage": 0,
|
|
115
|
+
"DefaultLinkPermission": 0,
|
|
116
|
+
"DefaultLinkToExistingAccess": false,
|
|
117
|
+
"DefaultLinkToExistingAccessReset": false,
|
|
118
|
+
"DefaultShareLinkRole": 0,
|
|
119
|
+
"DefaultShareLinkScope": 0,
|
|
120
|
+
"DefaultSharingLinkType": 0,
|
|
121
|
+
"DenyAddAndCustomizePages": 2,
|
|
122
|
+
"Description": null,
|
|
123
|
+
"DisableAppViews": 0,
|
|
124
|
+
"DisableCompanyWideSharingLinks": 0,
|
|
125
|
+
"DisableFlows": 0,
|
|
126
|
+
"ExcludeBlockDownloadPolicySiteOwners": false,
|
|
127
|
+
"ExcludeBlockDownloadSharePointGroups": null,
|
|
128
|
+
"ExcludedBlockDownloadGroupIds": [],
|
|
129
|
+
"ExternalUserExpirationInDays": 0,
|
|
130
|
+
"GroupId": "/Guid(00000000-0000-0000-0000-000000000000)/",
|
|
131
|
+
"GroupOwnerLoginName": null,
|
|
132
|
+
"HasHolds": false,
|
|
133
|
+
"HubSiteId": "/Guid(b3adc7fd-ac6b-4c0b-86a0-447f14fe4d17)/",
|
|
134
|
+
"IBMode": null,
|
|
135
|
+
"IBSegments": [],
|
|
136
|
+
"IBSegmentsToAdd": null,
|
|
137
|
+
"IBSegmentsToRemove": null,
|
|
138
|
+
"IsGroupOwnerSiteAdmin": false,
|
|
139
|
+
"IsHubSite": false,
|
|
140
|
+
"IsTeamsChannelConnected": true,
|
|
141
|
+
"IsTeamsConnected": false,
|
|
142
|
+
"LastContentModifiedDate": "/Date(2023,5,14,7,30,33,573)/",
|
|
143
|
+
"Lcid": 1033,
|
|
144
|
+
"LimitedAccessFileType": 0,
|
|
145
|
+
"ListsShowHeaderAndNavigation": false,
|
|
146
|
+
"LockIssue": null,
|
|
147
|
+
"LockState": "Unlock",
|
|
148
|
+
"LoopDefaultSharingLinkRole": 0,
|
|
149
|
+
"LoopDefaultSharingLinkScope": 0,
|
|
150
|
+
"LoopOverrideSharingCapability": false,
|
|
151
|
+
"LoopSharingCapability": 0,
|
|
152
|
+
"MediaTranscription": 0,
|
|
153
|
+
"OverrideBlockUserInfoVisibility": 0,
|
|
154
|
+
"OverrideSharingCapability": false,
|
|
155
|
+
"OverrideTenantAnonymousLinkExpirationPolicy": false,
|
|
156
|
+
"OverrideTenantExternalUserExpirationPolicy": false,
|
|
157
|
+
"Owner": "john@contoso.onmicrosoft.com",
|
|
158
|
+
"OwnerEmail": null,
|
|
159
|
+
"OwnerLoginName": null,
|
|
160
|
+
"OwnerName": null,
|
|
161
|
+
"PWAEnabled": 1,
|
|
162
|
+
"ReadOnlyAccessPolicy": false,
|
|
163
|
+
"ReadOnlyForBlockDownloadPolicy": false,
|
|
164
|
+
"ReadOnlyForUnmanagedDevices": false,
|
|
165
|
+
"RelatedGroupId": "/Guid(e5b29bb6-21ca-4d00-8d0a-abf3b6857c52)/",
|
|
166
|
+
"RequestFilesLinkEnabled": false,
|
|
167
|
+
"RequestFilesLinkExpirationInDays": 0,
|
|
168
|
+
"RestrictedAccessControl": false,
|
|
169
|
+
"RestrictedAccessControlGroups": null,
|
|
170
|
+
"RestrictedAccessControlGroupsToAdd": null,
|
|
171
|
+
"RestrictedAccessControlGroupsToRemove": null,
|
|
172
|
+
"RestrictedToRegion": 3,
|
|
173
|
+
"SandboxedCodeActivationCapability": 0,
|
|
174
|
+
"SensitivityLabel": "/Guid(00000000-0000-0000-0000-000000000000)/",
|
|
175
|
+
"SensitivityLabel2": null,
|
|
176
|
+
"SetOwnerWithoutUpdatingSecondaryAdmin": false,
|
|
177
|
+
"SharingAllowedDomainList": null,
|
|
178
|
+
"SharingBlockedDomainList": null,
|
|
179
|
+
"SharingCapability": 0,
|
|
180
|
+
"SharingDomainRestrictionMode": 0,
|
|
181
|
+
"SharingLockDownCanBeCleared": false,
|
|
182
|
+
"SharingLockDownEnabled": false,
|
|
183
|
+
"ShowPeoplePickerSuggestionsForGuestUsers": false,
|
|
184
|
+
"SiteDefinedSharingCapability": 1,
|
|
185
|
+
"SocialBarOnSitePagesDisabled": false,
|
|
186
|
+
"Status": "Active",
|
|
187
|
+
"StorageMaximumLevel": 1048576,
|
|
188
|
+
"StorageQuotaType": null,
|
|
189
|
+
"StorageUsage": 0,
|
|
190
|
+
"StorageWarningLevel": 1022361,
|
|
191
|
+
"TeamsChannelType": 1,
|
|
192
|
+
"Template": "TEAMCHANNEL#1",
|
|
193
|
+
"TimeZoneId": 13,
|
|
194
|
+
"Title": "Benelux Demo 031622 - demo",
|
|
195
|
+
"TitleTranslations": null,
|
|
196
|
+
"Url": "https://contoso.sharepoint.com/teams/team1",
|
|
197
|
+
"UserCodeMaximumLevel": 300,
|
|
198
|
+
"UserCodeWarningLevel": 200,
|
|
199
|
+
"WebsCount": 0
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
</TabItem>
|
|
205
|
+
<TabItem value="Text">
|
|
206
|
+
|
|
207
|
+
```text
|
|
208
|
+
Title Url
|
|
209
|
+
------------------------------- ------------------------------------------------
|
|
210
|
+
Give @ Contoso https://contoso.sharepoint.com/sites/team1
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
</TabItem>
|
|
214
|
+
<TabItem value="CSV">
|
|
215
|
+
|
|
216
|
+
```csv
|
|
217
|
+
_ObjectType_;_ObjectIdentity_;AllowDownloadingNonWebViewableFiles;AllowEditing;AllowSelfServiceUpgrade;AnonymousLinkExpirationInDays;AuthenticationContextLimitedAccess;AverageResourceUsage;BlockDownloadLinksFileType;BlockDownloadPolicy;BlockGuestsAsSiteAdmin;ClearRestrictedAccessControl;CommentsOnSitePagesDisabled;CompatibilityLevel;ConditionalAccessPolicy;CurrentResourceUsage;DefaultLinkPermission;DefaultLinkToExistingAccess;DefaultLinkToExistingAccessReset;DefaultShareLinkRole;DefaultShareLinkScope;DefaultSharingLinkType;DenyAddAndCustomizePages;DisableAppViews;DisableCompanyWideSharingLinks;DisableFlows;ExcludeBlockDownloadPolicySiteOwners;ExternalUserExpirationInDays;GroupId;HasHolds;HubSiteId;IsGroupOwnerSiteAdmin;IsHubSite;IsTeamsChannelConnected;IsTeamsConnected;LastContentModifiedDate;Lcid;LimitedAccessFileType;ListsShowHeaderAndNavigation;LockState;LoopDefaultSharingLinkRole;LoopDefaultSharingLinkScope;LoopOverrideSharingCapability;LoopSharingCapability;MediaTranscription;OverrideBlockUserInfoVisibility;OverrideSharingCapability;OverrideTenantAnonymousLinkExpirationPolicy;OverrideTenantExternalUserExpirationPolicy;Owner;PWAEnabled;ReadOnlyAccessPolicy;ReadOnlyForBlockDownloadPolicy;ReadOnlyForUnmanagedDevices;RelatedGroupId;RequestFilesLinkEnabled;RequestFilesLinkExpirationInDays;RestrictedAccessControl;RestrictedToRegion;SandboxedCodeActivationCapability;SensitivityLabel;SetOwnerWithoutUpdatingSecondaryAdmin;SharingCapability;SharingDomainRestrictionMode;SharingLockDownCanBeCleared;SharingLockDownEnabled;ShowPeoplePickerSuggestionsForGuestUsers;SiteDefinedSharingCapability;SocialBarOnSitePagesDisabled;Status;StorageMaximumLevel;StorageUsage;StorageWarningLevel;TeamsChannelType;Template;TimeZoneId;Title;Url;UserCodeMaximumLevel;UserCodeWarningLevel;WebsCount
|
|
218
|
+
Microsoft.Online.SharePoint.TenantAdministration.SiteProperties;"0a05bfa0-c046-6000-c2a5-1da5123cf537|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4
|
|
219
|
+
SiteProperties
|
|
220
|
+
https%3a%2f%2fcontoso.sharepoint.com%2fsites%2fteam1";;;1;0;;0;0;;0;;;15;0;0;0;;;0;0;0;2;0;0;0;;0;/Guid(00000000-0000-0000-0000-000000000000)/;;/Guid(5337976b-b560-4b64-b3fa-8eaf0339501a)/;;;;;/Date(2023,5,6,12,43,38,333)/;1033;0;;Unlock;0;0;;0;0;0;;;;john@contoso.onmicrosoft.com;1;;;;/Guid(00000000-0000-0000-0000-000000000000)/;;0;;3;0;/Guid(00000000-0000-0000-0000-000000000000)/;;0;0;;;;0;;Active;1048576;10;1022361;0;SITEPAGEPUBLISHING#0;13;Give @ Contoso;https://contoso.sharepoint.com/sites/team1;300;200;0
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
</TabItem>
|
|
224
|
+
<TabItem value="Markdown">
|
|
225
|
+
|
|
226
|
+
```md
|
|
227
|
+
# spo site list --filter "Url -like 'comm'"
|
|
228
|
+
|
|
229
|
+
Date: 2023-06-21
|
|
230
|
+
|
|
231
|
+
## team1 (https://contoso.sharepoint.com/sites/team1)
|
|
232
|
+
|
|
233
|
+
Property | Value
|
|
234
|
+
---------|-------
|
|
235
|
+
\_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.SiteProperties
|
|
236
|
+
\_ObjectIdentity\_ | 9705bfa0-a04c-6000-dbee-f912abf55939\|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4<br>SiteProperties<br>https%3a%2f%2fcontoso.sharepoint.com%2fsites%2fteam1
|
|
237
|
+
AllowDownloadingNonWebViewableFiles | false
|
|
238
|
+
AllowEditing | false
|
|
239
|
+
AllowSelfServiceUpgrade | true
|
|
240
|
+
AnonymousLinkExpirationInDays | 0
|
|
241
|
+
AuthenticationContextLimitedAccess | false
|
|
242
|
+
AverageResourceUsage | 0
|
|
243
|
+
BlockDownloadLinksFileType | 0
|
|
244
|
+
BlockDownloadPolicy | false
|
|
245
|
+
BlockGuestsAsSiteAdmin | 0
|
|
246
|
+
ClearRestrictedAccessControl | false
|
|
247
|
+
CommentsOnSitePagesDisabled | false
|
|
248
|
+
CompatibilityLevel | 15
|
|
249
|
+
ConditionalAccessPolicy | 0
|
|
250
|
+
CurrentResourceUsage | 0
|
|
251
|
+
DefaultLinkPermission | 0
|
|
252
|
+
DefaultLinkToExistingAccess | false
|
|
253
|
+
DefaultLinkToExistingAccessReset | false
|
|
254
|
+
DefaultShareLinkRole | 0
|
|
255
|
+
DefaultShareLinkScope | 0
|
|
256
|
+
DefaultSharingLinkType | 0
|
|
257
|
+
DenyAddAndCustomizePages | 2
|
|
258
|
+
DisableAppViews | 0
|
|
259
|
+
DisableCompanyWideSharingLinks | 0
|
|
260
|
+
DisableFlows | 0
|
|
261
|
+
ExcludeBlockDownloadPolicySiteOwners | false
|
|
262
|
+
ExternalUserExpirationInDays | 0
|
|
263
|
+
GroupId | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
264
|
+
HasHolds | false
|
|
265
|
+
HubSiteId | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
266
|
+
IsGroupOwnerSiteAdmin | false
|
|
267
|
+
IsHubSite | false
|
|
268
|
+
IsTeamsChannelConnected | false
|
|
269
|
+
IsTeamsConnected | false
|
|
270
|
+
LastContentModifiedDate | /Date(2023,1,25,23,52,17,163)/
|
|
271
|
+
Lcid | 1033
|
|
272
|
+
LimitedAccessFileType | 0
|
|
273
|
+
ListsShowHeaderAndNavigation | false
|
|
274
|
+
LockState | Unlock
|
|
275
|
+
LoopDefaultSharingLinkRole | 0
|
|
276
|
+
LoopDefaultSharingLinkScope | 0
|
|
277
|
+
LoopOverrideSharingCapability | false
|
|
278
|
+
LoopSharingCapability | 0
|
|
279
|
+
MediaTranscription | 0
|
|
280
|
+
OverrideBlockUserInfoVisibility | 0
|
|
281
|
+
OverrideSharingCapability | false
|
|
282
|
+
OverrideTenantAnonymousLinkExpirationPolicy | false
|
|
283
|
+
OverrideTenantExternalUserExpirationPolicy | false
|
|
284
|
+
Owner | markus@contoso.onmicrosoft.com
|
|
285
|
+
PWAEnabled | 1
|
|
286
|
+
ReadOnlyAccessPolicy | false
|
|
287
|
+
ReadOnlyForBlockDownloadPolicy | false
|
|
288
|
+
ReadOnlyForUnmanagedDevices | false
|
|
289
|
+
RelatedGroupId | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
290
|
+
RequestFilesLinkEnabled | false
|
|
291
|
+
RequestFilesLinkExpirationInDays | 0
|
|
292
|
+
RestrictedAccessControl | false
|
|
293
|
+
RestrictedToRegion | 3
|
|
294
|
+
SandboxedCodeActivationCapability | 0
|
|
295
|
+
SensitivityLabel | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
296
|
+
SetOwnerWithoutUpdatingSecondaryAdmin | false
|
|
297
|
+
SharingCapability | 0
|
|
298
|
+
SharingDomainRestrictionMode | 0
|
|
299
|
+
SharingLockDownCanBeCleared | false
|
|
300
|
+
SharingLockDownEnabled | false
|
|
301
|
+
ShowPeoplePickerSuggestionsForGuestUsers | false
|
|
302
|
+
SiteDefinedSharingCapability | 0
|
|
303
|
+
SocialBarOnSitePagesDisabled | false
|
|
304
|
+
Status | Active
|
|
305
|
+
StorageMaximumLevel | 0
|
|
306
|
+
StorageUsage | 1
|
|
307
|
+
StorageWarningLevel | 25574400
|
|
308
|
+
TeamsChannelType | 0
|
|
309
|
+
Template | SITEPAGEPUBLISHING#0
|
|
310
|
+
TimeZoneId | 13
|
|
311
|
+
Title | team1
|
|
312
|
+
Url | https://contoso.sharepoint.com/sites/team1
|
|
313
|
+
UserCodeMaximumLevel | 300
|
|
314
|
+
UserCodeWarningLevel | 200
|
|
315
|
+
WebsCount | 0
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
</TabItem>
|
|
319
|
+
</Tabs>
|
|
320
|
+
|
|
321
|
+
### `deleted` response
|
|
322
|
+
|
|
323
|
+
When we make use of the `--deleted` option, the response will differ.
|
|
324
|
+
|
|
325
|
+
<Tabs>
|
|
326
|
+
<TabItem value="JSON">
|
|
327
|
+
|
|
328
|
+
```json
|
|
329
|
+
[
|
|
330
|
+
{
|
|
331
|
+
"_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties",
|
|
332
|
+
"_ObjectIdentity_": "b805bfa0-805c-6000-b76d-bc01ecf6c67f|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4\\\nDeletedSiteProperties\\\nhttps%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1",
|
|
333
|
+
"DaysRemaining": 22,
|
|
334
|
+
"DeletionTime": "/Date(2023,3,12,8,9,55,260)/",
|
|
335
|
+
"SiteId": "/Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/",
|
|
336
|
+
"Status": "Recycled",
|
|
337
|
+
"StorageMaximumLevel": 1048576,
|
|
338
|
+
"Url": "https://contoso.sharepoint.com/teams/team1",
|
|
339
|
+
"UserCodeMaximumLevel": 300
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
</TabItem>
|
|
345
|
+
<TabItem value="Text">
|
|
346
|
+
|
|
347
|
+
```text
|
|
348
|
+
Url
|
|
349
|
+
-------------------------------------------------
|
|
350
|
+
https://contoso.sharepoint.com/teams/team1
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
</TabItem>
|
|
354
|
+
<TabItem value="CSV">
|
|
355
|
+
|
|
356
|
+
```csv
|
|
357
|
+
ObjectType,ObjectIdentity,DaysRemaining,DeletionTime,SiteId,Status,StorageMaximumLevel,Url,UserCodeMaximumLevel
|
|
358
|
+
Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties,"fc05bfa0-80db-6000-a541-3d6844d4e148|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4,DeletedSiteProperties,https%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1",22,/Date(2023,3,12,8,9,55,260)/,/Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/,Recycled,1048576,https://contoso.sharepoint.com/teams/team1,300
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
</TabItem>
|
|
362
|
+
<TabItem value="Markdown">
|
|
363
|
+
|
|
364
|
+
```md
|
|
365
|
+
# spo site list --deleted "true"
|
|
366
|
+
|
|
367
|
+
Date: 2023-06-21
|
|
368
|
+
|
|
369
|
+
## https://contoso.sharepoint.com/teams/team1
|
|
370
|
+
|
|
371
|
+
Property | Value
|
|
372
|
+
---------|-------
|
|
373
|
+
\_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties
|
|
374
|
+
\_ObjectIdentity\_ | 3b06bfa0-40fd-6000-c2a5-1ef401300d74\|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4<br>DeletedSiteProperties<br>https%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1
|
|
375
|
+
DaysRemaining | 22
|
|
376
|
+
DeletionTime | /Date(2023,3,12,8,9,55,260)/
|
|
377
|
+
SiteId | /Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/
|
|
378
|
+
Status | Recycled
|
|
379
|
+
StorageMaximumLevel | 1048576
|
|
380
|
+
Url | https://contoso.sharepoint.com/teams/team1
|
|
381
|
+
UserCodeMaximumLevel | 300
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
</TabItem>
|
|
385
|
+
</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 site recyclebinitem list
|
|
4
6
|
|
|
@@ -42,3 +44,81 @@ Lists only files from recycle bin for site _https://contoso.sharepoint.com/site_
|
|
|
42
44
|
```sh
|
|
43
45
|
m365 spo site recyclebinitem list --siteUrl https://contoso.sharepoint.com/site --type files
|
|
44
46
|
```
|
|
47
|
+
|
|
48
|
+
## Response
|
|
49
|
+
|
|
50
|
+
<Tabs>
|
|
51
|
+
<TabItem value="JSON">
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
|
+
"AuthorEmail": "john@contoso.onmicrosoft.com",
|
|
57
|
+
"AuthorName": "John",
|
|
58
|
+
"DeletedByEmail": "john@contoso.onmicrosoft.com",
|
|
59
|
+
"DeletedByName": "John",
|
|
60
|
+
"DeletedDate": "2023-04-20T20:02:08Z",
|
|
61
|
+
"DeletedDateLocalFormatted": "4/20/2023 1:02 PM",
|
|
62
|
+
"DirName": "Lists/Sales",
|
|
63
|
+
"DirNamePath": {
|
|
64
|
+
"DecodedUrl": "Lists/Sales"
|
|
65
|
+
},
|
|
66
|
+
"Id": "7709661a-2923-44d1-8200-5e0e4a625ce7",
|
|
67
|
+
"ItemState": 1,
|
|
68
|
+
"ItemType": 3,
|
|
69
|
+
"LeafName": "2_.000",
|
|
70
|
+
"LeafNamePath": {
|
|
71
|
+
"DecodedUrl": "2_.000"
|
|
72
|
+
},
|
|
73
|
+
"Size": "196",
|
|
74
|
+
"Title": "Test"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
</TabItem>
|
|
80
|
+
<TabItem value="Text">
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
Id Title DirName
|
|
84
|
+
------------------------------------ ------------------------------------------ ---------------------
|
|
85
|
+
7709661a-2923-44d1-8200-5e0e4a625ce7 Test Lists/Sales
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
</TabItem>
|
|
89
|
+
<TabItem value="CSV">
|
|
90
|
+
|
|
91
|
+
```csv
|
|
92
|
+
AuthorEmail,AuthorName,DeletedByEmail,DeletedByName,DeletedDate,DeletedDateLocalFormatted,DirName,Id,ItemState,ItemType,LeafName,Size,Title
|
|
93
|
+
john@contoso.onmicrosoft.com,John,john@contoso.onmicrosoft.com,John,2023-04-20T20:02:08Z,4/20/2023 1:02 PM,Lists/Sales,7709661a-2923-44d1-8200-5e0e4a625ce7,1,3,2_.000,196,Test
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
</TabItem>
|
|
97
|
+
<TabItem value="Markdown">
|
|
98
|
+
|
|
99
|
+
```md
|
|
100
|
+
# spo site recyclebinitem list --siteUrl "https://contoso.sharepoint.com/"
|
|
101
|
+
|
|
102
|
+
Date: 2023-06-21
|
|
103
|
+
|
|
104
|
+
## Test (7709661a-2923-44d1-8200-5e0e4a625ce7)
|
|
105
|
+
|
|
106
|
+
Property | Value
|
|
107
|
+
---------|-------
|
|
108
|
+
AuthorEmail | john@contoso.onmicrosoft.com
|
|
109
|
+
AuthorName | John
|
|
110
|
+
DeletedByEmail | john@contoso.onmicrosoft.com
|
|
111
|
+
DeletedByName | John
|
|
112
|
+
DeletedDate | 2023-04-20T20:02:08Z
|
|
113
|
+
DeletedDateLocalFormatted | 4/20/2023 1:02 PM
|
|
114
|
+
DirName | Lists/Sales
|
|
115
|
+
Id | 7709661a-2923-44d1-8200-5e0e4a625ce7
|
|
116
|
+
ItemState | 1
|
|
117
|
+
ItemType | 3
|
|
118
|
+
LeafName | 2\_.000
|
|
119
|
+
Size | 196
|
|
120
|
+
Title | Test
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
</TabItem>
|
|
124
|
+
</Tabs>
|
|
@@ -29,3 +29,7 @@ Restore specific items by given ids from recycle bin for site _https://contoso.s
|
|
|
29
29
|
```sh
|
|
30
30
|
m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com/site --ids "ae6f97a7-280e-48d6-b481-0ea986c323da,aadbf916-1f71-42ee-abf2-8ee4802ae291"
|
|
31
31
|
```
|
|
32
|
+
|
|
33
|
+
## Response
|
|
34
|
+
|
|
35
|
+
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 site rename
|
|
4
6
|
|
|
@@ -63,3 +65,93 @@ Renames the specified site collection and waits for the operation to complete
|
|
|
63
65
|
```sh
|
|
64
66
|
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title" --wait
|
|
65
67
|
```
|
|
68
|
+
|
|
69
|
+
## Response
|
|
70
|
+
|
|
71
|
+
<Tabs>
|
|
72
|
+
<TabItem value="JSON">
|
|
73
|
+
|
|
74
|
+
```json
|
|
75
|
+
{
|
|
76
|
+
"odata.metadata": "https://contoso-admin.sharepoint.com/_api/$metadata#SP.ApiData.SiteRenameJobEntityDatas/@Element",
|
|
77
|
+
"odata.type": "Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob",
|
|
78
|
+
"odata.id": "https://contoso-admin.sharepoint.com/_api/onboardingservicesbeta/siterenamejobs",
|
|
79
|
+
"odata.editLink": "onboardingservicesbeta/siterenamejobs",
|
|
80
|
+
"Option": 0,
|
|
81
|
+
"Reserve": null,
|
|
82
|
+
"OperationId": "00000000-0000-0000-0000-000000000000",
|
|
83
|
+
"SkipGestures": "",
|
|
84
|
+
"SourceSiteUrl": "https://contoso.sharepoint.com/sites/team1",
|
|
85
|
+
"TargetSiteTitle": null,
|
|
86
|
+
"TargetSiteUrl": "https://contoso.sharepoint.com/sites/team2",
|
|
87
|
+
"ErrorCode": 0,
|
|
88
|
+
"ErrorDescription": null,
|
|
89
|
+
"JobId": "ec3c9add-8b39-4355-b3c7-22f81331f897",
|
|
90
|
+
"JobState": "NotStarted",
|
|
91
|
+
"ParentId": "00000000-0000-0000-0000-000000000000",
|
|
92
|
+
"SiteId": "ffdab06c-3df6-4e60-a46a-fc8a51f32be3",
|
|
93
|
+
"TriggeredBy": "john@contoso.onmicrosoft.com"
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
</TabItem>
|
|
98
|
+
<TabItem value="Text">
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
ErrorCode : 0
|
|
102
|
+
ErrorDescription: null
|
|
103
|
+
JobId : fc326673-83c4-4fbc-bd7b-e561ec30de83
|
|
104
|
+
JobState : NotStarted
|
|
105
|
+
OperationId : 00000000-0000-0000-0000-000000000000
|
|
106
|
+
Option : 0
|
|
107
|
+
ParentId : 00000000-0000-0000-0000-000000000000
|
|
108
|
+
Reserve : null
|
|
109
|
+
SiteId : 754383f6-cf1e-4e55-8761-e1d2c4f5319b
|
|
110
|
+
SkipGestures :
|
|
111
|
+
SourceSiteUrl : https://contoso.sharepoint.com/sites/team1
|
|
112
|
+
TargetSiteTitle : null
|
|
113
|
+
TargetSiteUrl : https://contoso.sharepoint.com/sites/team2
|
|
114
|
+
TriggeredBy : john@contoso.onmicrosoft.com
|
|
115
|
+
odata.editLink : onboardingservicesbeta/siterenamejobs
|
|
116
|
+
odata.id : https://contoso-admin.sharepoint.com/_api/onboardingservicesbeta/siterenamejobs
|
|
117
|
+
odata.metadata : https://contoso-admin.sharepoint.com/_api/$metadata#SP.ApiData.SiteRenameJobEntityDatas/@Element
|
|
118
|
+
odata.type : Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
</TabItem>
|
|
122
|
+
<TabItem value="CSV">
|
|
123
|
+
|
|
124
|
+
```csv
|
|
125
|
+
odata.metadata,odata.type,odata.id,odata.editLink,Option,OperationId,SkipGestures,SourceSiteUrl,TargetSiteUrl,ErrorCode,JobId,JobState,ParentId,SiteId,TriggeredBy
|
|
126
|
+
https://contoso-admin.sharepoint.com/_api/$metadata#SP.ApiData.SiteRenameJobEntityDatas/@Element,Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob,https://contoso-admin.sharepoint.com/_api/onboardingservicesbeta/siterenamejobs,onboardingservicesbeta/siterenamejobs,0,00000000-0000-0000-0000-000000000000,,https://contoso.sharepoint.com/sites/team1,https://contoso.sharepoint.com/sites/team2,0,5ff99cdd-0a71-41e4-9ffa-055cd1462fe8,NotStarted,00000000-0000-0000-0000-000000000000,2f7623fb-cae9-40de-b0f4-59b0bc545982,john@contoso.onmicrosoft.com
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
</TabItem>
|
|
130
|
+
<TabItem value="Markdown">
|
|
131
|
+
|
|
132
|
+
```md
|
|
133
|
+
# spo site rename --url "https://contoso.sharepoint.com/sites/team1" --newUrl "https://contoso.sharepoint.com/sites/team2"
|
|
134
|
+
|
|
135
|
+
Date: 2023-06-21
|
|
136
|
+
|
|
137
|
+
Property | Value
|
|
138
|
+
---------|-------
|
|
139
|
+
odata.metadata | https://contoso-admin.sharepoint.com/\_api/$metadata#SP.ApiData.SiteRenameJobEntityDatas/@Element
|
|
140
|
+
odata.type | Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob
|
|
141
|
+
odata.id | https://contoso-admin.sharepoint.com/\_api/onboardingservicesbeta/siterenamejobs
|
|
142
|
+
odata.editLink | onboardingservicesbeta/siterenamejobs
|
|
143
|
+
Option | 0
|
|
144
|
+
OperationId | 00000000-0000-0000-0000-000000000000
|
|
145
|
+
SkipGestures |
|
|
146
|
+
SourceSiteUrl | https://contoso.sharepoint.com/sites/team1
|
|
147
|
+
TargetSiteUrl | https://contoso.sharepoint.com/sites/team2
|
|
148
|
+
ErrorCode | 0
|
|
149
|
+
JobId | 9857a6ba-d1ae-481f-96eb-3a3172659502
|
|
150
|
+
JobState | NotStarted
|
|
151
|
+
ParentId | 00000000-0000-0000-0000-000000000000
|
|
152
|
+
SiteId | c0dd6f7a-5998-49a4-847f-c2b5d247d5e2
|
|
153
|
+
TriggeredBy | john@contoso.onmicrosoft.com
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
</TabItem>
|
|
157
|
+
</Tabs>
|
|
@@ -28,6 +28,9 @@ m365 spo site set [options]
|
|
|
28
28
|
`--disableFlows [disableFlows]`
|
|
29
29
|
: Set to `true` to disable using Microsoft Flow in this site collection
|
|
30
30
|
|
|
31
|
+
`--socialBarOnSitePagesDisabled [socialBarOnSitePagesDisabled]`
|
|
32
|
+
: Set to `true` to disable Social Bar for the site collection
|
|
33
|
+
|
|
31
34
|
`--isPublic [isPublic]`
|
|
32
35
|
: Set to `true` to make the group linked to the site public or to `false` to make it private
|
|
33
36
|
|
|
@@ -121,6 +124,12 @@ Disable using Microsoft Flow on the site collection
|
|
|
121
124
|
m365 spo site set --url https://contoso.sharepoint.com/sites/sales --disableFlows true
|
|
122
125
|
```
|
|
123
126
|
|
|
127
|
+
Disable Social Bar for the site collection
|
|
128
|
+
|
|
129
|
+
```sh
|
|
130
|
+
m365 spo site set --url https://contoso.sharepoint.com/sites/sales --socialBarOnSitePagesDisabled true
|
|
131
|
+
```
|
|
132
|
+
|
|
124
133
|
Update the visibility of the Microsoft 365 group behind the specified groupified site collection to public
|
|
125
134
|
|
|
126
135
|
```sh
|
|
@@ -180,3 +189,7 @@ Lock the site preventing users from accessing it. Wait for the configuration to
|
|
|
180
189
|
```sh
|
|
181
190
|
m365 spo site set --url https://contoso.sharepoint.com/sites/team --LockState NoAccess --wait
|
|
182
191
|
```
|
|
192
|
+
|
|
193
|
+
## Response
|
|
194
|
+
|
|
195
|
+
The command won't return a response on success.
|