Intune issue on some Ubuntu 22.04 LTS clients

Mats Engström 0 Reputation points
2025-05-23T11:55:26.1466667+00:00

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?

Microsoft Security Intune Microsoft Intune Linux
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mats Engström 0 Reputation points
    2025-06-26T09:03:03.2333333+00:00

    This reinstall method seems to be working to resolve the problem:

    sudo apt -y remove microsoft-identity-broker
    sudo apt -y purge microsoft-identity-broker
    sudo apt -y purge intune-portal
    rm -rf ~/.config/microsoft-identity-broker
    sudo rm -rf /var/lib/microsoft-identity-device-broker
    rm -rf ~/.local/state/microsoft-identity-broker
    mkdir -p ~/.config/microsoft-identity-broker
    sudo apt -y install intune-portal
    systemctl --user daemon-reload

    Start Intune, login and register the device. It will now be correctly registered in Entra ID and Intune.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.