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...
- AguinacoJan 16, 2025Copper Contributor
Hi Daniel,
I don´t have a documented step by step guide of the process right now, just a few notes. What I did was:
Login as local User:
- install all the Enta ID stuff
- log in with Entra ID user
- log in again as local user and give admins rights to the Entra ID user (I don´t even know if this step is necessary as I can install later the company portal with the local users password)
After that logged as Entra ID user:
- company portal installation (user is admin)
- lauch Company Portal. It doesn´t work and I receive the same error code
- Launch Edge. I´m asked to save a keyring and provide a password for it.
- Launch again the company portal (Edge is still open,but I think this is irrelevant now), I'm asked for that keyring password and after entering it the enrollment process is successful.
This is where I'm staying now, and honestly, I haven't been able to dedicate more time to test with it. I've done it with VMware virtual machines. If you discover any other clues, please share them with me so we can solve this together.
Best regards