Search code examples
node.jsbotframeworkchatbotmicrosoft-teamsazure-bot-service

Microsoft Teams returning error when file is uploaded in bot application using Team's attachment button


We have an bot created on bot framework and enabled for Microsoft Teams channel. In the bot, the attachment functionality is enabled and user can send files to bot using Teams and it was working perfectly fine. But from past few week it stops working and uploading file in Team's bot chat is returning error. The attachment functionality is working when file is attached to user's chat and the problem is only coming on bot. It seems the issue is related to Teams client as the uploaded file disappears just after being upload. Please find the screenshot below with error message that appears when the file being uploaded automatically disappears in between. Request to please help with this issue.

Teams Bot file upload message


Solution

  • Just FYI, Microsoft responded to my support ticket and fixed the issue for most tenants it seems.

    https://answers.microsoft.com/en-us/msteams/forum/all/uploading-file-in-11-chat-with-bot-results-in-file/9449f0c0-1281-48f7-9535-b25ddd1b3753

    If you're still affected you may need to reach out to them for further assistance