cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ASLR
Helper I
Helper I

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
v-yamao-msft
Community Support
Community Support

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.

View solution in original post

3 REPLIES 3
v-yamao-msft
Community Support
Community Support

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.

View solution in original post

Get User Profile fixed the issue with the manager emails. 

 

Thank you for your assistance, 

 

Regards, 

Aslr12

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,003)