deviceManagement/managedDevices missing MAC addresses

Jean-Michel Pulfer 1 Reputation point


On when looking at a managed device I may see the Ethernet MAC address. When querying through Graph API (beta version) the ethernetMacAddress stays null. Am I missing permissions or is this something else?

Note that I have the same issue with the "primary user" for a device: this user shows up in the endpoint, but the graph API returns null for e.g. userPrincipalName.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,569 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,321 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Joe Bowers 16 Reputation points

    just chipping in, it's blank in all places for me, intune powershell module, graph API but it's there in endpoint manager.... How do we query this for all devices these days?

    2 people found this answer helpful.

  2. Lu Dai-MSFT 28,341 Reputation points

    @Jean-Michel Pulfer Thanks for posting in our Q&A.

    Please try to click on "F12" to open DevTools. When we click on the target device, we can find the request URL. Use this requset URL in Graph, we will get the details of the device. I have done the test in my lab, it works well and the ethernetMacAddress and userPrincipalName all have values.




    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.