Idle Session Signout for SharePoint and OneDrive for Business

New policy - idle session sign-out will be available worldwide by the end of July, 2018.

New feature allows to configure automatically sing out users in SharePoint Online and OneDrive for Business on unmanaged or non-compliance devices.

How to implement

This policy is configured using Microsoft PowerShell.

1. Download SharePoint Online Management Shell.

2. Run the following command at the SPO Management Shell:

Connect-SPOService -Url https://{YourTenantName}
Set-SPOBrowserIdleSignOut -Enabled $true -WarnAfter (New-TimeSpan -Minutes 30) -SignOutAfter (New-TimeSpan -Minutes 35)

That's it!

How it works

After the -WarnAfter time users is notified that they will be signed out.

Signed out notification:

Additional information

Sign out inactive users