We use Intune on our Ubuntu 22.04 LTS clients, but some having issues during registration, or stops contacting Intune to update status and receive policies.
When the registration goes wrong, the Ubuntu version registered in Entra ID is 1.0 instead of 22.04 and in Intune it is registered as 0.0.0.0 or is empty, and the Manufacturer is empty as well. When selecting a device to check the details, the OS is 'Linux ()' instead of 'Linux (Ubuntu)'.
After registration the communication stops even if the user login to the Intune desktop app and click "Refresh". If we run /opt/microsoft/intune/bin/intune-agent it fails with "ERROR oneauth{tag="5z3wa"}: (Code:1200) The credential is invalid." This happens even if the user successfully has logged in to the application. On other clients this works fine even if they have closed the Intune desktop app. It will only fail if/when the token has expired, so they need to login again.
I've been troubleshooting this for some time now, and uninstalling/re-installing the app, and unregister/register the devices have not helped. We are on the latest Linux Intune version 1.2503.10, but it has failed the same way with earlier versions too.
Has anyone else experienced this and found a solution?
BTW: Ubuntu 24.04 LTS can be Entra ID joined. Will Intune work better then?