Commands › SharePoint Online

Remove-SPOFileRequestBrandingProfile

SharePoint Online Microsoft.Online.SharePoint.PowerShell Remove-*

Removes a branding profile (either primary or secondary) configured for the file request feature across the tenant.

Quick start script

# Remove-SPOFileRequestBrandingProfile — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SPOFileRequestBrandingProfile
$before | Format-List

# 3. Make the change
Remove-SPOFileRequestBrandingProfile

# 4. Verify and diff
$after = Get-SPOFileRequestBrandingProfile
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Remove-SPOFileRequestBrandingProfile [-Primary] [-Secondary] 
[<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Primary SwitchParameter Specifies the absolute URL of the asset library containing the branding assets.
-Secondary SwitchParameter Specifies the relative URL of the logo image file.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.