OneDrive infinite login-MFA loop on work-issued Macbook but not Web or on personal Macbook

Infinite Loop Victim 20 Reputation points
2026-07-24T17:39:30.7+00:00

I'm using a work-issued M2 2022 13" Macbook Air running Tahoe 26.5.2. We use Microsoft 365, and all of a sudden a few days ago my (Standalone) OneDrive app entered an infinite loop:

  1. Open OneDrive
  2. Input my work email address
  3. I'm brought to my work's SSO login page
  4. I input my work password and I am directed to Microsoft Authenticator
  5. I input the code
  6. It says "signing in," and then goes back to #3 (my work's SSO login page)

I am not receiving any sort of error message, I'm just sent back to my work's SSO login page. The weird part is that it lets me log into OneDrive using MFA just fine on web. I don't get the error message you would if you input your password or MFA code wrong (I tried and doing that gives me a normal error message related to the password/code being wrong). I tried restarting my laptop, resetting OneDrive on my device, all of the steps here: https://nektony.com/how-to/uninstall-onedrive-on-mac, and clearing my Safari cache. I've also tried it on different WiFi. I am not logged into my personal Apple ID since it is my work computer so I don't have anything in Keychain or Passwords. I am, however, able to log in just fine via my personal laptop, which is an M3 2024 13" Macbook Air (also running Tahoe 26.5.2). This worked when I tried it with both the App Store version and the Standalone version.

Both myself and my work's IT are at a loss of what to try. Please help!


Moved from Microsoft 365 and Office | OneDrive | Other | MacOS

Microsoft 365 and Office | OneDrive | For business | MacOS
0 comments No comments

Answer accepted by question author
Jade Ng 14,785 Reputation points Microsoft External Staff Moderator
2026-07-25T04:00:15.1233333+00:00

Dear @Infinite Loop Victim,

Thank you for providing such detailed information and for outlining all the troubleshooting steps you've already completed.

Based on what you've described, the issue does not appear to be related to your account credentials or MFA registration itself, as the authentication process completes successfully and the same account can sign in through OneDrive on other devices. Instead, the behavior suggests that the problem may be related to the local authentication state, device registration, or cached identity information on the affected Mac. Similar sign-in loop scenarios can occur when the device's authentication tokens, SSO registration, or corporate device configuration become out of sync with Microsoft Entra ID.

To help narrow this down further, could you please ask your IT administrator to verify the following:

  1. Is the affected Mac properly registered and compliant in Microsoft Intune/Company Portal (if your organization uses device management)?
  2. Does the issue occur when signing into any other Microsoft 365 desktop applications on this Mac, such as Outlook, Teams, or Word?
  3. Are there any Conditional Access, device compliance, or sign-in policy failures shown in the Microsoft Entra sign-in logs for the affected sign-in attempts?
  4. Has the device recently been re-enrolled, restored from backup, migrated, or had any corporate management profile changes applied?

In addition, I recommend collecting OneDrive diagnostic logs from the affected Mac and having your IT administrator open a Microsoft 365 support ticket through the Microsoft 365 Admin Center > Support > New service request. Microsoft support can review the authentication and sign-in traces to determine whether the loop is being caused by device registration, SSO, Conditional Access, or a OneDrive client issue. Guidance for collecting OneDrive logs on macOS is available in Microsoft's OneDrive troubleshooting resources.

The support team over there has higher permission than us to investigate the issue from background, they have more resource and correct escalation channel in handling this kind of issues. This would be a more efficient way in handling the case for you. 

For reference:Get support | Microsoft Docs   

Again, I truly appreciate your patience and understanding. Hope you having a nice day and really much warm regards to you as well!

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most 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.