How to enroll your Linux device to Microsoft Intune
Presentation
Microsoft Intune can now manage Linux devices. For the moment, this integration allows two interests :- to control the compliance of the peripherals
- to have visibility on the existence of these peripherals
To be integrated, Linux devices must meet the following prerequisites:
- OS : Ubuntu 20.04 or 22.04
- Microsoft Edge installed
- Microsoft Intune App installed
- A compliance rule must be created on Microsoft Intune
Installation of prerequisites
Install Microsoft Edge for Linux
- Go to https://www.microsoft.com/en-us/edge?form=MA13FJ
- In this page, click on Linux (.deb)
Install Microsoft Intune Portal
- Open Terminal app on Linux
Install Curl
- sudo apt install curl gpg
Install the Microsoft package signing key
For Ubuntu 20.04 :
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
- sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
- sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/20.04/prod focal main" > /etc/apt/sources.list.d/microsoft-ubuntu-focal-prod.list'
- sudo rm microsoft.gpg
For Ubuntu 22.04 :
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
- sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
- sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/22.04/prod jammy main" > /etc/apt/sources.list.d/microsoft-ubuntu-jammy-prod.list'
- sudo rm microsoft.gpg
Install the Microsoft Intune app.
- sudo apt update
- sudo apt install intune-portal