deviceManagement/managedDevices missing MAC addresses

Jean-Michel Pulfer 1 Reputation point
2022-02-11T12:16:24.907+00:00

Greetings.

On https://endpoint.microsoft.com/ 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
    2022-06-28T15:27:46.187+00:00

    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
    2022-02-14T01:25:42.583+00:00

    @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.

    173858-image.png

    173951-image.png

    173923-image.png

    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.