cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nicole44
Regular Visitor

Power Automate shows "Unknown User" for Microsoft Teams user

Currently I have a flow that emails a list of messages from a Microsoft Teams channel. Currently the email displays messages like this:

 

[User's Display name]

[User's message]

 

However, for one particular user, his display name has started showing up as "Unknown user" in the emails, despite him being an active user. In Teams his name shows up normally, so I don't understand why it's showing up as "Unknown user" when the flow runs.  I'm at a loss for how to fix this, so any help would be greatly appreciated!

2 REPLIES 2
VictorIvanidze
Community Champion
Community Champion

Show your flow.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.
nicole44
Regular Visitor

nicole44_0-1659967013936.png

nicole44_1-1659967095348.png

In Filter array above, the text is: @And(greater(ticks(item()?['CreatedDateTime']), ticks(addDays(utcNow(), -1))),not(equals(item()?['from']?['user']?['displayName'], 'Name1')),not(equals(item()?['from']?['user']?['displayName'], 'Name2')))

I've censored the actual names of the users, but Name2 is the one that shows up as "Unknown User" in the email.

nicole44_2-1659967274552.png

The Filter array 2 contains: @And(greater(ticks(item()?['CreatedDateTime']), ticks(addDays(utcNow(), -1))),or(equals(item()?['from']?['user']?['displayName'], 'Name1'),equals(item()?['from']?['user']?['displayName'], 'Name2')))

Again Name2 is having the "Unknown User" issue.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,200)