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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get User ID of Person ...
Power Automate
Answered

Get User ID of Person Posting Teams Message

(0) ShareShare
ReportReport
Posted on by 53

I'd like to get the user ID of the person posting a Teams Message (for use later in assigning that person a task).  I see the from user ID in the output from the When a New Channel Message is Added trigger, and think I can do this with the triggerbody function... but am struggling with correct syntax.  Help?!

Knhmayo_0-1596300229088.png

 

Categories:
I have the same question (0)
  • Verified answer
    Knhmayo Profile Picture
    53 on at

    Nevermind--finally figured it out.  New at this and wasn't sure how to drill down, but got it:

    triggerbody()?['from']?['user']?['id']

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard