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.




Comments

Popular posts from this blog

Windows 11 security check with Powershell

SCCM - Erreur 0x87D00664 lors de l'installation de la mise à jour de Juin 2020

Send email alert if Reboot or shutdown a Server with Powershell