Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Dynamic picture isn't showing in my adaptive card anymore

(0) ShareShare
ReportReport
Posted on by 1,027

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

 

 

 

  • Verified answer
    MarvinBangert Profile Picture
    1,922 Most Valuable Professional on at
    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1