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 / Incorporating links in...
Power Automate
Unanswered

Incorporating links in Teams adaptive cards with variables.

(3) ShareShare
ReportReport
Posted on by 9
Hello, I am Japanese.
I am not good at English, so I rely on translation software and I apologise if it is difficult to get the message across.
I have embedded the variables described below in the adaptive card in Teams, but the link in the text part does not work in Teams on the web and in the PC application, and the output is as follows.
 
        {
            "type": "TextBlock",
            "text": "[sample](https://google.com)",
            "wrap": true,
            "size": "Large"
        },

The link works correctly in Teams on the smartphone app.
What is wrong with the link not working correctly on the PC?
Translated with DeepL.com (free version)
 
 
 
 
Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at
     
    What is the version of adaptive card you are trying to use ?
     
    could you share the complete adaptive card json structure here just to have a look ?
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    Firstly @Nived_Nambiar is the person who should get credit once this is solved, I just wanted to ask a clarify question.
     
    You said, 
     
    but the link in the text part does not work in Teams on the web and in the PC
     
    If you hover over the link, and or look at the source, can you share with Nived what those values are so he can further trouble shoot please.
  • 隆稲-12051729-0 Profile Picture
    9 on at
     
     
    Thanks, here's the code.
    Version 1.5.
     
     
    ----------------------
     
    {
        "type": "AdaptiveCard",
        "version": "1.5",
        "body": [
            {
                "type": "TextBlock",
                "text": "@{outputs('ユーザーの_@mention_トークンを取得する')?['body/atMention']}",
                "wrap": true
            },
            {
                "type": "TextBlock",
                "text": "要求者:@{outputs('ユーザー_プロフィールの取得_(V2)')?['body/displayName']}",
                "wrap": true
            },
            {
                "type": "TextBlock",
                "text": "車台番号:@{outputs('応答の詳細を取得する')?['body/r6d763082121346a39dbdf7a6d35fcab1']}",
                "wrap": true,
                "size": "Large"
            },
            @{outputs('結合-画像リンク')},
            {
                "type": "TextBlock",
                "text": "[リストへのリンク](@{outputs('項目の作成')?['body/{Link}']})",
                "wrap": true,
                "size": "Large",
                "spacing": "ExtraLarge"
            },
        ],
        "$schema": "https://adaptivecards.io/schemas/adaptive-card.json"
    }
     
    ----------------------
     
     
    Array variables are read in this section.
    The array is only added if there is an attached image,
    The contents are as follows.
     
    ----------------------
     
            {
                "type": "TextBlock",
                "text": "[リストへのリンク](@{outputs('項目の作成')?['body/{Link}']})",
                "wrap": true,
                "size": "Large",
                "spacing": "ExtraLarge"
            }
     
    ----------------------
     
    If the same code is entered directly as above, it works well.
    However, it does not work when assigned as an array variable.
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at
     
    Thanks for sharing the adaptive card-i have tried this - i assume you are using Create Item action and use its output link property to add in adaptive card while sending it.
     
    It is working perfectly when i have tried and i am able to access the adaptive card in all - teams (web), teams (pc) and mobile without any issues with same adaptive card version.
     
    Well i did not understand what you meant by array variables in your below reply ?
     
    I think you are using output of create item action in adaptive card ?
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard