How to fix error tag 4vt9f in Microsoft Office apps?
Prefer to fix it yourself? The manual steps follow.
- 9methods
- 5 to 30 minutes
- Intermediate
Applies to Microsoft 365 apps and Office for Windows (classic Outlook, Teams, Word, Excel, PowerPoint, the Microsoft 365 Copilot app) on Windows 11 and Windows 10
9 methods in this guide
- What the tag means
- Read the details
- Outlook, Teams, Copilot
- Causes, ranked
- Home or work PC
- The fixes
- 1. Clear OneAuth cache
- 2. Reset saved credentials
- 3. Use the right account
- 4. Reset WAM accounts
- 5. Reset Office activation
- 6. New Outlook profile
- 7. Repair account plug-ins
- 8. Antivirus, VPN, proxy
- 9. Update and repair Office
- Still there: next steps
- For administrators
- Prevent it
- FAQ
Whenever I try to sign in to Outlook or Word on my PC, I get an error that says "error tag 4vt9f." It won't let me sign in with my Microsoft account. How do I fix it?
The 4vt9f tag means that a Microsoft 365 app on Windows found a saved sign-in for your account and rejected it: the window shows Something went wrong. [4vt9f] and, in its details, The credential is invalid. Your password is usually fine. Empty the Office sign-in cache first, then remove the saved Office credentials and the old work or school link.
4vt9f means the sign-in data that Office saved on this PC no longer matches your account, so Windows rejects it as an invalid credential. Sign out of Office, close every Office app, delete the contents of %localappdata%\Microsoft\OneAuth and %localappdata%\Microsoft\IdentityCache, restart and sign in again (Fix 1). If it returns, remove the MicrosoftOffice16 entries in Credential Manager and reconnect the work or school account (Fix 2).
| Error | Something went wrong. [4vt9f], with the troubleshooting details Message: The credential is invalid., Tag: 4vt9f (or Error Tag) and Code: 0 (or Error Code), plus Correlation Id, Timestamp and DPTI. |
|---|---|
| Where it appears | In the small Microsoft sign-in window of classic Outlook, Teams, Word, Excel or the Microsoft 365 Copilot app, often right after the password and the approval on the phone were accepted. |
| Main cause | A stale or mismatched credential stored on this PC: the Office identity cache (OneAuth, IdentityCache), saved Office passwords, an old work or school link, or the licence of another account. |
| Fastest fix | Sign out, close Office, empty the OneAuth and IdentityCache folders, restart, sign in (Fix 1). Then remove the saved Office credentials and reconnect the account (Fix 2). |
| Also written as | 4vt9f error, error 4vt9f, error code 4vt9f, Tag: 4vt9f, [4vt9f], "4vt9f the credential is invalid", "Se ha producido un error. [4vt9f]", "Ocorreu um erro. [4vt9f]". |
| Affects | Microsoft 365 apps and Office on Windows 11 and Windows 10, with personal, work and school accounts. Classic Outlook appears in most reports, often while Teams and Excel stay signed in. |
| Microsoft's status | No Microsoft Learn or Microsoft Support article defines the tag (checked 14 October 2026). Microsoft's forum staff treat it as a cached credential problem on the PC, not as an account fault. |
| Often seen with | The tag 657rx with Code 2148073494 (0x80090016, "Keyset does not exist"). Users report 4vt9f after a 657rx error and an Office reinstall. |
| Time to fix | About 5 minutes for Fix 1. Up to 30 minutes when the licence or the Windows account plug-ins are involved. |
Facts checked on 14 October 2026. Steps written for Microsoft 365 apps and Office on Windows 11 (25H2 and 26H2) and Windows 10 22H2, read against Microsoft's documentation and the 4vt9f reports on Microsoft Q&A.
What Something went wrong [4vt9f] means in Microsoft 365 and Office
You start Outlook or Word, a Microsoft window asks you to sign in, and you do: the address, the password, often the approval on your phone. Then the window turns into Error with the red line Something went wrong. [4vt9f]. Many users stress that the password was right, and they are usually correct.
Microsoft publishes no list of these five-character tags, and we found no Microsoft article that defines 4vt9f. What sets this tag apart is the line in its details: Message: The credential is invalid. The reports on Microsoft Q&A show that this message comes with 4vt9f again and again, and the Code line under it is almost always 0.
![Microsoft sign-in window with the heading Error, the red line Something went wrong. [4vt9f] and Troubleshooting details listing Correlation Id, Timestamp, DPTI, Error Tag 4vt9f and Error Code 0](/pic/w828q75/uploads/wp/articles/askit/how-to-fix-error-tag-4vt9f-in-microsoft-office-apps-copy_en.jpg.webp)
The sign-in itself went through, but the token or saved account that Office tried to use with it was refused on this PC. That is why the same account often works in a browser and even in Teams or Excel on the same computer. The fault is in what Windows and Office stored, so the fixes below clear those stores one by one.
Every spelling people type means the same window: 4vt9f error, error 4vt9f, error code 4vt9f, Tag: 4vt9f and [4vt9f]. In other languages only the sentence changes, as in "Se ha producido un error. [4vt9f]" in Spanish or "Ocorreu um erro. [4vt9f]" in Portuguese.
The troubleshooting details: Message, Tag, Code 0 and the 657rx link
Select the details link in the error window, or the arrow next to Troubleshooting details, to see every line. The window offers Copy info to clipboard: use it, and paste the text into a note before you close anything. Each line has a job.
| Line | What it is | What to do with it |
|---|---|---|
| Message: The credential is invalid. | The reason the sign-in layer gives. It is the most useful line for 4vt9f. | Read it as "the stored sign-in on this PC was refused". Start with Fix 1. |
| Tag: 4vt9f | The place in the sign-in code where the attempt stopped. | Use it to recognise the error and to search for it. |
| Code: 0 | Zero means that no Windows result code was passed on. | Nothing to decode. Ignore it, unless your window shows another number. |
| Correlation Id and Timestamp | The identifier and the UTC time of this one attempt. | Send both to your administrator. They find the attempt in the Microsoft Entra sign-in logs. |
| DPTI | A long string that Microsoft does not document. | Keep it for support. Microsoft Q&A moderators remove it from public posts as personal information. |
Many 4vt9f reports begin with a different tag. An IT technician on Microsoft Q&A described a business PC that first showed 657rx; after a repair and a reinstall of Office it showed 4vt9f instead. The 657rx window carries Code: 2148073494, which in hexadecimal is 0x80090016. Microsoft's table of security error codes names it NTE_BAD_KEYSET, "Keyset does not exist".
A missing key and an invalid credential are both problems of data that Windows keeps in your user profile. Reinstalling Office replaces program files and leaves that data where it was. This is why the technician above saw the error change its tag instead of going away.
4vt9f in Outlook, Teams, Word and the Copilot app
On Windows the Microsoft 365 apps do not each run their own sign-in. They share an Office identity cache and hand the token request to Web Account Manager (WAM), a part of Windows. One damaged entry can therefore block one app while another, which holds a fresher token, keeps working.
- Classic Outlook: most 4vt9f reports come from classic Outlook, often when an account is added or after a password prompt. A Microsoft Q&A moderator answered such a case, where Teams and Excel were signed in normally, as a problem of cached Outlook authentication data rather than of the account.
- New Outlook: one user found that the new Outlook connected to the same mailboxes without the error. That points at the classic Outlook side: its profile and the Office identity cache.
- Teams: the same window and tag appear at sign-in. Teams also keeps its own app data, so after Fix 1 a Teams reset can be needed. Our guide to Teams error tag 48v35 has those steps.
- Word, Excel, PowerPoint: the tag appears in the activation window after a new install, a licence change or a reinstall, and the apps stay unlicensed.
- Microsoft 365 Copilot app: an administrator reported 4vt9f in the Copilot app on a domain joined Windows 11 laptop. Copilot inside Word and Excel worked. A Microsoft moderator's cache cleanup ended it.
Open your mail at outlook.office.com or outlook.live.com, and your files at office.com. If the browser accepts your account, the account, the password and the licence are fine, and the fault is on this PC. If the browser refuses it too, no fix on this page will help: see the section on causes.
What causes error 4vt9f, from the most common to the rare
Microsoft has not published a cause for this tag. The ranking below comes from the 4vt9f threads on Microsoft Q&A and Spiceworks, the answers of Microsoft's forum staff, and the causes Microsoft documents for sign-in failures in the same Windows layer. Treat the order as our reading of those reports, not as a statistic.
| How often | Cause | Typical sign | Fix |
|---|---|---|---|
| Most often | Stale or damaged entries in the Office identity cache (OneAuth, IdentityCache) | Only Outlook fails. Or it began after a password change, a new phone for the approvals, or a reinstall. | Fix 1 |
| Often | Saved Office passwords and an old work or school link in Windows | A work or school account, or a PC that once had another organisation's account. | Fix 2 |
| Often | The wrong account or licence: a school licence replaced by a bought one, a personal account where a business one is needed, a mailbox converted to a shared mailbox | It began right after the licence or the mailbox changed. | Fix 3 |
| Less often | Old accounts held by Web Account Manager, or leftover Office activation data | It follows a 657rx error, or survives Fix 1 and Fix 2. | Fix 4, Fix 5 |
| Less often | A damaged classic Outlook profile | Outlook fails, every other app signs in. | Fix 6 |
| Rarely | Damaged Windows account plug-ins, or security software and VPNs that block them | The window is blank, closes at once, or the error comes and goes with the network. | Fix 7, Fix 8 |
| Not on this PC | A disabled account, an expired licence or a password reset that the user does not know about | office.com in the browser refuses the account as well. | The account owner or administrator |

Several websites tie 4vt9f to a wrong system clock or to a stopped Microsoft Account Sign-in Assistant service. No Microsoft document and no 4vt9f report we read confirms either as the cause. Both are cheap to check, and the section on a sign-in that still fails says how.
Home PC or managed PC: who may run which fix
Fix 1 only clears data in your own user profile, and Microsoft's forum staff give it to business users as the first step. It is safe on any PC. Fix 2 and Fix 5 change how Windows is connected to an organisation, so on a PC that an employer or a school manages they belong to the administrator.
- Run Fix 1 and test the sign-in.
- Copy the troubleshooting details with Copy info to clipboard.
- Tell IT which app fails, since when, and whether the browser signs in.
- Disconnect an account under Access work or school that says it is connected to the organisation's Azure AD or domain. A Japanese university's help desk warns that this takes the PC out of the domain.
- Run the Microsoft cleanup scripts of Fix 4 and Fix 5 without asking.
- Add registry values that switch off modern sign-in. Microsoft does not support them.

Not sure whose PC it is? Open Command Prompt and run dsregcmd /status. Microsoft documents the fields: AzureAdJoined : YES or DomainJoined : YES means the organisation owns the device. WorkplaceJoined : YES under User State means a work account was only added to your own PC, and every fix here is yours to run.
How to fix error 4vt9f in Outlook, Teams and Office
The fixes are ordered by how often they end 4vt9f and how little they change. Fix 1 is the one that users and Microsoft's forum staff report most often as the cure, and it is safe on every PC. After each fix open the app that failed and sign in: when the app shows your name and stays signed in, you are done.
| What you see | Start with | Then |
|---|---|---|
| Only classic Outlook fails, Teams and Excel are signed in | Fix 1 | Fix 6, then Fix 2 |
| Every Office app fails, office.com works in the browser | Fix 1 | Fix 2, Fix 4 |
| It started after a 657rx error or an Office reinstall | Fix 1 | Fix 5, Fix 4 |
| You moved from a school or work licence to your own, or the other way | Fix 3 | Fix 1, Fix 5 |
| The mailbox you add was converted to a shared mailbox | Fix 3 | Fix 1, Fix 6 |
| The sign-in window is blank, closes at once or hangs | Fix 7 | Fix 8 |
| PC managed by an employer or school | Fix 1 | Send the details to IT (see the section for administrators) |
| office.com in the browser refuses the account too | Nothing on this PC | Reset the password or ask the administrator about the licence |
Fix 1. Sign out and empty the Office sign-in cache (OneAuth and IdentityCache)
5 minutesLow riskEveryone, first. Above all when only Outlook fails, or the error began after a password change, a reinstall or a 657rx error.
OneAuth and IdentityCache hold the accounts and tokens that Office reuses at sign-in. When one of them no longer matches the account, Office keeps presenting it and Windows keeps calling it invalid. Microsoft documents removing these folders for cached identity errors, and it is the fix most often confirmed in 4vt9f threads.
- Open Word or any Office app that still starts, go to File > Account and select Sign out. Sign out of every account listed.
- Close Outlook, Teams, OneDrive and every other Office app. Check the taskbar corner and quit OneDrive and Teams there too.
- Press Win + R, paste this path and press Enter:
%localappdata%\Microsoft\OneAuth - Select everything inside the folder with Ctrl + A and delete it. It holds the folders accounts and blobs.
- Press Win + R again, paste the second path and press Enter:
%localappdata%\Microsoft\IdentityCache - Delete everything inside this folder as well.
- Restart the PC, open the app that failed and sign in with the account that holds the licence.

The folders are rebuilt at the next sign-in, so nothing of value is lost: no mail, no files, only saved sign-ins. A Microsoft moderator gave exactly these three locations to a user whose Outlook showed 4vt9f with The credential is invalid, and another admin wrote that the same cleanup fixed the Copilot app.
If you prefer an undo, rename the folders to OneAuth.old and IdentityCache.old instead of emptying them. The administrator in the Copilot case did this, and it worked the same. Delete the old copies once the sign-in holds for a few days.
It worked if: The sign-in window asks for your password and approval, then closes, and your name appears at the top of the app. Classic Outlook starts to sync.
If not: If the tag returns at once, the stale credential is kept elsewhere in Windows. Go to Fix 2.
Fix 2. Remove the saved Office credentials and reconnect the work or school account
10 minutesLow riskFix 1 did not hold, or the PC has, or once had, a work or school account in Windows Settings.
Windows keeps Office sign-ins in two places that Fix 1 does not touch: Credential Manager and the list under Access work or school. Microsoft's sign-in article for Microsoft 365 Apps clears both, and its forum staff add this step for 4vt9f right after the cache cleanup.
Disconnect under Access work or school removes the account's single sign-on for every app in your Windows session. On a PC that the organisation joined to its Azure AD or domain it can remove the device from management. Leave that case to the administrator and do only the Credential Manager part.
- Close all Office apps and Teams.
- Select Start, type
credential managerand open Credential Manager. - Select Windows Credentials.
- For each entry named MicrosoftOffice16 (older installs may also show MicrosoftOffice15), select the arrow next to it and select Remove.
- Open Settings > Accounts > Access work or school.
- If the account you use for Office is listed, and it is not the account you sign in to Windows with, select it and select Disconnect.
- Restart the PC.
- Open an Office app and sign in. If Windows asks whether to use this account everywhere on the device, choose the option for this app only on a PC you own.


A Japanese university's help desk adds a detail worth copying. When it asks whether to sign in to all desktop apps and websites on this device, its users are told to select No, this app only. That keeps the work account out of Windows and avoids the link that this fix had to undo.
It worked if: Credential Manager has no MicrosoftOffice16 entries left, the app asks for a fresh sign-in, and it activates without the tag.
If not: If you changed licences or mailboxes recently, go to Fix 3. Otherwise clear the Web Account Manager accounts with Fix 4.
Fix 3. Sign in with the account that holds the licence and the mailbox
5 to 15 minutesLow riskThe error began after a licence or mailbox change: a school licence replaced by a bought one, a business plan instead of a family plan, or a mailbox converted to a shared mailbox.
4vt9f says the credential Office used is invalid, not that your password is wrong. When the stored sign-in belongs to an account that lost its licence or can no longer sign in, Office keeps offering it. Microsoft states that a shared mailbox is not meant for direct sign-in.
First find out which account really has the product. Sign in at office.com in a browser with each address you own. The one that shows Microsoft 365 apps to install is the one Office needs. For a business plan, that is the work or school account, not a personal Microsoft account.
- Open Word and go to File > Account.
- Under User Information, select Sign out for every account, as in Fix 1.
- Sign in with the account that holds the licence only.
- If Product Information offers Switch License, select it and choose the subscription of that account. Users who moved from a school licence to a bought one report that Switch License followed by Update License ended their 4vt9f error.
- Close Word, open the app that failed and test the sign-in.
Microsoft writes that every shared mailbox has a user account with a system-generated password that is not meant for use, and that its sign-in should stay blocked. Old saved sign-ins for that address will now fail. Open the shared mailbox through your own licensed account, which Microsoft requires for delegate access, and clear the old address with Fix 1 and Fix 6.
On Spiceworks an administrator described exactly this: mailboxes converted to shared, and Outlook on PCs that had held them as normal mailboxes ending every attempt with 4vt9f. Sign-out and account removal in Settings were not enough. Removing the old sign-in data under IdentityCache and OneAuth, among other cleanup, finally let the delegated user set the mailboxes up.
It worked if: Office shows the right name and the right product under Product Information, and the app that failed signs in.
If not: If the right account still gets 4vt9f, the old account lingers in Web Account Manager or in the activation data. Go to Fix 4 and Fix 5.
Fix 4. Clear the Web Account Manager accounts and run the sign-in troubleshooter
10 minutesLow riskYour own PC, when Fix 1 to Fix 3 did not hold, or after a 657rx error.
Web Account Manager keeps its own copies of your accounts, apart from the Office cache. Microsoft's sign-in article deletes the account files of both Windows plug-ins and then runs the Microsoft 365 sign-in troubleshooter. A university help desk adds the token broker cache for the same tags.
- Close all Office apps and Teams.
- Open File Explorer and put this location in the address bar:
%LOCALAPPDATA%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\AC\TokenBroker\Accounts - Press Ctrl + A, right-click the selected files and choose Delete.
- Do the same in the second location:
%LOCALAPPDATA%\Packages\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\AC\TokenBroker\Accounts - If this folder exists, empty it too:
%LOCALAPPDATA%\Microsoft\TokenBroker\Cache - Restart the PC.
- Run the Microsoft 365 Sign-in troubleshooter, linked at the top of Microsoft's article Authentication automatically fails in Microsoft 365 services, then sign in to Office.
If that is not enough, Microsoft offers a script. The article Reset activation state for Microsoft 365 Apps for enterprise has the download signoutofwamaccounts.zip. Microsoft says the script signoutofwamaccounts.ps1 clears the WAM accounts associated with Office, runs as administrator and needs Windows 10 version 1803 or later.
- Download signoutofwamaccounts.zip from that Microsoft article and extract it.
- Run signoutofwamaccounts.ps1 in Windows PowerShell opened with Run as administrator.
- Restart, open the app and sign in.
It worked if: Office asks for a complete sign-in with password and approval, and stays signed in after the next restart.
If not: If 4vt9f comes back, the Office licence and identity data still hold the old account. Go to Fix 5.
Fix 5. Reset the Office activation and identity data
15 minutesRead the warningYour own PC, after a 657rx error, a licence change or a reinstall that did not help, and when Fix 1 to Fix 4 did not hold.
Office stores licences and cached accounts outside the sign-in caches: in licence folders and in the registry. Microsoft's reset article clears them with OLicenseCleanup.vbs, and a university help desk prescribes it for 4vt9f, 657rx and 1001 alike. Office then starts as if never activated.
Office forgets every licence and account on this Windows profile, so you sign in and activate again. Before the registry step export the key, so that you can put it back: Back up the registry before editing it. A wrong deletion in the registry can break Office. On a managed PC leave this fix to IT.
- Sign out of every account in File > Account and close all Office apps.
- Open Reset activation state for Microsoft 365 Apps for enterprise and download OLicenseCleanup.zip from the section on automating the cleanup with scripts.
- Extract it and run OLicenseCleanup.vbs with administrator rights. No window confirms the end: the script finishes in the background.
- If your Windows account is not an administrator, the university help desk runs the script twice: once by double-click as yourself, then again from a Command Prompt started with an administrator account.
- Restart the PC, open Word and sign in with the licensed account.
The same help desk notes that OLicenseCleanup.vbs cannot run on Windows 11 with Smart App Control turned on. Do not switch that protection off for this. Use the manual route of the same Microsoft article instead: remove the Office licences and the cached identity by hand.
- Press Win + R, type
regeditand press Enter. - Go to this key and export it as a backup:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity - Right-click Identity and select Delete. Microsoft's OneDrive article removes this key when an error is caused by multiple cached identities.
- Empty these two folders if they exist:
%localappdata%\Microsoft\Office\Licenses %localappdata%\Microsoft\Office\16.0\Licensing - Restart the PC and sign in to Office.
It worked if: Office opens with a sign-in or activation prompt, accepts the licensed account and shows the product under File > Account.
If not: If only classic Outlook still fails, go to Fix 6. If every app fails, repair the Windows account plug-ins with Fix 7.
Fix 6. Create a new classic Outlook profile (when only Outlook fails)
10 minutesLow riskClassic Outlook shows 4vt9f, while Teams, Word or Excel sign in with the same account.
Classic Outlook keeps the accounts it connects to in a mail profile. A profile built around a changed or converted mailbox keeps asking for that old sign-in. A new profile adds the account from scratch, and Microsoft's forum staff list it for the 4vt9f sync error in classic Outlook.
- Close Outlook.
- Press Win + R, type this command and press Enter. Microsoft gives it as one way to open the profile picker:
Outlook.exe /profiles - In the profile picker select Options, then New.
- Type a name for the new profile and select OK.
- Add your email account and sign in when asked. For a Microsoft 365 address the sign-in window from Fix 1 appears.
- Back in the profile picker, select the new profile and start Outlook.
The old profile stays in place until you delete it, so nothing is lost. Microsoft suggests the box Prompt for a profile to be used while you test, so Outlook asks every time which profile to open. When the new one works, delete the old one in Control Panel > Mail > Show Profiles.
Mail in Microsoft 365 or Outlook.com lives on the server and downloads again into the new profile. Only archives that you saved as .pst files on the PC have to be opened again in the new profile.
It worked if: Outlook starts with the new profile, the account signs in without the tag and the mailbox fills up.
If not: If the new profile gets 4vt9f too, the problem is not the profile. Go back to Fix 2 and Fix 4, then Fix 7.
Fix 7. Register the Windows account plug-ins again
10 minutesLow riskThe sign-in window is blank, closes at once or hangs, or Fix 1 to Fix 6 changed nothing.
Office signs in through two Windows packages: Microsoft.AAD.BrokerPlugin for work and school accounts and Microsoft.Windows.CloudExperienceHost for personal ones. If one is damaged, the credential it returns can be refused. Microsoft gives the commands that check and register both again.
The plug-ins are installed for each user. Stay signed in to Windows as the person with the 4vt9f error and open PowerShell from that session. Do not start it with another account's password.
- Press Win + R, type
powershelland press Enter. - Check that both packages exist. Each command should print the details of one package:
Get-AppxPackage Microsoft.AAD.BrokerPlugin Get-AppxPackage Microsoft.Windows.CloudExperienceHost - If one is missing or sign-in still fails, register the work and school plug-in again:
Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown - Then register the plug-in for personal accounts:
Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown - Restart the PC and sign in to the Office app.
The full background, with the tests that open each plug-in on its own, is in our guide to error tag 7q6ch, a sister error of the same sign-in layer.
It worked if: Both commands run without red error text, and after the restart the sign-in window reaches the password step and closes normally.
If not: If the plug-ins are fine but the error comes and goes, something on the network or in security software interferes. Go to Fix 8.
Fix 8. Rule out security software, VPN and proxy
10 minutesLow riskThe error began after you installed or updated an antivirus, a firewall or a VPN, or it depends on the network you use.
Microsoft's sign-in article states that some antivirus, proxy and firewall software blocks the plug-in process Microsoft.AAD.BrokerPlugin, and that a VPN may need to be paused for activation. A Microsoft moderator also suggests a phone hotspot for a 4vt9f sign-in on a personal account.
- Disconnect the VPN, or switch to another network such as a phone hotspot, and try the Office sign-in again.
- Pause the antivirus for this one test and try the sign-in once more. Steps for Microsoft Defender: Turn off Microsoft Defender protection for a moment.
- Turn the protection back on straight after the test, whatever the result.
- While you are here, check that the PC clock and time zone are set automatically. It costs a minute: How to fix the date and time in Windows.

If the sign-in works with the software paused, do not leave it off. Ask its maker or your administrator to allow Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy. Behind a company proxy, Microsoft lists login.microsoftonline.com among the addresses that Office activation must reach, and opening them is the network administrator's job.
It worked if: On the other network, or with protection paused for the test, the sign-in window closes normally. That names the blocker.
If not: If nothing changes, turn the protection back on and go to Fix 9.
Fix 9. Update Office, then repair it
15 to 40 minutesLow riskNothing above helped, or Office has not been updated for a long time.
An update brings the current sign-in code of Office, and a repair replaces damaged program files. Neither touches the stored credentials that cause most 4vt9f errors, which is why this comes last. Users who reinstalled before clearing the caches report that the tag stayed.
- Open Word and go to File > Account (Office Account in classic Outlook).
- Under Product Information select Update Options > Update Now. If you only see Enable Updates, select that first.
- Wait for the message that updates were installed or that you are up to date.
- Restart the PC and try to sign in.

Then repair. Start with Quick Repair, which replaces damaged files and needs no internet, and run Online Repair if the tag is still there. Every screen of both on Windows 11: How to repair Microsoft 365 or Office.

It worked if: Office reports that it is up to date or that the repair is done, and the app signs in after the restart.
If not: Do not reset Windows for this. Collect the details described in the next section and hand them to your administrator or to Microsoft support.
If 4vt9f is still there: what to check and what to send
When all fixes fail, stop changing things and narrow the problem down. Three tests tell you whether the fault is the account, your Windows profile or the whole PC.
| Test | Result | What it means |
|---|---|---|
| Sign in at office.com in a browser | Refused, or no apps to install | The account, the password or the licence. No change on the PC can fix it. |
| Sign in to Office from a second Windows account on the same PC | Works | Your own profile holds the fault. Microsoft moderators use this test for 4vt9f, and one user saw a partner's Office sign in fine on the same PC. |
| The same second Windows account | Fails too | The PC itself: plug-ins, network, security software or the organisation's settings for the device. |

- The test account in full: Create a new user account to test a problem. Sign in to Office there with the same work or personal address.
- Start Office the normal way. One user reported that Run as administrator got Outlook past 4vt9f. Microsoft states that Run as administrator, Run as different user and elevation tools interfere with sign-in and are not supported in most cases, unless the admin account is your own.
- Sign-in services. In
services.msccheck that Microsoft Account Sign-in Assistant and Web Account Manager are not Disabled. Manual is their normal startup type. Steps: Check and restart Windows services. - For support, send the details as text: Correlation Id, Timestamp, DPTI, Message, Tag and Code from the error window, the app, when it started, and whether office.com works.

If office.com refuses the account as well, the password was reset, the account was disabled, or the licence ran out. A school or employer closes accounts when you leave, and then only a personal licence helps.
For administrators: what to check when users report 4vt9f
A user who sends Correlation Id, Timestamp and the message The credential is invalid has given you enough to start. These checks follow Microsoft's documentation, in the order that costs the least time.
- In the Microsoft admin center confirm that the user has a licence with the desktop apps and, for Outlook, an Exchange Online mailbox. One answer on Microsoft Q&A points at this first whenever Outlook on the web also fails.
- In the Microsoft Entra admin center open the Sign-in logs and filter by Correlation ID. If no event matches, the attempt failed on the device before it reached the service, which fits a stale local credential.
- If the address was converted to a shared mailbox, keep its sign-in blocked as Microsoft advises. Give the users delegate access and clear the old sign-in on their PCs with Fix 1 and Fix 6.
- For a whole team at once, look for a recent change: a password policy, a licence swap, a tenant migration or a new conditional access rule.
- On virtual desktops check what the profile tool roams. Microsoft says Microsoft 365 credentials must not be roamed, and for non-persistent virtual desktops it points to single sign-on set up by the administrator.
Old forum answers suggest registry values that disable Web Account Manager or ADAL. Microsoft's article on the subject says that disabling them is not a supported fix for sign-in or activation problems and can adversely affect the environment.
How to keep 4vt9f from coming back
4vt9f returns where the credentials stored on the PC and the real state of the account drift apart again. Most prevention is about not creating that gap.
- Sign out of Office before a licence or account change, not after. That covers a move from a school licence, a new job, or a mailbox about to be converted to a shared one.
- One licensed account per Office. Add other mailboxes to Outlook through your own account and delegate access, not with their own passwords.
- On your own PC, choose "this app only" when a work sign-in offers to manage the whole device.
- Do not reinstall Office as the first answer to a sign-in error. Clear the sign-in data first with Fix 1 and Fix 2.
- Leave Windows services and account plug-ins alone. Tools that trim services or remove built-in packages can break the sign-in layer.
- Keep Office and Windows updated. Windows 10 left support on 14 October 2025, so a Windows 10 PC no longer gets security fixes for this layer.
Frequently asked questions
What does error 4vt9f mean?
It means that a Microsoft 365 app on Windows tried to sign you in with a saved credential and Windows rejected it. The details say so in the line Message: The credential is invalid. Microsoft publishes no definition of the tag. In the reports on Microsoft's forum the account itself is fine, and the stale data sits on the PC: in the Office identity cache, in Credential Manager, in an old work or school link or in the licence data. Fix 1 clears the most common store.
Why does 4vt9f say The credential is invalid when my password is correct?
Because the credential it means is not your typed password. Office stores tokens and account records on the PC and presents them with the sign-in. When one of them belongs to an old session, an old licence or an account that changed, Windows refuses it, even right after a correct password and phone approval. Clearing OneAuth and IdentityCache (Fix 1) and the saved Office credentials (Fix 2) removes those records, so a fresh one is created.
Why does only Outlook show 4vt9f while Teams and Excel work?
Each app can hold its own token in the shared cache, and classic Outlook also has its mail profile. So Outlook can be stuck on a stale entry while Teams and Excel use fresh ones. A Microsoft moderator answered such a case as cached Outlook authentication data. Clear the cache with Fix 1. If Outlook still fails, create a new profile with Fix 6.
What is the connection between 657rx and 4vt9f?
They often appear one after the other. 657rx comes with Code 2148073494, which is 0x80090016, NTE_BAD_KEYSET or "Keyset does not exist" in Microsoft's error table: a key that Windows expects for the sign-in is missing. Users who repaired or reinstalled Office after 657rx then got 4vt9f. Both live in the user profile, so treat them the same way: Fix 1, then Fix 4 and Fix 5.
What does Code 0 under 4vt9f mean?
Nothing useful. Zero means no Windows result code was passed to the error window, so there is nothing to decode, unlike sister tags such as 7q6ch that carry TPM or service codes. For 4vt9f the Message line is the clue. If your window shows a number other than 0, write it down and send it with the other details to your administrator or to Microsoft support.
Will running Outlook as administrator fix 4vt9f?
One user on Microsoft Q&A wrote that it did, but it is not a fix to keep. Microsoft states that Run as administrator, Run as different user and other elevation methods interfere with the authentication of Microsoft 365 apps and are not supported in most scenarios. The exception is when the administrator account is the same account you are signed in with. If elevation seems to help, your normal session holds the stale data, which Fix 1 to Fix 4 remove.
Will reinstalling Office remove error 4vt9f?
Usually not. The credential that 4vt9f rejects lives in your Windows profile, in Credential Manager and in the registry, not in the Office program files. An IT technician on Microsoft Q&A reinstalled Office after a 657rx error and got 4vt9f instead. Clear the stored sign-in data with Fix 1, Fix 2, Fix 4 and Fix 5 first. Update and repair Office once with Fix 9, and reinstall only if a repair fails.
Is "Se ha producido un error. [4vt9f]" or "Ocorreu um erro. [4vt9f]" the same error?
Yes. Office translates the sentence and keeps the tag, so Spanish, Portuguese, French ("erreur 4vt9f") and Japanese users see the same 4vt9f after their own wording. A Japanese national university's help desk lists 4vt9f with 657rx, 1001 and 1200 as one group of sign-in errors. This page is in English, and the steps, paths and commands are the same in every language. Only the menu labels are translated.
Is it safe to delete the OneAuth and IdentityCache folders?
Yes, for the contents. They hold cached accounts and tokens for your Windows user, and Office creates them again at the next sign-in. Your mail, files and settings are elsewhere. Microsoft documents removing these folders for a OneDrive sign-in error caused by cached identities, and its forum staff give them for 4vt9f. Sign out and close all Office apps first. If you want an undo, rename the folders instead of emptying them.
Sources
- Microsoft Learn: Sign in issues when activating Microsoft 365 Apps (Credential Manager, Access work or school, TokenBroker, BrokerPlugin) (learn.microsoft.com)
- Microsoft Learn: Reset activation state for Microsoft 365 Apps for enterprise (OLicenseCleanup, signoutofwamaccounts) (learn.microsoft.com)
- Microsoft Learn: Error 0x8004dec5 when signing in to OneDrive (OneAuth, IdentityCache, Identity key) (learn.microsoft.com)
Did this fix work?
One click, no account. It tells the next reader which guides are worth their time.
Questions and experiences: fix error tag 4vt9f in Microsoft Office apps
Still broken, or found a fix we did not cover? Ask here: members and our editors answer. Reading is open; writing needs a free account.
…