Superseded

These notes have been superseded by 20240112-1400 - Intune on Fedora 39.

Intune on Fedora 38

Based on https://taoofmac.com/space/com/microsoft/intune

Install dependencies:

sudo dnf install alien sdbus-cpp java-11-openjdk

Download latest package versions of:

alien --scripts -r *.deb

Without using --force, install will fail with:

file /usr/lib from install of msalsdk-dbusclient-1.0.1-2.x86_64 conflicts with file from package filesystem-3.18-3.fc38.x86_64

So install with --force:

sudo rpm --force -ivh msalsdk-dbusclient-*.rpm
sudo rpm --force -ivh microsoft-identity-broker-*.rpm
error: Failed dependencies:
    libcurl.so.4(CURL_OPENSSL_4)(64bit) is needed by intune-portal-1.2307.12-2.x86_64

Work around this by using --nodeps in addition to --force:

sudo rpm -ivh --force --nodeps intune-portal-1.2307.12-2.x86_64.rpm

Run systemctl edit microsoft-identity-device-broker.service and add the following override:

[Service]
Environment="JAVA_HOME=/usr/lib/jvm/jre-11-openjdk/"

Run systemctl --user edit microsoft-identity-broker.service and add the same override as above here as well.

Now enable and start the services:

systemctl enable --now microsoft-identity-device-broker.service
systemctl --user enable --now microsoft-identity-broker.service