0
votes

I have a Logic App that monitors a shared mailbox for emails subscribing to a service.

However, in our tenant the email addresses don't always match the User Principal Name.

Is there a way to get the UPN for somebody from their email address in a Logic App?

Thanks.

1

1 Answers

1
votes

The Office 365 Users connector has an action:Get user profile (V2), you could use email id to get a GraphUser_V1 body, in the body it includes the User Principal Name(UPN).

enter image description here