Forum Discussion
Andy Kw
Feb 02, 2018Brass Contributor
How to get the manager with the get-user?
Hi, I've added managers to a handful of employees with the command line for the purpose of testing
Set-User andy.kw -Manager Big.Boss
I can see the manager through the graphical interface ...
- Feb 02, 2018
Yes, you should install Azure AD module for Powershell:
(please mark my reply as accepted response if it helped)
Pablo R. Ortiz
Feb 02, 2018Steel Contributor
You should connect to Azure AD and run Get-AzureADUserManager
https://docs.microsoft.com/en-us/powershell/module/azuread/get-azureadusermanager?view=azureadps-2.0
And for adding manager to Office 365 users you can use Set-AzureADUserManager
Andy Kw
Feb 02, 2018Brass Contributor
Hi P.R,
Thanks for the quick reply.
The Set-AzureADUserManager is only available the azure ad, right?
Cheers,
Andy
- Pablo R. OrtizFeb 02, 2018Steel Contributor
Yes, you should install Azure AD module for Powershell:
(please mark my reply as accepted response if it helped)