Intune portal app in ubuntu 22.04LTS says disk is not encrypted but the drives are already encrypted with luks

Vigneshwaran 65 Reputation points
2023-06-22T13:17:08.3133333+00:00

Intune portal app in physical ubuntu 20.04LTS says disk is not encrypted while checking for complainace but the drives are already encrypted with luks.Have tried uninstall/reinstall/restart and also the user is found in appropriate AD group but intune reports that the device is not evaluated. How to troubleshoot this issue? Have attached the intune portal app error message and also disk encryption status.IMG-20230622-WA0003

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,201 questions
{count} votes

Accepted answer
  1. Ryohei Ueda 90 Reputation points
    2023-07-15T04:12:28.9666667+00:00

    Does your user have a read permission to access those device files such as /dev/nvme0n1p?

    In my case, the following command and rebooting solved the issue.

    sudo usermod -a -G disk <USER_ACCOUNT>
    
    3 people found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Vigneshwaran 65 Reputation points
    2023-07-18T16:37:02.42+00:00

    Solution that works:

    sudo usermod -a -G disk <username>

    sudo rm -f /home/[username]/.config/intune

    Reboot and then open app and check complaint.

    1 person found this answer helpful.
    0 comments No comments

  2. Simon Ren-MSFT 35,391 Reputation points Microsoft Vendor
    2023-06-23T01:59:10.6533333+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    To troubleshoot this issue, it is suggested to check the compliance policies in use for Ubuntu devices in Intune. Intune provides a built-in encryption report that gives encryption status details across all managed devices, including encryption status of Windows and Linux devices. If the policy contains specific requirements or criteria that are not met, such as the Linux flavor or version that is unsupported, the device may be marked as non-compliant.

    You can view the compliance issues by signing into the Intune portal, selecting the device and clicking "View Issues" on the device details page. The app shows the reason for non-compliance, such as the device's operating system is not supported.

    Use custom compliance policies and settings for Linux and Windows devices with Microsoft Intune

    Check status in Microsoft Intune app for Linux

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. George Stamatakis 5 Reputation points
    2023-06-26T10:31:28.06+00:00

    This is also happening to our company and the actual issue is that Intune portal, on all linux devices that we tried to enroll last week, is unable to check the status of encryption.

    We run Intune portal from the terminal, to monitor the tasks it performs while checking status and we see the following error: Failed to assess device encryption: Checking encryption state of /

    image (2)

    Stuck there for days and refresh/check status, provides the same result.

    All Ubuntu 22.04 LTS devices are encrypted during installation

    Any help would be appreciated.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.