Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hi @Deville Quist,
This behavior may be expected depending on how the bot was designed. A custom Teams bot does not automatically retain the uploaded document or the previous conversation context between messages. The developer needs to explicitly store the conversation state and document reference, then retrieve that information when processing follow-up questions.
For production environments, the bot should use persistent shared storage rather than in-memory storage, as in-memory state can be lost when the bot restarts or when another instance handles the next message. The bot may also need to retain the file reference in OneDrive or SharePoint and retrieve the relevant content again when responding. Please see:
Could you confirm whether this is a custom bot developed by your organization or a Microsoft/third-party bot? If it is a custom bot, the developer should review its conversation-state storage, file-reference handling, and how previous context is included in each AI request.