Office 365 Session Timeout Configuration

Office 365 session timeout configuration helps you control the behavior of a session when a user is accessing services. When a user is authenticated to Office 365 app, a session is established. During the session, user don’t have to re-authenticate to the app. Session can only expire when you’re either inactive, closed the browser/tab, token expires or a password has been reset. Office 365 support different timeout settings for each web app as shown below.

Office 365 Session Timeout Configuration 2

These are the default timeout settings of office 365 taken from Office 365 support website.

Office 365 Session Timeout Configuration

Below are the steps to modify the office 365 OWA session timeout configuration.

  • Connect with exchange online using Global Admin credentials. You can use PowerShell function to connect with Exchange online found at TechNet Gallery.
  • Once you’re connected with Exchange online powershell, run Get-OrganizationConfig > OrgConfig.txt to backup your existing OrganizationConfigurations in a TXT file.

2

  • Once you’ve the backup of your existing configuration, Run Set-OrganizationConfig -ActivityBasedAuthenticationTimeoutInterval 00:45:00

Office 365 Session Timeout Configuration

We’ve now successfully configured the session timeout settings to 45 minutes. For more information on Set-OrganizationConfig cmdlet can be found on MSDN.