How to get the manager with the get-user?

Andy Kw
Occasional Contributor


I've added managers to a handful of employees with the command line for the purpose of testing


Set-User -Manager Big.Boss

I can see the manager through the graphical interface of Office 365 but when using the get-user cmdlet, nothing is coming.


When looking at the doc, nothing is mentioned though.

Any ideas?



4 Replies

You should connect to Azure AD and run Get-AzureADUserManager

And for adding manager to Office 365 users you can use Set-AzureADUserManager

Hi P.R,


Thanks for the quick reply.

The Set-AzureADUserManager is only available the azure ad, right?






Yes, you should install Azure AD module for Powershell:


(please mark my reply as accepted response if it helped)

Get-User should also reflect on the changes though. It might be some delay replication, but that shouldn't take more than a couple of minutes.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
50 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Dev channel update to 80.0.355.1 is live
josh_bodner in Discussions on
67 Replies