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

Shanbhogue, Siddharth P 20 Reputation points

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.
2,051 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
870 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,288 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful