Skip to content

Instantly share code, notes, and snippets.

@abhijangda
Last active September 30, 2024 06:58
Show Gist options
  • Save abhijangda/64689827f8d30b37254794047d257ce7 to your computer and use it in GitHub Desktop.
Save abhijangda/64689827f8d30b37254794047d257ce7 to your computer and use it in GitHub Desktop.
  1. Install Gnome Keyring, g++, buildtools, make
  2. Install OpenJDK-11.
  3. Makesure java default is OpenJDK-11 using below command and selecting Java 11 configuration
sudo alternatives --config java
  1. Download Ubuntu20.04 deb packages and jar packages from https://drive.google.com/drive/folders/1KT4ZUlMEQMQXVw_JfgqHBo5yzbjsF5WG?usp=sharing .
  2. Extract these deb packages to directory "~/intune-install/".
  3. Obtain deb package of intune portal from https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/i/
  4. Obtain deb package of MSAL from https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/m/
  5. Obtain deb package of msft-identity-broker from https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/m/
  6. Extract these deb packages and install the files in /usr/ directory. A normal cp works.
  7. 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
  1. Copy jar files downloaded in step 1 to /opt/msft/identitybroker/lib/.
  2. 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

Debugging

journalctl -f -u msft-identity-device-broker.service
journalctl -f --user -u msft-identity-broker.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment