Share via

outlook.office365.com log in problem

Michael Rushford 0 Reputation points
2026-06-10T19:33:24.14+00:00

Can no longer log into my outlook.office365.com email. when I try to log in I get a screen full of code. How do I fix this?

Outlook | Windows | New Outlook for Windows | For business

2 answers

Sort by: Most helpful
  1. Ruby-N 12,070 Reputation points Microsoft External Staff Moderator
    2026-06-10T20:12:50.6566667+00:00

    Good day @Michael Rushford

    Thank you for sharing your concern.  

    Based on the symptoms described, this issue is commonly related to the browser not rendering Outlook on the web correctly. This can happen due to outdated browsers, extensions such as ad blockers, disabled JavaScript, restricted cookies, or cached browser data. 

    Please see the following workarounds that will help you verify the issue:  

    Make sure your operating system, web browsers are fully updated to the latest version.   

    Option 1: Test using a private browser window and clear cache 

    Open an InPrivate or Incognito window in your browser. 

    Go to https://www.office.com and sign in your work account.          

    Select Apps > Outlook. 

    User's image

    If Outlook loads successfully, open your regular browser settings and clear browsing data. Set the time range to "All time" to avoid issues caused by outdated cache.       

    User's image

    Restart the browser and try signing in again in a normal window. 

    Additionally, you may consider downloading and using Microsoft Edge if you are currently using another browser such as Google Chrome or Safari. 

    Option 2: Confirm cookies are enabled (Microsoft Edge) 

    Open Microsoft Edge > Go to Settings > Select Privacy, search, and services > Open Cookies. 

    Make sure Allow sites to save and read cookie data is turned on. 

    If third-party cookies are blocked, allow them for Microsoft 365 sign in and test again. 

    Option 3: Disable browser extensions and verify browser compatibility 

    Ensure you are using the latest version of a supported browser such as Microsoft Edge, Google Chrome, or Mozilla Firefox. 

    Temporarily disable any adblockers or pop-up blockers. 

    Restart the browser after disabling extensions. 

    Try signing in to Outlook on the web again. 

    Option 4: Make sure JavaScript is enabled 

    This article provides further guidance on the topic: Enable JavaScript - Microsoft Support 

    Additional information is available in the following resources: 

    Supported browsers for Outlook on the web and Outlook.com - Microsoft Support 

    Manage cookies in Microsoft Edge: View, allow, block, delete and use | Microsoft Support 

    As community moderators, we kindly ask for your understanding that our access to internal development details is limited. Our primary role is to guide users toward the appropriate resources and support channels. While we may not have visibility into performing deeper backend analysis, we’ll continue doing our best to support you within the scope of our responsibilities.  

    I hope this information is helpful. If the issue persists after trying these steps, please let me know which browser you are currently using and share a screenshot or any error message or code you may be receiving. (Please make sure to blur or cover any personal or sensitive information in the screenshot to protect your privacy).  

    Thank you for your patience and understanding. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any extra questions about this answer, please click "Comment".            

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-06-10T19:33:39.54+00:00

    The screen full of code when signing in usually indicates a sign-in error page that is not rendering correctly. That page contains an error code that support can use to diagnose the problem.

    Follow these steps:

    1. Try another browser or an InPrivate/Incognito window
      • Open a different browser (for example, Edge or Chrome) or use InPrivate/Incognito mode.
      • Go to the Outlook on the web sign-in page again and try to sign in.
      • If it works there, the issue is likely with cached data or extensions in the original browser; clear cache and disable extensions in that browser.
    2. Get the error code from the “code page” If the page still shows a lot of HTML or code:
      1. In the browser showing the error, open the page source (for example, in Internet Explorer press ALT and select View > Source).
      2. In the source window, search for HR=.
      3. Note the numeric error code that appears immediately after HR=.
    3. Contact technical support with the error code
      • Provide that HR error code to the Microsoft 365/tenant administrator or Microsoft support so they can look up the specific cause and resolution using the known error codes list.

    If this is happening when signing into Microsoft 365 apps (like Outlook desktop) rather than the browser, also verify that sign-in works at www.microsoft365.com. If browser sign-in works but desktop apps fail, run the Microsoft 365 Support and Recovery Assistant for Outlook connection issues as described in the Outlook connection troubleshooting article.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.