Remove-SPOFileRequestBrandingProfile
Removes a branding profile (either primary or secondary) configured for the file request feature across the tenant.
Syntax
Default (Default)
Remove-SPOFileRequestBrandingProfile
[-Primary]
[-Secondary]
[<CommonParameters>]
Description
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.
Examples
Example 1
Remove-SPOFileRequestBrandingProfile -Primary
This 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.
Example 2
Remove-SPOFileRequestBrandingProfile -Secondary
This example removes the secondary branding profile that was previously configured for file request pages in the tenant.
Parameters
-Primary
Specifies the absolute URL of the asset library containing the branding assets.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Secondary
Specifies the relative URL of the logo image file.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.