How to use "Get Manager" activity in Azure Active Directory (Azure AD) Activities

Hello @ovidiuponoran , Need help on “Get Manager” activity.

I’ve passed the input as UPN.

The OutArgument of this activity is “DirectoryObjectInfo”. I’m not sure how to get the manger email ID from this. Kindly tell me the step to get the email ID of the manager.

Please refer the snapshot attached.

1 Like

Hey @MohamedNiyaz

You need to utilize the properties of your object usr_manager

Just try keeping a dot after your object variable which will popout a tonne of props for you which may help getting the required info.

Hope this helps

Thanks
#nK

Just in case someone comes looking here again…

I don’t know if this has changed, but the Manager output DirectoryObjectInfo does not have “a ton of properties” when you add the dot. But it does have “Id”

So if you use a “Get User” activity and input usr_manager.Id and name the output LMinfo you can then use a whole ton of properties such as LMinfo.DisplayName etc.

BT