The sign-in window appears for a moment, then closes with the message โSomething went wrong. Try again laterโ and the code 0x801901f4. As a result, you canโt add or verify your Microsoft account in Windows settings, or sign in from Outlook.
A case with these symptoms is described in a thread in the community hosted on Microsoft Learn. The discussion dates back to July 2020 and concerns Windows 10: it offers a useful diagnostic lead, but does not document a new widespread Windows 11.
Letโs look at what the code indicates and how to check whether the problem involves the account, the connection, or the application before changing your PCโs configuration.
What error 0x801901f4 means
In Microsoftโs documentation, 0x801901F4 corresponds to HTTP_E_STATUS_SERVER_ERROR, that is, an HTTP 500: Internal Server Error response.
The code indicates that an HTTP request failed, but on its own it does not establish which component caused the problem. It is not a diagnosis of an incorrect password, faulty DNS, or corrupted Windows files.
Thatโs why itโs best to start with the context: does the error appear only in Outlook? Also in Windows settings? Can you access the same account in a browser?
First check: try signing in from a browser
For a personal Microsoft account, open account.microsoft.com and try signing in with the same account address you canโt add. If you also want to check personal email, you can use Outlook.com.
For a work or school account, use myaccount.microsoft.cominstead. Microsoft also distinguishes between the two account types in its sign-in instructions.
This comparison helps you choose the next step:
| Test result | What to do next |
|---|---|
| Sign-in also fails in the browser | Follow the account guidance and any verification or blocking messages |
| The browser works, but Windows or Outlook does not | Continue with connection and application checks |
| The problem occurs on multiple devices and networks | Donโt limit the diagnosis to the configuration of a single PC |
These results are clues, not confirmation of the cause. For example, a successful web sign-in does not guarantee that every component used by desktop apps is working.
If you canโt sign in to your personal account, Microsoft provides a sign-in helper. For work accounts, contact your IT administrator.
The community solution: try different DNS servers
In the Microsoft Learn thread, one participant reports resolving the issue by setting 8.8.8.8 and 8.8.4.4, the IPv4 addresses for Google Public DNS.
This is a community solution found in a Microsoft Learn thread, not a universally certified fix for error 0x801901f4.
Before changing the configuration, you can compare by connecting the PC to another available network, such as a personal hotspot. Repeat the same operation in the app: if it works only on the second connection, you have another clue to investigate your usual network.
This test changes several factors, so it does not isolate a DNS problem on its own.
How to change DNS for a test
On a work PC, check with IT first: DNS may also be needed to access internal resources. On a personal PC, note the current values so you can restore them.
- Press Windows + R, type
ncpa.cpland press Enter. - Right-click the connection youโre using, Wi-Fi or Ethernet, and choose Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and open Properties.
- Leave the IP address, subnet, and gateway unchanged.
- Select Use the following DNS server addresses.
- Enter 8.8.8.8 as the preferred server and 8.8.4.4 as the alternate server.
- Confirm with OK, close and reopen the sign-in window, then try again.
Google documents the addresses and configuration through TCP/IP properties. Changing this setting may require administrator privileges.
If nothing changes, restore the previous values. If DNS was set to automatic before, select Obtain DNS server address automatically. You donโt need to disable IPv6 for this test.
Can flushing the DNS cache help?
After changing DNS, you can flush the local resolution cache. Open Command Prompt as an administrator and run:
ipconfig /flushdns
Microsoft documents that the /flushdns parameter clears the DNS resolver cache, including stored negative responses. It does not remove accounts, messages, or passwords, and it does not fix a possible remote service outage.
Treat this as a step related to the network test, not as a guaranteed standalone fix for error 0x801901f4.
If the browser works but apps still canโt sign in
Note which applications are affected and which window shows the error. If it involves Outlook, specify whether you use classic Outlook or new Outlook: support procedures are not necessarily interchangeable.
Microsoft also documents authentication issues in Microsoft 365 applications related to Web Account Manager (WAM), the web account management component. Its guide recommends a sign-in troubleshooter and steps involving authentication packages.
However, that documentation describes its own symptoms and conditions: it does not prove that WAM is the cause of every 0x801901f4 error.
If you have checked the account and connection, the guide can help IT choose what to investigate next. Avoid indiscriminately deleting credentials, token folders, or work accounts based on the code alone.
What information to collect if the error persists
To make a support request useful, prepare:
- Windows version, visible with Windows + R > winver;
- account type: personal or work/school;
- name and version of the affected app;
- full message and error code;
- result of web sign-in and any test on another network;
- when the problem started and whether a VPN or proxy is in use.
A screenshot may help, provided it does not expose passwords, verification codes, or other confidential information.
Changing DNS remains a practical test reported by the community. The key is to use it in the right context: if it produces no results, restore the configuration and continue diagnosing the account or application, without piling on unrelated changes.