How Can I set intune to pick up primary user based on log in. i need this to set to the user who logs in 3 time in a row

Esther Barhalibirhu 0 Reputation points
2024-11-07T15:48:43.07+00:00

How Can I set intune to pick up primary user based on log in. i need this to set to the user who logs in 3 time in a row

Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
963 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xenia-MSFT 2,830 Reputation points Microsoft Vendor
    2024-11-08T02:06:51.45+00:00

    @Esther Barhalibirhu Thanks for posting in our Q&A.

    Based on my experience, there is no method to pick up who logs in a device several times via intune.

    Currently, we can get last logon user via Graph. We can find usersLoggedOn stores the last logged on user object id of a device. We can see more details in the following link: https://learn.microsoft.com/en-us/graph/api/resources/intune-devices-windowsmanageddevice?view=graph-rest-beta

    https://learn.microsoft.com/en-us/graph/api/intune-devices-windowsmanageddevice-get?view=graph-rest-beta

    Thanks for your understanding.


    If the answer is helpful, 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.

    0 comments No comments

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.