Forum Discussion
PriyaRaskar
Feb 17, 2019Copper Contributor
Get User's information from Azure Active Directory
Hello,
I am new to Microsoft Flow.
Creating a flow which requires getting user's information from Azure Active Directory, like Manager name and email address.
How to get user's information from AAD?
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.
4 Replies
Sort By
- ERobillardCopper Contributor
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/
- PriyaRaskarCopper 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. - PriyaRaskarCopper 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.
- Eva VogelSteel ContributorHello! In ms Flow you can pull users information from Office 365 Users Connector. Greets, Eva