- Install Gnome Keyring, g++, buildtools, make
- Install OpenJDK-11.
- Makesure java default is OpenJDK-11 using below command and selecting Java 11 configuration
sudo alternatives --config java
- Download Ubuntu20.04 deb packages and jar packages from https://drive.google.com/drive/folders/1KT4ZUlMEQMQXVw_JfgqHBo5yzbjsF5WG?usp=sharing .
- Extract these deb packages to directory "~/intune-install/".
- Obtain deb package of intune portal from https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/i/
- Obtain deb package of MSAL from https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/m/
- Obtain deb package of msft-identity-broker from https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/m/
- Extract these deb packages and install the files in /usr/ directory. A normal cp works.
- Open
/opt/msft/identitybroker/bin/msft-identity-device-broker
and replace jar files of slf4j with below line in CLASSPATH definition (line 83)
/opt/msft/identitybroker/lib/slf4j-api-1.7.7.jar:/opt/msft/identitybroker/lib/log4j-to-slf4j-2.0.2.jar:/opt/msft/identitybroker/lib/slf4j-jdk14-1.7.24.jar
- Copy jar files downloaded in step 1 to
/opt/msft/identitybroker/lib/
.
- Start intune-portal by
LD_LIBRARY_PATH="~/intune-devel/curl-rpm/usr/lib/x86_64-linux-gnu/:~/intune-devel/curl-install-7.65/lib/:~/intune-devel/msalsdk-dbusclient/usr/lib/:~/intune-devel/sdbus-cpp/usr/lib64/:$LD_LIBRARY_PATH" /opt/microsoft/intune/bin/intune-portal
journalctl -f -u msft-identity-device-broker.service
journalctl -f --user -u msft-identity-broker.service