Table of Contents

Get-PnPSiteSensitivityLabel

SYNOPSIS

Gets the Microsoft Purview sensitivity label that is set on the connected to site

SYNTAX

Get-PnPSiteSensitivityLabel [-Connection <PnPConnection>] 

DESCRIPTION

This cmdlet allows retrieval of the currently assigned Microsoft Purview sensitivity label to the currently connected to site.

EXAMPLES

EXAMPLE 1

Get-PnPSiteSensitivityLabel

Returns the Microsoft Purview sensitivity label set on the currently connected to 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

Microsoft 365 Patterns and Practices Microsoft Docs documentation