Get-PnPPersistedLogin
SYNOPSIS
Lists persisted login cache registrations
SYNTAX
Get-PnPPersistedLogin [-Verbose]
DESCRIPTION
Returns the SharePoint tenant URL, client ID and authentication type for every login registered to use the local token cache by Connect-PnPOnline -PersistLogin. The encrypted tokens themselves are not returned.
The AuthenticationType property identifies delegated and certificate-based app-only logins. The Enabled property is True for every returned registration; disabled registrations are not returned. An empty result means no persisted logins are registered for the current operating-system user.
EXAMPLES
EXAMPLE 1
Get-PnPPersistedLogin
Lists all persisted login cache registrations for the current operating-system user.
PARAMETERS
-Verbose
When provided, additional debug statements will be shown while executing the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False