Exchange 2019 Owa/ecp session timeout configuration

超 邓 217 Reputation points
2024-05-27T07:54:35.5433333+00:00

HI ,

May I ask why the Exchange 2019 session timeout configuration does not take effect?

Set-OrganizationConfig -ActivityBasedAuthenticationTimeoutInterval 00:15:00

User's image

Exchange | Exchange Server | Management
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Hu-MSFT 4,145 Reputation points Microsoft External Staff
    2024-05-28T08:02:56.58+00:00

    Hi,邓超

    Welcome to the Microsoft forum.

    Based on your description, maybe you need to set the ActivityBasedAuthenticationTimeoutEnabled or ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled parameter value to $true.When the two parameter’s value are both $false,it will not work even if you had set the ActivityBasedAuthenticationTimeoutInterval value.

    Please try to run the following command:

    Set-OrganizationConfig – ActivityBasedAuthenticationTimeoutEnabled $true.

    More information about these parameters,you can refer to Set-OrganizationConfig (ExchangePowerShell) | Microsoft Learn.

    If the value is already been set to $true ,but stll does not work,maybe you need to run:

    Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\MSExchange OWA" -Name PrivateTimeout -Value 15 -Type DWORD

    Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\MSExchange OWA" -Name PublicTimeout -Value 15 -Type DWORD

    More details refer to: Exchange admin tip: Configure timeout settings for Outlook on the Web (techgenix.com)

    And it is mentioned that “in January 2024, Microsoft started retiring activity-based authentication timeout for Outlook on the web” in this link : Activity-based authentication timeout for Outlook on the web in Office 365 - Microsoft Support.

    I hope this helps.Please feel free to contact me for any updates.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.