An accountancy practice in Edinburgh City Centre called us on a Tuesday morning because three Surface laptops had, overnight, all started popping a Microsoft 365 sign-in box every twenty minutes. Outlook asked for the password, then Word asked for it, then Teams asked for it, then an hour later Outlook asked again. Nothing was broken; nothing was infected; the machines were up to date. What they had lost was the single stored credential that the Office apps are supposed to quietly reuse. A short remote IT support in Edinburgh session cleared it on all three before the first client meeting at ten.
If a business PC or Surface is doing the same thing to you this morning, it is almost always one of six specific states on the machine, and five of them are fixable without anybody touching the laptop. This guide walks through what the sign-in loop is actually doing, the sequence we run on the bench or a remote session, and the small number of cases where the machine has to come in. Most of the fault lives in Windows Credential Manager and the Office identity cache rather than in the Microsoft 365 account itself, which is why changing your password in a panic almost never helps.
What the Sign-In Loop Looks Like
The owner's experience is almost always the same. A small Microsoft sign-in window appears over Outlook, over Word, over Excel or over Teams. It asks for the work email, accepts it, bounces to a second screen asking for the password, accepts that, sometimes asks for a Microsoft Authenticator approval, and then the window closes. Ten or twenty minutes later it opens again. OneDrive sometimes joins in with a small "sign in to continue syncing" tray notification. The owner can still do work, but every click through the sign-in window takes thirty seconds out of the day, and by late morning the machine feels unusable.
The important thing to notice, and the thing we check first on a remote session, is whether the loop is the same app every time or different apps. A loop confined to Outlook is almost always an Outlook profile fault. A loop that spreads across Outlook, Word, OneDrive and Teams is almost always a Windows-wide credential or identity fault, and the fix is one level deeper. Getting that distinction right at the start saves half an hour of chasing the wrong cause.
Why Microsoft 365 Keeps Prompting You
When Microsoft 365 is behaving, the Office apps ask Windows for an access token, Windows hands over a cached token from the Web Account Manager, and the user sees nothing. The sign-in loop starts when one of three things has gone wrong with that handshake. The cached token in Credential Manager has become corrupt or does not match the current account; the Office identity cache in %LOCALAPPDATA%\Microsoft\Office is stale; or an Entra ID (formerly Azure AD) policy on the business tenant has changed and the device is no longer compliant with it. Conditional Access rules that were quietly introduced by a new IT administrator are a very common culprit, and nothing on the laptop itself can fix those until the policy is adjusted at the tenant end.
A Windows feature update can also reset the Web Account Manager on its way through, which triggers the same loop for a week or two after the update until every Office app has been signed in once. The mapped-drive symptom is a similar story — our guide on a mapped shared drive that keeps disconnecting covers that cousin of the same credential problem for small-business machines with a traditional file share.
The First Fixes We Try on a Remote Session
Our sequence on a remote session is a short one, deliberately, because each step is reversible and quick. First, we open Credential Manager and remove every Windows credential starting with MicrosoftOffice16_Data:, MS.Outlook, OneDrive Cached Credential and anything beginning with Microsoft_OC1. Second, we open any Office app, go to File, Account, and sign out of every connected service listed there, Teams included. Third, we open OneDrive from the system tray, unlink the PC from the account, and restart it. Fourth, we delete the Identities sub-folder under %LOCALAPPDATA%\Microsoft\Office\16.0\Licensing — Office rebuilds it on the next sign-in.
Fifth, we restart the PC and sign back in to one Office app — Outlook is the one to try first because it is the strictest about token health. If Outlook accepts the sign-in once and then stays quiet, the other apps will quietly pick the new token up over the next few minutes. In roughly eight of ten cases on an office PC, that sequence ends the loop without the bench ever seeing the laptop. The fault pattern after a Windows feature update is almost always resolved here.
When It Is Conditional Access, MFA or a Policy Change
If the loop survives that sequence, the cause has moved one layer up. Entra ID keeps a list of devices registered with the business tenant, and a Conditional Access rule can require that a device is compliant with Intune, joined to the correct tenant or sitting on a trusted network before it hands out tokens. A device that has fallen out of registration keeps asking to sign in because the token request is being refused by the tenant, not by the laptop.
The clue is in the sign-in prompt itself. A message along the lines of "Your organisation has disabled this device" or "You can't get there from here" or a prompt that insists on a work PIN that has never existed on that machine all point to a tenant-side policy. The fix there is at the Microsoft 365 admin centre, not on the PC. If a business does not have an IT person to call, our business IT support bench can sit alongside the owner on a shared screen and work through the Entra ID side of the problem. Our write-up on Office software broken after a Windows update covers the neighbouring pattern where the Microsoft 365 apps themselves, rather than the sign-in, are what refused to open after an update.
When It Is Really Outlook or OneDrive, Not 365 Itself
A sign-in loop that is confined to one application is almost always that application's local profile. Outlook keeps a profile in the registry at HKCU\\Software\\Microsoft\\Office\\16.0\\Outlook\\Profiles; a corrupt profile looks and feels like a Microsoft 365 authentication fault, but the fix is to rebuild the Outlook profile and re-point it at the mailbox. OneDrive has a parallel story — a stuck sync state can re-trigger a sign-in box every few minutes, and the fix is the OneDrive reset command (%localappdata%\\Microsoft\\OneDrive\\onedrive.exe /reset) rather than clearing anything in Credential Manager. Our guide on OneDrive saying it is synced when nothing is backed up covers the sync side of that fault on an office PC.
When the Fix Has to Come From the Workshop
A small number of sign-in loops do not clear from a remote session, and the pattern we watch for is always the same. The Windows user profile has partially corrupted, the TPM (the small security chip that Windows uses to store work-account keys) has become out of sync after a motherboard replacement or a BIOS update, or the drive is beginning to fail and the Credential Manager file is landing on bad sectors. In those cases the machine needs to come into the EH11 workshop so we can look at the event log and the drive SMART data together.
A profile rebuild is a careful job on a business machine — the aim is to carry Outlook archives, signatures, OneDrive cached files, browser bookmarks and anything in the Documents folder across without losing them. For an office PC that is old enough for the drive to be the real suspect, our bench on desktop PC repairs and laptop repairs starts with the drive before the credential cache, because a fresh credential on a failing drive just produces the same loop again next week.
When to Stop Clicking "Sign In" and Call Us
The moment where it is worth putting the sign-in window away and asking somebody is roughly when the loop has survived a restart and a password reset and the owner has started changing passwords in a panic. A Microsoft 365 password change on its own almost never ends a Credential Manager loop and often makes it worse, because the stale cached token now actively conflicts with the new password on every attempt. The right move is to stop, take a note of what the sign-in prompt is actually saying, and let somebody work through the sequence above cleanly. For an Edinburgh City Centre practice we can usually be on a remote session within the hour during business hours, and an on-site visit through our home and office visit service in Edinburgh City Centre is a short walk when the remote route is not enough.
Microsoft 365 Help for Small Businesses Across Edinburgh
PC Repair Services supports small businesses, home offices and sole traders across Edinburgh City Centre, Haymarket, Leith, Fountainbridge, Livingston and the rest of the Lothians on Microsoft 365, Entra ID and the Windows machines that sit under them. Most Microsoft 365 sign-in loops are resolved on a remote session the same morning, and the small number that need bench work come into the EH11 workshop from across the city on our regular collection round. If you would rather talk the whole thing through before deciding to do anything, our computer repair in Edinburgh workshop is open seven days a week and the first conversation is always a conversation, not a sales pitch.
Last updated: 4 December 2026