Search Results for

    Show / Hide Table of Contents

    Revoke-PnPUserSession

    SYNOPSIS

    Required Permissions

    • SharePoint: Access to the SharePoint Tenant Administration site

    Provides IT administrators the ability to logout a user's O365 sessions across all their devices.

    SYNTAX

    Revoke-PnPUserSession -User <String>
        [-WhatIf]
        [-Confirm]
    

    DESCRIPTION

    User will be signed out of browser, desktop and mobile applications accessing Office 365 resources across all devices.

    It is not applicable to guest users.

    EXAMPLES

    EXAMPLE 1

    Revoke-PnPUserSession -User user1@contoso.com
    

    This example signs out user1 in the contoso tenancy from all devices.

    PARAMETERS

    -User

    Specifies a user name. For example, user1@contoso.com

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

    -WhatIf

    Shows what would happen if the cmdlet runs. The cmdlet is not run.

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

    -Confirm

    Prompts you for confirmation before running the cmdlet.

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

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer