How to fix Something went wrong. [7anyj]

IT Support 0 Reputation points
2026-08-09T15:43:29.42+00:00

Hi,

I am getting an error while logging into my Office 365 account on my MacBook.

Error message: “Something went wrong. [7anyj]”

Microsoft 365 and Office | Install, redeem, activate | For business | MacOS
0 comments No comments

1 answer

Sort by: Most helpful
  1. Hin Vo 445 Reputation points Independent Advisor
    2026-08-09T16:04:49.3433333+00:00

    Hi @IT Support

    Based on my research, the "Something went wrong. [7anyj]" error on macOS is commonly associated with a Microsoft 365 sign-in or authentication issue. This can occur when stored credentials become corrupted, authentication tokens are no longer valid, or the Office application is unable to complete the sign-in process successfully.

    As a first step, please verify that you can successfully sign in to https://www.office.com using the same Microsoft 365 account. If you cannot access the web portal, the issue may be related to the account itself, licensing, or authentication policies rather than the Office application on your Mac.

    If you can sign in through the web browser, please open Keychain Access on your Mac and remove any saved Microsoft-related credentials, including entries containing Microsoft Office, Microsoft Identity, ADAL, MSAL, or your Microsoft 365 email address. These credentials are used by Office applications for authentication, and corrupted entries can prevent successful sign-in. After removing them, restart your Mac and try signing in again.

    Additionally, please ensure that your Microsoft 365 application is updated to the latest version. Updates frequently contain fixes for authentication and sign-in related issues. You can check for updates by opening any Office application and selecting Help > Check for Updates.
    You can refer more via: https://learn.microsoft.com/en-us/answers/questions/5738217/office-error-something-went-wrong-when-signing-in
    I hope this helps.

    If you have any additional concerns, feel free to comment below. I would be more than happy to assist. 

    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.