How to Fix Microsoft Intune Sign-In Loop on Ubuntu 22.04
Question details
The user experiences an infinite sign-in loop in the Microsoft Intune app on Ubuntu 22.04 LTS, continuously prompting for password and 2FA.
- Product
- Microsoft Intune
- Device & OS
- Ubuntu 22.04 LTS
- Scenario
- Attempting to sign in and use the Intune app after a user account was previously removed from the Intune environment.
- Observed behavior
- The application repeatedly requests the password and two-factor authentication code. Standard troubleshooting steps like reinstalling the Intune app, Microsoft Edge, and identity broker configurations do not break the loop.
Ensure you have administrator (sudo) privileges on your Ubuntu machine and gather any specific error codes that appear during the authentication prompts.
Seek Specialized Support for Linux Identity Broker
Because persistent Linux sign-in loops involving Intune often stem from deep-seated identity broker configurations, escalating the issue to the official Microsoft Intune forum is the most effective approach.
Reinstalling Microsoft Edge and the Intune client frequently fails to resolve this issue because underlying authentication tokens or device registration states remain cached on the system.
Microsoft's engineering team provides specialized troubleshooting for Linux-specific identity broker behaviors directly through their official Q&A channels.
Document your exact Ubuntu version (22.04 LTS), the Microsoft Intune app version, and the Microsoft Edge version currently installed on your system.
Navigate to the official Microsoft Intune Q&A forum at https://learn.microsoft.com/en-us/answers/tags/415/intune in your web browser.
Click 'Ask a question' and detail your specific scenario, mentioning that reinstalling the identity broker configuration did not clear the continuous 2FA loop.
Experience Hassle-Free Productivity on Linux with WPS Office
While you wait for a resolution to your Intune and identity broker issues on Ubuntu, ensure your daily productivity remains uninterrupted. WPS Office offers a fully-featured, lightweight office suite that runs natively on Linux without complex enterprise authentication dependencies.
- 1. Download the Linux Package: Visit the official WPS Office website and download the appropriate .deb package tailored for Debian/Ubuntu systems.
- 2. Install the Software: Open your terminal and use the 'sudo dpkg -i' command followed by the downloaded filename to install WPS Office.
- 3. Start Creating: Launch WPS Writer, Presentation, or Spreadsheets directly from your application launcher and immediately start editing your documents.

Frequently Asked Questions
Why does Microsoft Intune loop on the sign-in screen on Ubuntu?
This usually occurs due to caching problems within the Linux identity broker configuration, or when residual device registration data conflicts with the server after a user account has been removed from the Intune portal.
Does reinstalling the Intune app clear the sign-in cache on Linux?
Not always. The identity broker settings and Microsoft Edge cache often persist in hidden system or user directories even after a standard uninstallation, causing the 2FA loop to resume upon reinstallation.
Where can I find troubleshooting logs for Intune on Ubuntu?
Intune and authentication logs on Ubuntu are typically recorded in the system journal. You can review them using standard 'journalctl' commands or by checking application-specific directories under your user's home folder.




