Microsoft 365 5 minutes

Security & Good Practice

Signing Out of Shared or Public Devices

This guide explains how to properly sign out of your Microsoft 365 account on any device that is not yours — including shared work computers, hotel business centres, and borrowed laptops.

Illustration of a professional reviewing a suspicious email beside protected devices
A visual cue for safe everyday technology habits.

Time needed

5 minutes

Platform

Microsoft 365

Guide steps

3 clear sections

Before you begin

You are signed in to Microsoft 365 on a device that is shared or not your own.

Follow along

Step-by-step guide

01

Sign out of Microsoft 365 on the web (any browser)

  1. Instruction 1: Go to portal.office.com or any Microsoft 365 web app.
  2. Instruction 2: Click your profile picture or initials in the top-right corner.
  3. Instruction 3: Click Sign out.
  4. Instruction 4: Close every browser tab related to Microsoft 365.
  5. Instruction 5: Consider clearing the browser's browsing data (history, cookies, saved passwords) if this is a public or shared computer: in most browsers, press Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac) and clear the data for the last session.

Action map

Sign out of Microsoft 365 on the web (any browser)

  1. 01

    Go to portal.office.com or any Microsoft 365 web app.

  2. 02

    Click your profile picture or initials in the top-right corner.

  3. 03

    Click Sign out.

Visual guide

Use this visual action map alongside the written instructions above.

Open Microsoft security guidance for Signing Out of Shared or Public Devices
02

Sign out of Teams on a shared device

  1. Instruction 1: Click your profile picture in the top-right corner of Teams.
  2. Instruction 2: Click Sign out.
  3. Instruction 3: If you were using the Teams web app, also close the browser tab.
  4. Instruction 4: Do not just close the Teams window — on Windows, Teams may continue running in the system tray. Right-click the Teams icon in the tray and click Quit to close it fully.
03

Remotely sign out from all devices via My Account

  1. Instruction 1: If you have already left a shared device and suspect you did not sign out, go to myaccount.microsoft.com from any trusted device.
  2. Instruction 2: Sign in with your work credentials.
  3. Instruction 3: Click Devices, then click Sign out everywhere (or view Active sessions and sign out individual sessions).
  4. Instruction 4: This remotely signs your account out from all browsers and devices — the shared device will no longer have access to your account.
  5. Instruction 5: If you suspect your account was accessed by someone else, change your password immediately and contact the helpdesk.

Quick fixes

Troubleshooting

After signing out on the web, the next person opened the browser and was still signed in

Most browsers save session cookies that can automatically restore a signed-in state. Always clear cookies and browsing data after signing out on a shared computer, or use a private/incognito window for your session so nothing is saved.

I cannot access the remote sign-out option

Go to myaccount.microsoft.com and look under Devices or Security > Sign-in activity. If the option is not available, contact the helpdesk — they can terminate active sessions from the admin portal.

Still need a hand?

Our support team can help with Microsoft 365.

Tell us where you got stuck and what you see on screen.

Contact Support

Stop fighting with IT. Start growing your business.

Get a free, no-obligation network assessment and discover how much time and money you could save with Optimyze.