Hi, on Ubuntu 26.04 (KDE), I noticed that intune-agent was never working automatically. When I checked the journal, I saw these errors:
Skipping checkin with Intune: Cannot checkin before a user logs in
when ran it manually on the Terminal, it worked fine.
So I straced it and found out that the intune-agent was looking for ".local/state/intune" in user's homedir, but this state directory does not contain anything. The files it was looking for were in ".config/intune" instead. So I did a symlink and it fixed the issue.
ln -s /home/myuser/.config/intune /home/myuser/.local/state/intune
Now the intune-agent works fine.
Hi, on Ubuntu 26.04 (KDE), I noticed that intune-agent was never working automatically. When I checked the journal, I saw these errors:
Skipping checkin with Intune: Cannot checkin before a user logs inwhen ran it manually on the Terminal, it worked fine.
So I straced it and found out that the intune-agent was looking for ".local/state/intune" in user's homedir, but this state directory does not contain anything. The files it was looking for were in ".config/intune" instead. So I did a symlink and it fixed the issue.
ln -s /home/myuser/.config/intune /home/myuser/.local/state/intune
Now the intune-agent works fine.