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 / Can't see Embedded GIF...
Power Automate
Suggested Answer

Can't see Embedded GIF in Team message

(0) ShareShare
ReportReport
Posted on by 38
I am trying to post and automatic message in a Teams Group chat with a random GIF from my SharePoint library, but the GIFs always look like this:
 
This is the flow:
 
 
 
 
 
Any help would be appreciated.
Screenshot 2026-0...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • Suggested answer
    nmantzarea Profile Picture
    20 on at
    Hello,
     
    there are a few changes you need to do in the following steps to make it work for SharePoint hosted Gifs:
     
    1. Add a Get file content using path with the following parameter in the file path: @{outputs('Select_Random')}
     
    2. In your Compose action, add the following input:
     
    <p class="editor-paragraph">TEST <br>please select mute to ignore.</p>
    <img alt="gif" width="500" height="300" src="@{dataUri(outputs('Get_file_content_using_path')?['body'])}">
     
     
    The rest of your flow stays unchanged. This uses a Teams/Graph-compatible URL that renders correctly.
     

    Please note that Teams enforces a 28KB message payload limit. If your GIFs are large, embedding them via dataUri() may fail with a payload error. In that case, the alternative is to host your GIFs on a publicly accessible URL such as Azure Blob Storage, Giphy, etc. and use that directly as the src instead, as suggested in your reference.

    Hope this helps!

  • IF-06091959-0 Profile Picture
    38 on at
    You are correct, the GIF is too large.
    Even if I embed it using Giphy, it just give me a link, no moving GIF:
    Here's the code:
  • Suggested answer
    nmantzarea Profile Picture
    20 on at

    Hi,

    Teams doesn't support iframes in message bodies, so the embed URL won't work. Use the direct media URL instead in an <img> tag:

    Replace your code with:

    <p class="editor-paragraph">TEST <br>please select mute to ignore.</p>
    <img src="https://media.giphy.com/media/3oEjHKjVoNVsCeMoDe/giphy.gif" width="480" height="370">

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard