| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/remove-spofilerequestbrandingprofile |
| applicable | SharePoint Online |
| title | Remove-SPOFileRequestBrandingProfile |
| author | nabeelnaiyer |
| ms.author | nabeelnaiyer |
| ms.reviewer | |
| manager | ahackett |
| schema | 2.0.0 |
Removes a branding profile (either primary or secondary) configured for the file request feature across the tenant.
Remove-SPOFileRequestBrandingProfile [-Primary] [-Secondary]
[<CommonParameters>]
This cmdlet deletes either the primary or secondary branding profile associated with the file request feature. You must specify exactly one of the -Primary or -Secondary switches to indicate which profile to remove. If both switches are used or neither is specified, the cmdlet will throw an error.
Note
If you remove the primary profile and a secondary profile exists, the secondary profile will automatically be promoted to primary. This ensures that the file request feature always has a primary branding profile if one is available.
Remove-SPOFileRequestBrandingProfile -PrimaryThis example removes the primary branding profile that was previously configured for file request pages in the tenant. If a secondary branding profile exists, it will automatically be promoted to primary after this command completes.
Remove-SPOFileRequestBrandingProfile -SecondaryThis example removes the secondary branding profile that was previously configured for file request pages in the tenant.
Specifies the absolute URL of the asset library containing the branding assets.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the relative URL of the logo image file.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Add-SPOFileRequestBrandingProfile