Start managing your Linux with Intune

It´s time to start enrolling your Linux computers to Intune. Linux started to show in Intune back in 2022 and we have not seen any big changes after that. So, let’s assume the initial bugs are solved and we can start the enrollments.

Why Enroll your Linux?

The management possibilities are still very limited. Very limited! So, keep your expectations on a low and basic level. But even this basic management can be of great value for some business.

  1. You get an inventory of your Linux devices.
    Linux are often a big black hole and you have no idea who and what they are using.
  2. You can verify compliance.
    If you have verified compliance, you can use Conditional Access to block non-compliant Linux devices.
  3. User can keep track of devices
    The Linux computer will show up as a device in Company Portal

How do I enroll my Linux?

First you need to fulfill the prerequisites. Intune supports only a limited set of Linux flavors.

  • Ubuntu 20.04 and later with GNOME (GUI)

Yes, that´s it. It might also be possible on other flavors of Debian. But not supported (yet)

Then it´s time to install the required components, Edge and Microsoft Intune.

  1. On your Ubuntu computer, open Terminal
  2. Update your Ubuntu by running this command:
Sudo apt update && Sudo apt upgrade -y
  1. Install Curl by running this command:
Sudo apt install curl gbg
  1. Add Microsoft repository and add your GPG key to authenticate by running:
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 sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge.list'
sudo rm microsoft.gpg
  1. Update the package lists by running:
Sudo apt update
  1. Install Edge Browser by running:
sudo apt install microsoft-edge-stable
  1. Install Microsoft Intune by running:
sudo apt install intune-portal

Now the required components are installed. let’s enroll

  1. Open the app Microsoft Intune
  2. Click Sign In
  1. Sign in with your M365 credentials
  2. When asked to Register Device, Click Register
  1. If using Multifactor, it will prompt you to verify credentials.
  2. Back in Microsoft Intune app, select Begin
  1. Read what my organization can see or do, and select Begin
  1. If all goes well, the Linux device is now enrolled in Intune.

The compliance is always non-compliant until the compliance has been tested. select Refresh to update compliance information

When compliance is verified, you can select View issues and read what you need to do to be compliant:

Manage your Linux devices in Intune

As I listed before, there is only a few features at the moment.

Inventory

You can list your devices

You can see some hardware and soft attributes on the device

Compiliance

You can create compliance policies and evaluate a few compliance settings:

Conditional Access

We also have support in Conditional Access for Linux, so now that you can verify compliance, you can require the Linux device to be compliant to access all apps.

Thats about it. I really hope there is more to come. But this is a god start!

About The Author

Mr T-Bone

Torbjörn Tbone Granheden is a Solution Architect for Modern Workplace at Coligo AB. Most Valuable Professional (MVP) on Enterprise Mobility. Certified in most Microsoft technologies and over 23 years as Microsoft Certified Trainer (MCT)

You may also like...