5.1.2.5 Ensure the option to remain signed in is hidden

Information

The option for the user to Stay signed in, or the Keep me signed in option, will prompt a user after a successful login. When the user selects this option, a persistent refresh token is created. The refresh token lasts for 90 days by default and does not prompt for sign-in or multifactor.

Rationale:

Allowing users to select this option presents risk, especially if the user signs into their account on a publicly accessible computer/web browser. In this case it would be trivial for an unauthorized person to gain access to any associated cloud data from that account.

Impact:

Once this setting is hidden users will no longer be prompted upon sign-in with the message Stay signed in?. This may mean users will be forced to sign in more frequently. Important: some features of SharePoint Online and Office 2010 have a dependency on users remaining signed in. If you hide this option, users may get additional and unexpected sign in prompts.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

To disable the option to remain signed in:

Navigate to Microsoft Entra admin center https://entra.microsoft.com/.

Click to expand Identity> Users > User settings.

Set Show keep user signed in to No.

Click Save.

Default Value:

Users may select stay signed in

See Also

https://workbench.cisecurity.org/benchmarks/15279

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv7|16.3

Plugin: microsoft_azure

Control ID: 948ba1d00130709c00fbb17fe3f32fdbdd864dd80866da780f2eff01f018c480