web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get User Profile - Use...
Power Automate
Unanswered

Get User Profile - User Not Found

(0) ShareShare
ReportReport
Posted on by 280

Hi All,

 

Can one of you guide me to understand the issue.

My Flow starts with a "For a selected file" trigger.

Then comes the action 'Get_user_profile_(V2)'

 
I tried using the flow with my credentials, get user profile works very well. no issues.
When my coworker tries to run the flow, get user profile failed. Error " User Not Found"
 
Can one of you figure the problem here?
 
Thanks
C1
Categories:
I have the same question (0)
  • v-yiwenxie-msft Profile Picture
    Microsoft Employee on at

    Hi @cadone 

     

    That's maybe your coworker uses his/her own connection for Power Automate and trys to get a user's profile whose email domain name is not the same as his/her own connection's email domain name.

     

    If the user wants to get a user's profile, then his/her connection must use the same domain name as that of 'User(UPN)' in 'Get User Profile'.

     

    For example, if one's connection uses user1@domain.com as the email address, then the 'User(UPN)' must be ***@domain.com.

     

    If the problem still exists, please feel free to let me know. 

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Ayushupadhyaya Profile Picture
    2 on at

    I am not able to get the solution. The problem is still existing.

  • MWibisono Profile Picture
    75 on at

    How can I get the different domain?

  • MS-07071656-0 Profile Picture
    3 on at
    Has anyone else answered this yet?
  • Tomac Profile Picture
    4,086 Moderator on at
    In the failed run, when you check the inputs of the failed Get User Profile action do you see an expected username for your coworker? If it won't show the inputs, put a Compose action prior to Get User Profile with the same data you're dropping into the Get User Profile action and have your coworker try it again, knowing it will fail. The failed run should have the necessary information in the Compose action's outputs.
     
    This will allow you to see exactly what credentials your coworker is providing and allow you to debug the faulty interaction.
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at
     
    With the SharePoint trigger, if you are directly using user email in the get profile action, it generally uses a base 64 encoded value for the email. Can you try this expression in your get profile action: 
     
    triggerOutputs()['headers']['x-ms-user-email']
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard