Forum Discussion
Ubuntu 24.04 LTS + Entra ID Authentication + Intune Enrollment
Brother, I have exactly the same problem as you. However, I couldn't get past the first step, which is when I receive the code [4u3gb] after authenticating with the Entra-ID user and opening the Intune Portal.
Even though it's a manual process, could you show me how you managed to complete the registration? Would it be possible to share a step-by-step guide? I haven’t been able to register the application despite multiple attempts. I noticed the issue only occurs when using Entra-ID, resulting in the code [4u3gb] in the Intune Portal. At the company, I want to use Linux, so solving this step would be a significant breakthrough.
If I test with a local machine user, without using authd (Entra-ID), and use the local user with the Intune Portal, it allows me to register the application. So, I’d like to know how you managed to do it.
The image below shows the code I receive after logging in with my Entra-ID (authd) user and opening the Intune Portal to try to register the device.
Here is the installation script (https://justpaste.it/authd-intune-portal-ubuntu24) I used to complete the process, starting with a clean installation of Ubuntu 24.04, followed by the procedure to install authd, as described in the link: https://canonical-authd.readthedocs-hosted.com/en/latest/howto/.
I also followed Microsoft's instructions to install the Intune Portal, available at the link: https://learn.microsoft.com/en-us/mem/intune/user-help/microsoft-intune-app-linux.
It’s important to note that when logging in with a local user and opening Intune, I can authenticate and register the device without any issues. However, when using the Entra-ID user, the error I am reporting occurs. I have already verified that my application has all the required permissions as outlined in the documentation.
Please, I need help, because I want to continue using Linux in the company where I work, but we can only do so if I can solve the problem...
I experienced same 4u3gb error on fresh installed Ubuntu LTS (standard or Cinnamon).
The solution was to install intune-portal and microsoft-identity-broker from insiders-fast suite, where newer versions are available (1.2511.7 and 2.0.3).
I replaced "default" Microsoft-provided /etc/apt/sources.list.d/microsoft-ubuntu-noble-prod.list with /etc/apt/sources.list.d/microsoft-ubuntu-noble.sources:
Types: deb
URIs: https://packages.microsoft.com/repos/microsoft-ubuntu-noble-prod/
Suites: noble insiders-fast
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/microsoft.gpgThe new version is more lightweight and not java-dependent.