Forum Discussion
Get User's information from Azure Active Directory
- Jul 17, 2019
ERobillard Thank you for the help Eli Robillard.
As you mentioned, I couldn't find a way to get Manager Name, but I found a work around to get Manager's email ID to send an email, which was the requirement.
I used Get Manager(V2) connector and passed User's email ID as User(UPN) and retrieved his manager's email ID.
PriyaRaskar there is an Azure AD Connector though it appears to only support retrieving a limited set of properties, including Mail and Mobile Phone, but not including Manager (Reports-To) or Department.
It's odd, you can set a user's manager or their department using Flow or Logic Apps, but there doesn't seem to be a way to retrieve their current values.
Documentation:
https://docs.microsoft.com/en-us/connectors/azuread/
- PriyaRaskarJul 17, 2019Copper Contributor
ERobillard Thank you for the help Eli Robillard.
As you mentioned, I couldn't find a way to get Manager Name, but I found a work around to get Manager's email ID to send an email, which was the requirement.
I used Get Manager(V2) connector and passed User's email ID as User(UPN) and retrieved his manager's email ID. - PriyaRaskarJul 17, 2019Copper ContributorThank you for the help!
As you mentioned, I couldn't able to retrieve manager's information, but found a work around to get manager's email and used it to fetch information.
I used Get Manager(V2) connector and passed email ID as User(UPN) to get user's Manager email ID.