Skip to content

Commit 48e0250

Browse files
authored
Merge pull request MicrosoftDocs#2190 from KoenZomers/patch-2
Docfix for DisabledWebPartIds in Set-SPOTenant
2 parents 5b41f67 + 3d25a44 commit 48e0250

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Set-SPOTenant [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
2525
[-StartASiteFormUrl <String>] [-UsePersistentCookiesForExplorerView <Boolean>]
2626
[-CommentsOnSitePagesDisabled <Boolean>] [-SocialBarOnSitePagesDisabled <Boolean>]
2727
[-DefaultSharingLinkType <SharingLinkType>]
28-
[-DisableWebPartIds <Guid>]
28+
[-DisabledWebPartIds <Guid>]
2929
[-DisallowInfectedFileDownload <Boolean>] [-EnableGuestSignInAcceleration <Boolean>]
3030
[-FileAnonymousLinkType <AnonymousLinkType>] [-FolderAnonymousLinkType <AnonymousLinkType>]
3131
[-IPAddressAllowList <String>] [-IPAddressEnforcement <Boolean>] [-IPAddressWACTokenLifetime <Int32>]
@@ -615,11 +615,12 @@ PARAMVALUE: <Guid>[,<Guid>,...]
615615
616616
Allows administrators prevent certain, specific web parts from being added to pages or rendering on pages on which they were previously added. Only web parts that utilize third-party services (Amazon Kindle, YouTube, Twitter) can be disabled in such a manner.
617617
618-
To disable a specific web part you need to enter its GUID as the parameter: Amazon Kindle (46698648-fcd5-41fc-9526-c7f7b2ace919), YouTube (544dd15b-cf3c-441b-96da-004d5a8cea1d), Twitter (f6fdf4f8-4a24-437b-a127-32e66a5dd9b4)
618+
To disable a specific web part you need to enter its GUID as the parameter: Amazon Kindle (46698648-fcd5-41fc-9526-c7f7b2ace919), YouTube (544dd15b-cf3c-441b-96da-004d5a8cea1d), Twitter (f6fdf4f8-4a24-437b-a127-32e66a5dd9b4).
619619
620620
You can enter in multiple GUIDs by using a comma to separate them. To view a list of disabled web parts, use Get-SPOTenant to get DisabledWebPartIds.
621621
622622
To re-enable some disabled web parts, use the Set-SPOTenant with the -DisabledWebPartIds parameter and corresponding GUIDs that you still want to keep disabling. To re-enable all disabled web parts, use Set-SPOTenant -DisabledWebPartIds @().
623+
623624
624625
```yaml
625626
Type: Guid[]

0 commit comments

Comments
 (0)