How to get the value of LiveId use Microsoft Graph's cmd

Anonymous
2021-12-15T08:54:12.597+00:00

Hi

How do I get the value of LiveId use Microsoft Graph's cmd ?

Before, I used Get-MsolUser -All | Select-Object UserprincipalName,ImmutableID,LiveId in PowerShell to get it, but now I use Get-MgUser. After execution, there is no' LiveId'. I also

looked for the website where the two were compared, but I couldn't find it please help me.

Thanks in advance
157845-thumb-clipboard-2021%E5%B9%B412%E6%9C%8815%E6%97%A5%E4%B8%8B%E5%8D%884%E7%82%B949%E5%88%86.png

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,517 questions
{count} votes

Accepted answer
  1. CarlZhao-MSFT 46,326 Reputation points
    2021-12-16T02:27:35.57+00:00

    Hi @Anonymous

    You cannot use Microsoft Graph PowerShell to list the value of LiveId, because the graph api does not include this attribute of the user.


    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

0 additional answers

Sort by: Most helpful

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.