I ask for your help for an error on a particular action on Teams.
I have a Power Automate flow, which post particular messages on several channels. But on one of these channels I have an error, with the following message : "Message text mention needs to be specified". What are the possible reasons of this message ?
I have verified the account used for the execution of this flow. He can write properly on this channel manually. He can send a small message to this channel with the action "Post a message in a chat or a channel".
But the message, which is prepared in my flow and sent with this action, is a long message written in HTML.
In this case it mentions an user with <at> tag. Is there a limit for the email written between <at> and </at>? How many characters could contain this email?
Thank you very much for your help
Hello,Thank you very much for your help, Sam Duval
In my flow the user was mentioned with his email and the <at> tag. And there was an error when the email of the user is very long (42 characters). I thought this email could not be interpreted.
So I get the User ID (Microsoft 365) with the "Get User Profile" action. I mention the user with his User ID between <at> and </at>. There is no more error on my flow