
How does Teams show a link preview?
Paste a link into the Teams compose box and it unfurls into a card. Microsoft's link unfurling documentation puts it simply: for any link, Teams unfurls a preview into an Adaptive Card with information such as image, title and description. The card appears in the compose area before you send, so the sender sees it first. How other apps handle the same tags is collected in the Open Graph section home.
There are three routes to that card, and they behave differently:
| Route | Who sets it up | What Teams reads | Documented cache |
|---|---|---|---|
| Default URL preview | Nobody; it is automatic | Not documented by Microsoft | Not documented |
| Micro-capability preview | The site owner | schema.org metadata in JSON-LD | Not documented |
| App link unfurling | A Teams app developer | Whatever the app returns for its registered domains | 30 minutes, unless the app sets a no-cache policy |
Which tags does Teams read for a normal website?
For the default preview, Microsoft does not publish a list of tags. Its documentation says only that the card carries an image, title and description. Our advice, which is not a Microsoft statement: publish a complete set of Open Graph tags with a working absolute image URL, because that is what nearly every other app reads. The setup is in getting Open Graph tags right in WordPress, and the image dimensions are in our share image size guide.
What Microsoft does document is a richer path. The micro-capability guide says you can show rich unfurl previews without any Teams app by adding schema.org metadata in JSON-LD format and matching one of its templates. If the link has no supported template, Teams falls back to the current URL preview.
Make a richer Teams card with schema.org
Microsoft lists six micro-capability templates: Article, Product, Event, Local business, Education and Restaurant. For a blog post the Article template is the one to use. It reads these properties:
| schema.org property | Where it shows in the Article card |
|---|---|
| image | Background image at the top of the card |
| name | Bold title line, up to two lines |
| headline | Used as the title when name is missing |
| creator | Small subtle line under the title |
| description | Two lines of smaller text |
| url | Where the card opens when clicked |
Microsoft's steps are to add a script element of type application/ld+json in the head, set @context to schema.org, add @type and name, then add the template's properties. A minimal block for an article:
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Article",
"name": "How we fixed the town clock",
"headline": "How we fixed the town clock",
"creator": "Example Journal",
"description": "Three weeks, one ladder and a new escapement.",
"image": "https://example.com/wp-content/uploads/2026/11/town-clock-share.jpg",
"url": "https://example.com/town-clock/"
}
</script>Many WordPress SEO plugins already print JSON-LD. Check what yours outputs before adding a second block, so the page does not describe itself twice. Microsoft suggests validating the markup with the schema.org validator first, then pasting the link into the Teams compose box to see the result. To read the tags on a draft without publishing, paste its HTML into our offline preview checker.
How do I turn off link previews in Teams?
Microsoft documents this as an admin control. The messaging policies page lists a setting called URL previews: use it to turn automatic URL previewing on or off in messages. Every user gets the global (org-wide default) policy unless a custom policy is assigned to them, so you can switch previews off for everyone or for a group.
Open the Teams admin center
Sign in to admin.teams.microsoft.com with a Teams admin account.
Go to Messaging policies
In the left navigation, select Messaging policies.
Pick the policy
Select the policy by clicking to the left of its name, for example Global (Org-wide default), then select Edit. To limit the change to some users, select Add and create a custom policy instead.
Turn off URL previews
Find URL previews in the list of settings and switch it off.
Save
Select Save. For a custom policy, assign it to the users or group it should cover.
Wait, then test
Microsoft notes a reboot may be needed for some clients to sync a policy change. Then paste a link into a chat and confirm no card appears.
The same switch exists in PowerShell. The Set-CsTeamsMessagingPolicy reference documents an AllowUrlPreviews parameter: TRUE turns previews on, FALSE turns them off.
Connect-MicrosoftTeams
Set-CsTeamsMessagingPolicy -Identity Global -AllowUrlPreviews $falseThe reference adds a condition: Optional Connected Experiences must also be enabled for URL previews to be allowed. If previews are missing across a whole tenant and the policy says they are on, check that privacy control. Microsoft's pages fetched for this guide do not document a per-user setting for link previews; it is a policy decision.
Link unfurling for Teams apps
If you build a Teams app, you can register domains so that links to them unfurl into your own card. You add a messageHandlers array to the composeExtensions section of the app manifest, with the domains to match. Wildcards cover exactly one segment, and top-level wildcards like *.com are not allowed. Teams then sends your bot a composeExtension/queryLink invoke with the URL, and you reply with a card that must include a preview property.
Microsoft's notes on this route are specific: the result is cached for 30 minutes, cards can use Adaptive Cards version 1.3 and earlier, and on mobile only links that do not need authentication unfurl. An app can opt out of the cache by sending a setCachePolicy action with a no-cache value. None of this applies to an ordinary website; it is for products that own a Teams app. Slack has a comparable app system, compared in our Slack unfurling page.
What goes wrong
- No card at all, tenant wide. URL previews is off in the messaging policy, or Optional Connected Experiences is disabled.
- Some users see cards, others do not. They are on different messaging policies. A user can have only one at a time.
- Rich card does not appear. The page's
@typeis not one of the six templates, so Teams falls back to the basic preview. - Two JSON-LD blocks with different titles. An SEO plugin and a hand-added script both describe the page. Keep one.
- Image missing from the card. A relative or blocked image URL. Use an absolute https address that opens without a login.
- App card stays stale. App unfurls are cached for 30 minutes unless the app sets a no-cache policy.
Check it worked
- Pasting your URL into a Teams chat shows a card with your image, title and description before you send.
- If you added JSON-LD, the schema.org validator reports the Article type with no errors, and the Teams card shows the creator line.
- After an admin change, the messaging policy shows URL previews as off and a test link posts as plain text.
- Users on a custom policy are the ones you intended, and nobody else.
- Your Open Graph tags still produce the expected card on Slack, LinkedIn and Facebook.
Sources
- Microsoft Learn, Teams platform: Link unfurling (last updated April 23, 2026)
- Microsoft Learn, Micro-capability and schema for web links (updated May 2026)
- Microsoft Learn, Manage messaging policies in Teams (updated February 2026)
- Microsoft Learn, Set-CsTeamsMessagingPolicy PowerShell reference (fetched November 2026)
Questions
How do I turn off link previews in Microsoft Teams?
An admin does it. In the Teams admin center, open Messaging policies, edit the policy your users have, turn off URL previews and save. In PowerShell, run Set-CsTeamsMessagingPolicy with AllowUrlPreviews set to false.
Can a user turn off Teams link previews for themselves?
Microsoft's documentation describes URL previews as a messaging policy setting controlled by admins. The pages we checked in November 2026 do not document a per-user switch, so ask your Teams admin to assign a policy with previews off.
What tags does Teams use for link previews?
Microsoft does not list the tags for its default preview; it says the card shows image, title and description. It documents schema.org JSON-LD for richer cards, with six templates including Article. Publishing Open Graph tags as well is our recommendation.
Why does my Teams link preview not show?
Check whether URL previews is off in your messaging policy, whether Optional Connected Experiences is disabled, and whether the page's image loads from an absolute https URL without a login. Policy changes may need a client restart to sync.
How long does Teams cache a link preview?
Microsoft documents a 30 minute cache for link unfurling done by Teams apps, which an app can switch off with a no-cache policy. It does not document a cache time for the default preview of ordinary websites.
Hannah Voss, Editor. Checks every guide against a working WordPress install and the networks' current documentation. Last reviewed September 2026.
Related reading
- Adding Open Graph tags in WordPressAdd Open Graph tags to WordPress with an SEO plugin or theme code: the four required tags, image tags, per-post overrides, and how to avoid duplicate tags.7 min read
- Slack link preview: how unfurling works and how to fix itHow Slack builds a link preview: the tags its robot reads, its user agent, the 30 minute cache, how to test, remove or block a preview, and why one fails.10 min read
- Open Graph image size: 1200 by 630 and the safe zoneThe right Open Graph image size is 1200 by 630 pixels at a 1.91:1 ratio. Minimums, file limits, formats, and a centre safe zone for square crops.6 min read
- Link preview checker: test your Open Graph and card tagsPaste a page's HTML to check its Open Graph and X card tags, see mock previews, and find duplicate, missing or relative tags. Runs in your browser only.10 min read