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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,291)