cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mortiz26
Frequent Visitor

Uri error on a HTTP request

Im trying to put @general on a team channel but i cant.

i see this and im trying but all the uri i see is the same

mortiz26_0-1657032642766.png

 

 

mortiz26_1-1657032642636.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yujincui-msft
Community Support
Community Support

Hi @mortiz26 ,

 

Maybe you could try as follows:

https://graph.microsoft.com/v1.0/teams/{teamId}/channels/{channelId}/messages
{
    "body": {
    "contentType": "html",
    "content": "<at id=\"0\">General</at>"   
    },
    "mentions": [
     {
          "id": 0,
          "mentionText": "General",
          "mentioned": {
          "conversation": {
          "id": "{channelId}",
          "displayName": "General",
          "conversationIdentityType": "channel"
           }
        }
   }
 ]
}

vyujincuimsft_1-1657184202548.png

vyujincuimsft_2-1657184256942.png

Result Screenshot:

vyujincuimsft_0-1657184146010.png

 

In addition, here is a link that for your reference.

https://www.damobird365.com/mention-a-channel-or-team-power-automate/

 

 

Best Regards,
Charlie Choi

View solution in original post

1 REPLY 1
v-yujincui-msft
Community Support
Community Support

Hi @mortiz26 ,

 

Maybe you could try as follows:

https://graph.microsoft.com/v1.0/teams/{teamId}/channels/{channelId}/messages
{
    "body": {
    "contentType": "html",
    "content": "<at id=\"0\">General</at>"   
    },
    "mentions": [
     {
          "id": 0,
          "mentionText": "General",
          "mentioned": {
          "conversation": {
          "id": "{channelId}",
          "displayName": "General",
          "conversationIdentityType": "channel"
           }
        }
   }
 ]
}

vyujincuimsft_1-1657184202548.png

vyujincuimsft_2-1657184256942.png

Result Screenshot:

vyujincuimsft_0-1657184146010.png

 

In addition, here is a link that for your reference.

https://www.damobird365.com/mention-a-channel-or-team-power-automate/

 

 

Best Regards,
Charlie Choi

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,011)