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

Community site session details

Session Id : b/zX1cG1vtSeguuqwB0Hjw
Power Automate - Building Flows
Answered

Get user info from Office 365 user ID

Like (0) ShareShare
ReportReport
Posted on 27 Jun 2019 07:00:24 by 59

Hi, I'm trying to build a Flow that triggers when a user is added to a Office 365 group. The thing is, this only returns the user ID.

After that, I'd like to get the user's UPN or name to add it to a SharePoint list.

I've tried doing that with the action of Office 365 Users (Search users, Get user profile, etc) but all of them require the user UPN or name, I can't do anything with the user ID.

I also tried with a HTTP request, using the Microsoft Graph to get the info, but it's too complicated, I can't seem to make it work.

 

If anyone can offer same insight I'd appreciate it. Thanks!

  • U_Idigoras Profile Picture
    59 on 28 Jun 2019 at 06:43:00
    Re: Get user info from Office 365 user ID

    Thank you both for your answers.

    That was it, I had to use the Get user profile (V2) action, using the User id to get the user's info. 

    Reading it asked for a UPN I didn't think the ID would work, silly me.

    Thanks again, it's working great now!

  • v-bacao-msft Profile Picture
    on 28 Jun 2019 at 05:31:58
    Re: Get user info from Office 365 user ID

    Hi @U_Idigoras ,

     

    We could use User Id to get user info in Get user profile action.

    If you want to monitor if a user is added to the specified group, please refer to the configuration below.

    Image reference:

    41.PNG

     

    Best Regards,

  • Verified answer
    Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on 27 Jun 2019 at 16:54:43
    Re: Get user info from Office 365 user ID

    @U_Idigoras 

    Hi there - It sounds like you're on the right track.  Can you post what you have so far?  Here's one I made to do the thing (except it send an email instead of adding to a list):20190627.PNG

     

     

     

    If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete