Skip to content
theDXT
  • Home
  • IT
  • Scripts
  • GitHub
  • LinkedIn
  • X (Twitter)
  • Search Icon
Microsoft 365 Remove Stay Signed In Option

Microsoft 365 Remove Stay Signed In Option

August 4, 2024

Microsoft 365’s Stay signed in option is designed for user convenience but can increase security risks when used on public or non-corporately owned devices. The risk is due to the potential for unauthorized access to the user’s account and the resources they have access to.

The Stay signed in option presented to users

The stay signed in option, also known as KMSI (Keep Me Signed In), stores a cookie on the device for around 90 days when the user selects Yes to KMSI. When the cookie’s lifetime is active, users will see fewer prompts to log in with their Microsoft 365 account and fewer MFA prompts, this can pose a security risk on shared or public devices.

For corporate devices that are Microsoft Entra joined or Microsoft Entra Hybrid joined, the impact of removing the stay signed in option is minimal, as these devices already participate in Microsoft Entra SSO, which reduces the number of times users need to log in with their Microsoft 365 account when accessing Microsoft 365 web resources.

Turning off the stay signed in option in Microsoft 365 can help reduce your attack surface. This helps prevent users from accidentally selecting Yes to KMSI and can positively impact an audit or penetration test.

In this post, I will show you step-by-step how to remove the Stay signed in? option in Microsoft 365.

The Process

  • Login to Microsoft Entra admin center.
  • Click on Identity > Users > User settings
  • Under Show keep user signed in, set the Show keep user signed in option to No.
  • Save the changes.

The change takes a few minutes to take effect. Once the changes are live the users will no longer see the Stay signed in option when they log in.

If you want to read more about managing the stay signed in option, here is the Microsoft documentation.

Related posts:

Control Microsoft 365 Group Creation Microsoft 365 Passkey Setup Microsoft 365 Setup Microsoft Graph PowerShell SDK Microsoft 365 Sign-in Page Branding

IT
Azure AD, Customize, Entra ID, EUC, Hardening, How To, Microsoft, Microsoft 365, Office 365, security, SSO

Post navigation

PREVIOUS
Palo Alto User-ID Agent Upgrade
NEXT
Entra ID External Authentication Methods with Duo

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

About Me

Daniel Keer

Project Lead, Senior Consultant at Digitally Accurate Inc.

Awards and Certificates
VMware vExpert ⭐⭐⭐
Omnissa Tech Insider ⭐⭐

Consulting

Stuck on something? Reach out to Digitally Accurate Inc. and we can provide expert IT consulting to help you move forward.

  • Veeam Backup & Replication 13 Windows Install
  • Enable Windows 10 Extended Security Updates
  • slmgr.vbs
  • CyberChef
  • Install or Upgrade Duo Authentication for Windows Logon
© 2026   Copyright. All Rights Reserved.