Export Intune Device configuration Logged in user on Multiple devices

JayR-0016 0 Reputation points
2023-12-12T01:21:27.53+00:00

Hi,

Is there a way to export the Logged in user on Intune Device configuration for multiple machines? The primary user UPN is different is most likely the account used to sync device on Intune. What I need is the current user logged to machines which can be found on Intune > Device configuration >Logged in user

Thanks

Microsoft Security | Intune | Configuration
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 54,201 Reputation points Microsoft External Staff
    2023-12-12T02:59:36.8366667+00:00

    @JayR-0016, Thanks for posting in Q&A. To export all the logged in user property of one device configuration policy, you can click export in the following location.

    User's image

    If you want to get currently log on user on devices, you can try the whoamI command.

    Meanwhile, usersLoggedOn stores the last logged on user object id of a device. You can read the following link to see if it can get any information you want.

    https://learn.microsoft.com/en-us/answers/questions/335692/find-out-last-logon-user-of-mdm-assigned-coporate

    Hope the above information can help.


    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.


Your answer

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