Sign-in & Login Problems

How to Prevent Users from Signing In or Out of Microsoft 365 Apps

Rana GarciaRana Garcia Oct 26, 2026 868 views

Question details

Administrators want to restrict users from signing out or switching accounts within Office desktop applications.

How to Prevent Users from Signing In or Out of Microsoft 365 Apps
Product
Microsoft 365
Device & OS
not provided
Scenario
IT administrators need to lock down the user identity within Office apps, preventing users from hiding behind different accounts or logging out of the authorized organizational account in the same domain.
Observed behavior
The Sign In and Sign Out buttons remain visible and functional in Word, Excel, and PowerPoint, allowing users to switch accounts even when external tenant restrictions are applied.
Before you start

Ensure you have Global Administrator or Security Administrator privileges in your Microsoft Entra ID (formerly Azure AD) portal to create and enforce security policies.

Solution 1Recommended

Use Conditional Access Policies as a Workaround

Since the sign-out control cannot be natively hidden, applying a Conditional Access policy ensures unauthorized logins are blocked based on device compliance or location.

Currently, Microsoft 365 applications do not offer a native Group Policy or registry setting to completely remove or disable the Sign In and Sign Out buttons in the user interface.

As a reliable workaround, administrators can enforce Conditional Access policies. This ensures that even if users sign out or attempt to sign in with an alternate account in the same domain, they cannot access corporate Office services unless they are on an approved device or corporate network.

1
Access Microsoft Entra ID

Navigate to the Microsoft Entra admin center (entra.microsoft.com) and log in using your administrator credentials.

2
Open Conditional Access

In the left-hand navigation pane, expand the 'Protection' menu and click on 'Conditional Access'.

3
Create a New Policy

Click on 'Create new policy'. Give your policy a descriptive name, and assign it to the specific users or groups you wish to restrict.

4
Target Microsoft 365 Services

Under 'Target resources', select 'Cloud apps', then choose 'Select apps' and add 'Office 365' to the policy scope.

5
Configure Access Controls

Under 'Conditions', define your approved locations or required device states. Under 'Grant', choose 'Block access' to deny entry for any sign-ins that do not meet your strict organizational requirements.

Use Conditional Access Policies as a Workaround
Submit Feedback to Microsoft: Because completely hiding the sign-in/out UI is a frequent enterprise request, it is highly recommended to submit feedback to Microsoft through the official Feedback portal to request a dedicated GPO for this feature.
Free Microsoft Office alternative

Try WPS Office for a Simplified Office Experience

If managing complex Microsoft 365 enterprise policies is becoming cumbersome, consider WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative for your document processing needs without the steep administrative overhead.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Suite: Run the downloaded installer and follow the simple on-screen prompts to set up WPS Office on your device.
  3. 3. Open and Edit Files: Launch WPS Office and open your existing Microsoft Office documents directly; no complex account switching is required to edit local files.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Seamless software migration for teams without the burden of complex sign-in management.Lightweight installation with a familiar, easy-to-use tabbed interface.Free to use for everyday document creation and editing tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Can I completely hide the Sign In button in Word or Excel?

No, Microsoft does not currently provide a native setting or Group Policy Object (GPO) to completely hide the Sign In or Sign Out buttons within the desktop applications.

Do Tenant Restrictions prevent users from signing into other accounts?

Tenant Restrictions only prevent users from authenticating to external organizations (other tenants). They do not stop users from signing out and switching to a different account within the same domain.

How can I enforce secure sign-ins for Microsoft 365 apps?

The most robust method is using Microsoft Entra Conditional Access policies. This allows administrators to require multi-factor authentication (MFA) or restrict logins exclusively to trusted locations and compliant company devices.