cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ASLR
Level: Powered On

How does Get User Profile work VS Get my profile action?

Hi, 

 

How does the two differ and can someone show an example whats the difference in the data retrieve by the two and how it can be used via an approval action?

 

For example: how to retrieve the UPN when using get user profile? 

 

The reason I'm asking is that I'm using Get MyProfile action and Get Manager Profile for an approval request and the managers IDs are correct in Azure AD and SharePoint is seeing the correct manager but for some reason, the approval is sending the flow to other people who are clearly not defined in their profile anywhere. 

 

I tried to use the GetUserProfile Action instead but what should I use to enter the UPN as it's not working and giving an error.

 

Thanks in advance, 

 

Regards, 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How does Get User Profile work VS Get my profile action?

Hi ASLR,

 

Action “Get user profile” retrieves the profile of a specific user. Required parameter for this action is user principal name or email id.


You could enter the specific email address in the UPN field, or you could also select a dynamic content that will return an email address for the UPN field.


Please check this documentation to get more details about the connector Office 365 Users:
https://docs.microsoft.com/en-us/connectors/office365users/


By the way, you said that “the approval is sending the flow to other people who are clearly not defined in their profile anywhere”, please check Azure AD and make sure the manager information has been correctly configured.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 REPLIES 3
Community Support Team
Community Support Team

Re: How does Get User Profile work VS Get my profile action?

Hi ASLR,

 

Action “Get user profile” retrieves the profile of a specific user. Required parameter for this action is user principal name or email id.


You could enter the specific email address in the UPN field, or you could also select a dynamic content that will return an email address for the UPN field.


Please check this documentation to get more details about the connector Office 365 Users:
https://docs.microsoft.com/en-us/connectors/office365users/


By the way, you said that “the approval is sending the flow to other people who are clearly not defined in their profile anywhere”, please check Azure AD and make sure the manager information has been correctly configured.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ASLR
Level: Powered On

Re: How does Get User Profile work VS Get my profile action?

Get User Profile fixed the issue with the manager emails. 

 

Thank you for your assistance, 

 

Regards, 

Aslr12

FlowMS
Level: Power Up

Re: How does Get User Profile work VS Get my profile action?

Hi ASLR,

 

I am trying to design now the flow where uset gets manager's approval.

 

It seems that I got stuck, could you share your FLOW structure please.

 

Many thanks

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 205 members 5,080 guests
Please welcome our newest community members: