teams_chat

Materialize a shared Teams attachment

Resolves the verified Teams author, reads a direct SharePoint file through that user's authorized connection, and stores it as a chat attachment. Requires the internal API key. Returns 404 for an unresolved identity, 409 with code connection_required when a SharePoint connection is needed, or 422 with a safe file error code for unsupported, inaccessible, oversized or failed downloads.

post/internal/teams_chat/materialize_shared_attachment

Request body

bot_application_idstring required

Application ID of the authenticated Teams bot

microsoft_tenant_idstring required

Microsoft tenant ID from the authenticated Teams activity

aad_object_idstring required

Microsoft Entra object ID of the activity's author

content_urlstring required

Direct HTTPS SharePoint file URL from the Teams attachment

Changes

Changed in 1 of the 18 revisions of this API.1