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!
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!
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:
Best Regards,
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):
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.
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional