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

  • On the downloaded package, right click and choose this option : Open With Other Application

  • Select Software Install
  • Click Install
  • Microsoft Edge is installed

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
Reboot your device.

Connect your device to Microsoft Intune

  • Open Microsoft Intune App

  • Click Sign in

  • Enter your email address and click Next

  • Enter your account password and click Sign In

  • Click Register


  • click Begin

  • Click Begin

Your device is enrolled on Microsoft Intune.




Popular posts from this blog

How to implement Applocker with Microsoft Intune

How to reset computer in OOBE mode

Microsoft Intune, Uninstall Win32 app with the company portal