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
Community Support
Community Support

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.

View solution in original post

3 REPLIES 3
Community Support
Community Support

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.

View solution in original post

ASLR Helper I
Helper I

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
New Member

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
Did you attend MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’ve streamed the digital event live, or you're watching on-demand, claim your attendee badge to sport on your profile.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (5,213)