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!
Show your flow.
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.
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.
User | Count |
---|---|
22 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
43 | |
28 | |
25 | |
24 | |
23 |