Commands › SharePoint Online

Set-SPOBrowserIdleSignOut

SharePoint Online Microsoft.Online.SharePoint.PowerShell Set-*

Sets the current configuration values for Idle session sign-out.

Quick start script

# Set-SPOBrowserIdleSignOut — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SPOBrowserIdleSignOut
$before | Format-List

# 3. Make the change
Set-SPOBrowserIdleSignOut -Enabled <Boolean>

# 4. Verify and diff
$after = Get-SPOBrowserIdleSignOut
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Set-SPOBrowserIdleSignOut -Enabled <Boolean> [-WarnAfter <TimeSpan>] [-SignOutAfter <TimeSpan>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Enabled Boolean yes Enables the browser idle sign-out policy
-SignOutAfter TimeSpan Specifies a time interval. This parameter is used to specify a time value for **Get-SPOBrowserIdleSignOut** parameters such as *SignOutAfter*. Specify the time interval in the following format:
-WarnAfter TimeSpan Specifies a time interval. This parameter is used to specify a time value for **Get-SPOBrowserIdleSignOut** parameters such as *WarnAfter*. Specify the time interval in the following format:

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.