diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index ea19d7fa2..b65e601ec 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -55,7 +55,8 @@ Set-SPOTenant [-SocialBarOnSitePagesDisabled ] [-DefaultLinkPermission ] [-DefaultSharingLinkType ] - [-DisabledWebPartIds ] + [-DisabledWebPartIds [Guid[]]] + [-DisabledAdaptiveCardExtensionIds [Guid[]]] [-DisallowInfectedFileDownload ] [-DisableAddShortcutsToOneDrive ] [-EnableGuestSignInAcceleration ] @@ -363,6 +364,13 @@ Set-SPOTenant –WhoCanShareAnonymousAllowList @() This example empties the WhoCanShareAnonymousAllowList. Similar code works for the WhoCanShareAuthenticatedGuestAllowList. +### EXAMPLE 21 +```powershell +Set-SPOTenant -DisabledAdaptiveCardExtensionIds 0d2d0fd0-9489-47ef-acfb-90edca009cba +``` + +This example disables the Power Apps Adaptive Card Extension. + ## PARAMETERS ### -ApplyAppEnforcedRestrictionsToAdHocRecipients @@ -1094,6 +1102,30 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -DisabledAdaptiveCardExtensionIds + +Allows administrators to prevent certain Adaptive Card Extensions from being added to pages or rendering on pages on which they were previously added. Currently, only the following Adaptive Card Extensions can be disabled in such a manner: + +| Adaptive Card Extension Name | GUID | +|---|---| +| Power Apps | 0d2d0fd0-9489-47ef-acfb-90edca009cba | + +To disable a specific Adaptive Card Extension, you need to enter its GUID as the parameter. To view a list of disabled Adaptive Card Extensions, use [Get-SPOTenant](Get-SPOTenant.md) to get `DisabledAdaptiveCardExtensionIds`. + +To re-enable some disabled Adaptive Card Extensions, use the `Set-SPOTenant` with the `-DisabledAdaptiveCardExtensionIds` parameter and corresponding GUIDs that you still want to keep disabling. To re-enable all disabled Adaptive Card Extensions, use `Set-SPOTenant -DisabledAdaptiveCardExtensionIds @()`. + +```yaml +Type: Guid[] +Parameter Sets: (All) +Aliases: +Applicable: SharePoint Online +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DisallowInfectedFileDownload Prevents the Download button from being displayed on the Virus Found warning page.