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.

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 Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,949)