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_2-1657031981049.png

 

mortiz26_0-1657031896781.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @mortiz26 ,

if you're trying to follow the article by @Expiscornovus (https://www.expiscornovus.com/2019/05/29/mention-a-channel-with-flow/) then you're using wrong action. You're trying to send an HTTP to Azure DevOps but it should be an HTTP request to Azure AD.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

2 REPLIES 2
tom_riha
Super User
Super User

Hello @mortiz26 ,

if you're trying to follow the article by @Expiscornovus (https://www.expiscornovus.com/2019/05/29/mention-a-channel-with-flow/) then you're using wrong action. You're trying to send an HTTP to Azure DevOps but it should be an HTTP request to Azure AD.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]
Shujaath_Khan
Super User
Super User

Hi @mortiz26 

 

Can you Send the below connector specific for using Graph APIs

Shujaath_Khan_2-1657044851281.png

 

 

{
    "importance": "high",
    "subject": "@General in Teams channel post!",
    "body": {
        "content": "Hello <at id ='0'>General</at>, Test message on the channel with at mention.",
        "contentType": "html"
    },
    "mentions": [
        {
            "id": 0,
            "mentionText": "General",
            "mentioned": {
                "conversation": {
                    "id": "19:<channel_ID>@thread.tacv2",
                    "displayName": "General",
                    "conversationIdentityType": "channel"
                }
            }
        }
    ]
}

ref: https://docs.microsoft.com/en-us/graph/use-the-api

Thanks
Please click Accept as Solution on this reply if it helped to solve your issue, and thumbs-up if you feel this is useful or important in other ways as a boost.

 

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.

Users online (1,725)