Problem with Linux and Intune

lcicerale 36 Reputation points
2022-12-06T11:01:18.353+00:00

Hello,

I am trying to enroll an ASUS laptop in the Intune managed by the company I work in. This laptop's OS is Ubuntu 22.04.1 LTS so I followed the steps to enroll a Linux device but the Microsoft Endpoint Manager keeps telling me that the device is Not Evaluated. The Intune Portal on the computer says that the device is Not Compliant, always showing the message "We're still checking if you can access company resources". A Linux policy has been created on Intune but does not seem to be applied. Could anyone tell me how to solve this ? Thanks in advance.

Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,435 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lu Dai-MSFT 28,446 Reputation points
    2022-12-07T02:56:42.613+00:00

    @lcicerale Thanks for posting in our Q&A.

    To clarify this issue, we appreciate your help to collect some information:
    1.Please make sure that "Mark devices with no compliance policy assigned as" is set to "compliant" in Devices > compliance policy > Compliance policy settings.
    268003-image.png

    2.If you have assigned a compliance policy to Linux device, please click on Devices > Linux > select the target device > Device compliance > select the policy that shows "not compliant" > find the specific setting that causes the not compliant status.

    If there is anything update, feel free to let us know.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. LaurentP 5 Reputation points
    2023-03-21T13:35:32.3166667+00:00

    I got exactly the same issue and solved it !

    Solution is simply to start Microsoft Edge. Edge will sign you in with the user of your MS Intune app, then start synchronization.

    At the end of Microsoft Edge profile sync, your MS Intune app status will change from "Not Compliant" to "Compliant".

    Hope this works for you too,

    Kind Regards

    1 person found this answer helpful.
    0 comments No comments

  2. Endre Székely-Benczédi 10 Reputation points
    2023-02-21T15:00:07.0866667+00:00

    Hi,

    I'm unsure if I am supposed to post here with the same problem to not fragment the topic too much, or pot a new question? Basically I have the same issue.

    I installed a new Ubuntu 22.04 LTS Desktop on a Thinkpad notebook. Added the repos and installed Edge and intune-portal as indicated, onboarded by logging in ith the work account. Answered the few dialogues. On the main intune agent screen I see machine name, manufacturer, OS as 'Ubuntu' and similar basic details, and status is shown as "Non-compliant". Refresh button works a couple of seconds and just returns the same.

    "View issues" shows that "We're still checking if you can access company resources". There is also a link saying 'How to resolve this' that doesn't do anything (literally, it's clickable but doesn't open a browser window or anything at all).

    Marking devices with no assigned policy as compliant would be crazy in a production environment, but in my test environment I even enabled this option as indicated in above replies. I also created a Linux compliance policy with only the password policy and this is assigned to the machine (to all machines in fact).

    In Intune console machine status shows as "Not evaluated". Clicking on the machine details, device compliance, it only shows "Built-in Device Compliance Policy" as "Compliant" with the green checkmark and it doesn't show the compliance policy I created.

    I hve tried a couple of times to delete machine from Intune, removing and purging package from Ubuntu client, reboot, reinstall and add again, with no improvement.


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.