How do we get Get-MgUser to return Manager information?

Shanbhogue, Siddharth P 20 Reputation points
2023-09-14T10:41:51.7+00:00

Get-MgUser -UserId "<UPN>" -ExpandProperty "Manager" should return Manager ID as well. however, currently this is not happening.

How do we get this?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,317 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,287 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful