Skip to content

Commit 925349c

Browse files
Merge pull request #768 from supsing0/disabledACEDocs
Add docs for Disabled Adaptive Card Extension Ids
2 parents a1c6edd + 53c8a48 commit 925349c

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

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

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ Set-SPOTenant
5555
[-SocialBarOnSitePagesDisabled <Boolean>]
5656
[-DefaultLinkPermission <SharingPermissionType>]
5757
[-DefaultSharingLinkType <SharingLinkType>]
58-
[-DisabledWebPartIds <Guid>]
58+
[-DisabledWebPartIds [Guid[]]]
59+
[-DisabledAdaptiveCardExtensionIds [Guid[]]]
5960
[-DisallowInfectedFileDownload <Boolean>]
6061
[-DisableAddShortcutsToOneDrive <Boolean>]
6162
[-EnableGuestSignInAcceleration <Boolean>]
@@ -363,6 +364,13 @@ Set-SPOTenant –WhoCanShareAnonymousAllowList @()
363364

364365
This example empties the WhoCanShareAnonymousAllowList. Similar code works for the WhoCanShareAuthenticatedGuestAllowList.
365366

367+
### EXAMPLE 21
368+
```powershell
369+
Set-SPOTenant -DisabledAdaptiveCardExtensionIds 0d2d0fd0-9489-47ef-acfb-90edca009cba
370+
```
371+
372+
This example disables the Power Apps Adaptive Card Extension.
373+
366374
## PARAMETERS
367375

368376
### -ApplyAppEnforcedRestrictionsToAdHocRecipients
@@ -1094,6 +1102,30 @@ Accept pipeline input: False
10941102
Accept wildcard characters: False
10951103
```
10961104
1105+
### -DisabledAdaptiveCardExtensionIds
1106+
1107+
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:
1108+
1109+
| Adaptive Card Extension Name | GUID |
1110+
|---|---|
1111+
| Power Apps | 0d2d0fd0-9489-47ef-acfb-90edca009cba |
1112+
1113+
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`.
1114+
1115+
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 @()`.
1116+
1117+
```yaml
1118+
Type: Guid[]
1119+
Parameter Sets: (All)
1120+
Aliases:
1121+
Applicable: SharePoint Online
1122+
Required: False
1123+
Position: Named
1124+
Default value: None
1125+
Accept pipeline input: False
1126+
Accept wildcard characters: False
1127+
```
1128+
10971129
### -DisallowInfectedFileDownload
10981130

10991131
Prevents the Download button from being displayed on the Virus Found warning page.

0 commit comments

Comments
 (0)