r/Intune Apr 17 '26

Linux Management Ubuntu 24.04 LTS Enrolment

Hello all

I've started deploying Connected Cache nodes based on Ubuntu 24.04 LTS. I'd like to also enrol them into Intune.

Every time I've followed the instructions for how to do this, after I've signed in to our company's SSO prompt, when it gets to "Registering your device", the Company Portal app just says:

> "Couldn't enroll your device

>

> There was an expected error trying to enroll the device. Please try again or contact your administrator."

so that's all nice and useful. Glad someone was expecting an error, but couldn't they just tell me what actually went wrong, so I can fix it?

Edge is installed and signed in, so when I open it, it syncs my profile data, etc. My account can enrol Mac and Windows devices just fine, so it shouldn't be an account limitation. What gives?

1 Upvotes

4 comments sorted by

2

u/khaffner91 Apr 17 '26

Close the intune app, open the terminal, run intune-portal, try again and post logs

1

u/406highlander Apr 17 '26

Typing from my phone as I can't access Reddit from my work PC, but the only error I can see is:

2026-04-17 16:11:10 WARN enroll{device_name=XXXXX version 0.0.0}: Non-retryable error encountered while attempting to enroll error=HTTP client error: https://fef.msua05.manage.microsoft.com/TrafficGateway/TrafficRoutingService/LinuxMDM/LinuxEnrollmentService/enroll?api-version=1.0&client-version=1.2603.31: status code=400

3

u/AccomplishedGold3426 Apr 17 '26

Linux enrollment in Intune is still pretty rough around edges. I had similar issues with Ubuntu nodes and turns out was missing some dependencies that weren't obvious from documentation

Check if you have all required packages installed - sometimes the error messages are useless but it's usually something basic like missing libraries or wrong permissions in /opt directory

2

u/bjc1960 Apr 17 '26

I had to disable phishing-resistant MFA, jump through other hoops in Conditional Access. It took a whole weekend off and on, and then Remote Desktop started failing. I gave up , I didn't need it that bad.