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

Community site session details

Session Id : Kb4df0F9OCbWqpyzhUDayx
Power Automate - Building Flows
Answered

Dynamic picture isn't showing in my adaptive card anymore

Like (0) ShareShare
ReportReport
Posted on 3 Jan 2023 22:36:57 by 1,041

Dear Experts,

I have a flow that shows dynamic data on an adaptive card from a sharepoint list.

It works great only i think my string is incorrect because i see this in teams:

 

PeKi72_0-1672784887510.png

This is my flow:

 

PeKi72_1-1672785248017.png

 

PeKi72_2-1672785268522.png

 

PeKi72_3-1672785287741.png

 

I think the compose is wrong i want to use this url:

https://teams.microsoft.com/api/mt/emea/beta/users/xxxxxx/profilepicturev2?displayname=xxxxx&voidCache=false

In the first xxx their must be the E_mail from the user and displayname the name of the user must be retrieved from the sharepoint list. Gr P

 

 

 

I have the same question (0)
  • Verified answer
    MarvinBangert Profile Picture
    1,922 Most Valuable Professional on 04 Jan 2023 at 02:30:44
    Re: Dynamic picture isn't showing in my adaptive card anymore

    Hi @PeKi72 

    you are using "item()" within the compose action / the concat but you are not referencing on which item this should run. Usually you use this within an "apply to each" to run on each item within an array. Please add an "apply to each" around the compose action and run on the "value" from SharePoint get items. Then you can keep the "item()" expression.

     

    Otherwise, you could also use the following expressions, if you only receive one item from the "Get items":

    outputs('Get_items')?['body/value'][0]?['E_mail']
    
    outputs('Get_items')?['body/value'][0]?['Display_name']

     Just replace these expressions within the concat.

     

    Does this help you? Otherwise please give me some more information.

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 626 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 374 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 284 Most Valuable Professional

Last 30 days Overall leaderboard
Loading complete