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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with @mention fu...
Power Automate
Unanswered

Issue with @mention functionality in SharePoint Page Comments

(0) ShareShare
ReportReport
Posted on by 14

Hello 🙂

I am currently working on making Comments on a SharePoint / Site Pages and incorporating the @mention feature to notify specific users from the O365 directory. I have tried sending an HTTP request to SharePoint/Site Pages/Comments, see the connector:

bart_hek_3-1708019268647.png

While the text is successfully posted, I am encountering an issue with the @mention{} function. See the sample Comment:

bart_hek_0-1708019044345.png

Also see the Raw Output of HTTP request: the "mentions" field passes as an empty array "[ ]". Eventually that's why the @mention{} function fails to activate and is rendered as text/string ...@mention{0}....

bart_hek_1-1708019132979.png

Appreciate any guidance on how to resolve this issue. 

While I am currently using HTTP requests, I am open to other approaches if they offer a more effective solution facilitating @mention{} functionality.

 

Thank you in advance for time and consideration.

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @bart_hek ,

    It was an intrigue question. So I made a test on my side. It worked using ... 

    {
     "text":"Hello, @mention{0} this is a test ...",
     "mentions":[
     {
     "email":"gabi.balaban@itassist.eu"
     }
     ] 
    }

    gabibalaban_0-1708027379486.png

    gabibalaban_1-1708027506688.png

     

    Give it a try ... 

    Hope it helps !

     

     

  • bart_hek Profile Picture
    14 on at

    Hello! 🙂 Thank you for replying so quick.

     

    I tried the JSON from your snippet. I only swapped your email with my email. (BTW, you use &#123 and &#125, {} instead.)

    bart_hek_2-1708078934833.png

     

     

    Unfortunately I the problem remains unsolved, see this:

    bart_hek_0-1708078249563.png

     

    1) Can you show what do you have in the Advanced Parameters? FYI, for the sake of experiment I have removed my entries, leaving Adv Params blank. This has caused a change in the Raw Output. Although the "results" is still an empty array [] it seems that it was actually trying to look me up.

    bart_hek_1-1708078427349.png

     

    2) The other difference I see is that your URI contains getbyid while my contains getbytitle. Not sure of this could make a difference. I would exclude as a potential root cause because it's actually pointing at the right Page, and the right section of it. Thoughts on this?

     

    3) Last: you mind sharing your Raw Output?- this section at the bottom where mentions kick in?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard