Edit

Share via


What is Microsoft Single Sign-on to Linux?

Microsoft Single Sign-on (SSO) for Linux is powered by a software component that can be installed onto a Linux device that integrates with Microsoft Entra ID. Microsoft SSO for Linux enable users to use their Microsoft Entra ID credentials to sign-in to other apps without being prompted for credentials each time a resource is accessed. This feature provides benefits for admins by simplifying the sign-in process for users and reducing the number of passwords they need to remember.

Features

This feature empowers users on Linux desktop clients to register their devices with Microsoft Entra ID, enroll into Intune management, and satisfy device-based Conditional Access policies when accessing their corporate resources.

  • Provides Microsoft Entra ID registration & enrollment of Linux desktops
  • Provides SSO capabilities for native & web applications (ex: Azure CLI, Microsoft Edge Browser, Teams PWA, etc.) to access M365/Azure protected resources
  • Provides SSO for Microsoft Entra accounts across all applications that utilize MSAL.NET or MSAL.python - enabling customers to use Microsoft Authentication Library (MSAL) to integrate SSO into custom apps.
  • Enables Conditional Access policies protecting web applications via Microsoft Edge
  • Enables Standard compliance policies
  • Enables support for Bash scripts for custom compliance policies

The Teams web application and a new PWA (Progressive Web App) for Linux uses the Conditional Access configuration, applied through Microsoft Intune Manager, to enable Linux users to access the Teams web application using Microsoft Edge in a secure way. This capability helps organizations use an industry-leading, unified endpoint management solution for Teams from Linux endpoints with security and quality in mind.

Requirements

The Microsoft single sign-on for Linux is supported with the following operating systems (physical or Hyper-V machine with x86/64 CPUs):

  • Ubuntu Desktop 24.04, 22.04 or 20.04 LTS
  • RedHat Enterprise Linux 8
  • RedHat Enterprise Linux 9

Configuration

You can find more information and instructions on how to configure in these articles:

SSO experience

This video demonstrates the sign-in experience on brokered flows on Linux

Demo of the Linux Login component component

Deployment

Installation

Run the following commands in a command line to manually install the Microsoft single sign-on (microsoft-identity-broker) and its dependencies on your device.

  1. Install Curl.

    sudo apt install curl gpg
    
  2. Install the Microsoft package signing key.

    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/     rm microsoft.gpg
    
  3. Add and update Microsoft Linux Repository to the system repository list.

    sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/$(lsb_release -rs)/prod $(lsb_release -cs) main" >> /etc/apt/sources.list.d/microsoft-ubuntu-$(lsb_release -cs)-prod.list'
    sudo apt update
    
  4. Install the Microsoft Single Sign-on (microsoft-identity-broker) app.

    sudo apt install Microsoft-identity-broker
    
  5. Reboot your device.

Update app for Ubuntu Desktop

Run the following commands to update the app manually.

  1. Update the package repo and metadata, which includes intune-portal, msft-broker, and msft edge.

    sudo apt update
    
  2. Upgrade the packages and clean up dependencies.

    sudo apt-get dist-upgrade
    

Uninstall app for Ubuntu Desktop

Run the following commands to uninstall the Microsoft Intune app and remove local registration data from devices running Ubuntu Desktop.

  1. Remove the Intune app from your system.

    sudo apt remove microsoft-identity-broker
    
  2. Remove the local registration data. This command removes the local configuration data that contains your device registration.

    sudo apt purge intune-portal
    

Troubleshooting

If you experience issues when implementing macOS Platform SSO, refer to our documentation on macOS Platform single sign-on known issues and troubleshooting

For more information, see the following Intune documentation: