Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for Disabled Adaptive Card Extension Ids #768

Merged
merged 3 commits into from
Dec 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ Set-SPOTenant
[-SocialBarOnSitePagesDisabled <Boolean>]
[-DefaultLinkPermission <SharingPermissionType>]
[-DefaultSharingLinkType <SharingLinkType>]
[-DisabledWebPartIds <Guid>]
[-DisabledWebPartIds [Guid[]]]
[-DisabledAdaptiveCardExtensionIds [Guid[]]]
[-DisallowInfectedFileDownload <Boolean>]
[-DisableAddShortcutsToOneDrive <Boolean>]
[-EnableGuestSignInAcceleration <Boolean>]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
Loading