Search Results for

    Show / Hide Table of Contents

    Set-PnPTemporarilyDisableAppBar

    SYNOPSIS

    Required Permissions

    • SharePoint: Access to the SharePoint Tenant Administration site

    Allows the SharePoint Online App Bar to be disabled. It may take some time for the change to be reflected in SharePoint Online. Support for this may be dropped after March 31st, 2023 after which the SharePoint Online App Bar will become visible anyway. See the Message Center Announcement on this for more information.

    SYNTAX

    Set-PnPTemporarilyDisableAppBar -Enabled <Boolean>  [-Connection <PnPConnection>] 
    

    DESCRIPTION

    Allows to disable/enable SharePoint Online App Bar.

    EXAMPLES

    EXAMPLE 1

    Set-PnPTemporarilyDisableAppBar $true
    

    Hides the SharePoint Online App Bar.

    EXAMPLE 2

    Set-PnPTemporarilyDisableAppBar $false
    

    Shows the SharePoint Online App Bar.

    PARAMETERS

    -Connection

    Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

    Type: PnPConnection
    Parameter Sets: (All)
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Enabled

    Specifies whether to show or hide SharePoint Online App Bar.

    Type: Boolean
    Parameter Sets: (All)
    
    Required: True
    Position: Named
    Default value: True
    Accept pipeline input: True
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer