Search Results for

    Show / Hide Table of Contents

    Set-PnPHomeSite

    SYNOPSIS

    Required Permissions

    • SharePoint: Access to the SharePoint Tenant Administration site

    Sets the home site for your tenant. The home site needs to be a communication site.

    SYNTAX

    Set-PnPHomeSite -HomeSiteUrl <String> [VivaConnectionsDefaultStart <SwitchParameter>] [-Connection <PnPConnection>] 
    

    DESCRIPTION

    Allows to set the home site of the current tenant.

    EXAMPLES

    EXAMPLE 1

    Set-PnPHomeSite -HomeSiteUrl "https://yourtenant.sharepoint.com/sites/myhome"
    

    Sets the home site to the provided site collection url

    EXAMPLE 2

    Set-PnPHomeSite -HomeSiteUrl "https://yourtenant.sharepoint.com/sites/myhome" -VivaConnectionsDefaultStart:$true
    

    Sets the home site to the provided site collection url and keeps the Viva Connections landing experience to the SharePoint home site.

    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
    

    -HomeSiteUrl

    The url of the site to set as the home site

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

    -VivaConnectionsDefaultStart

    When set to $true, the VivaConnectionsDefaultStart parameter will keep the Viva Connections landing experience to the SharePoint home site. If set to $false the Viva Connections home experience will be used.

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

    RELATED LINKS

    Microsoft 365 Patterns and Practices Set up a home site for your organization Customize and edit the Viva Connections home experience

    Back to top Generated by DocFX spacer