In this post, we will get the user profile using the MS Flow. To start with, create an Instant cloud flow in Power Automate and add a new action.
The action we need to add is Get user profile (V2)
.

It asks for user principal name. It is nothing but the user email address. You can hardcode it or pass a variable that contains the email address.
Below is how the complete flow looks like.

Save the flow and test it manually. Check the output of the user profile action to find the details.

You must be logged in to post a comment.