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 / Copilot Studio / Show images in agent's...
Copilot Studio
Answered

Show images in agent's responses in MS Teams

(0) ShareShare
ReportReport
Posted on by 85
I have built an agent in Copilot Studio that outputs text and images as an adaptive card.
This works very well in testing, but when I deploy the agent to MS Teams, the images are not displayed there.
The images are publicly available in Azure Blob Storage and can be accessed normally from any browser.
What do I need to do, configure, or develop so that the external images in the agent responses are also displayed in MS Teams?
I have the same question (0)
  • Verified answer
    sannavajjala87 Profile Picture
    515 Super User 2026 Season 1 on at
    Hi,
     

    In Teams, Adaptive Card images must be fetchable anonymously over HTTPS by the Teams client, using a direct file URL (no cookies, no auth flow, no redirects). Links that work in your browser (because you’re signed in) often fail in Teams. Host the images at a publicly reachable endpoint (e.g., Azure Blob/Static Website/CDN) with the right CORS/headers, keep your card at a Teams‑supported schema version (≤1.5, and try 1.4 if you see rendering issues), and avoid data URIs >25 KB. 

     

    What to do (practical checklist) 

    1. Serve images from a truly public, direct URL 

    1. For Azure Storage, prefer:  

    1. Or Blob public container with a direct blob URL: https://<account>.blob.core.windows.net/<container>/<file>.png (no redirects, no HTML landing pages). Test in an incognito window where you’re not signed in.  

    1. CORS and headers on the storage origin 

    1. Set CORS to allow Teams’ webviews to fetch the image:  

    1. Allowed origins: * (or the minimal set you require) 

    1. Methods: GET, HEAD, OPTIONS 

    1. Headers: * 

    1. Expose headers: (optional) 

    1. Max age: e.g., 3600 

    1. Ensure the blob serves the correct Content-Type (e.g., image/png) and avoid 302/307 redirects. This reduces intermittent desktop failures.  

    1. Use a stable, cacheable URL 

    1. Avoid short‑lived SAS query strings (or make them long‑lived) because Teams may cache placeholders if the URL 401/404s even once. If you must use SAS, ensure it’s valid well beyond the card’s lifetime. Some reports note that once a placeholder is cached in new Teams, it may persist until cache clear.  

    1. Keep the Adaptive Card schema version conservative 

    1. Set "version": "1.4" in your card JSON if you see rendering problems in Teams channels—even though 1.5 is “supported,” 1.4 can be more reliable across clients.  

    1. If you must embed (base64), stay under ~25 KB total 

    1. Data URIs work, but the total Teams message payload (including JSON) is ~25 KB, so images larger than icons/thumbnails will break. Better to host externally.  

    1. Try a CDN fronting your blobs 

    1. Putting Azure CDN (Standard/Microsoft) in front of blobs can normalize headers, reduce redirects, and improve reliability in the desktop client. Many teams report fewer intermittent failures with a CDN.  

    1. Test across clients + clear cache 

    1. Validate in: Copilot Studio test chat, Teams web, new Teams desktop (Windows/Mac), and mobile. If the desktop app shows placeholders, sign out/in or clear the Teams cache and retest. (There are known placeholder caching quirks.)  

     

     

  • Konrad Profile Picture
    85 on at
    It was the missing HEAD method in die CORS definition.

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 > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard