Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hi Schenck Shay
Thank you for reaching out to Microsoft Q&A forum
The “ConversationNotFound” error indicates that the Teams Bot Framework (Connector) can’t locate a conversation for the conversationId you are calling.
Given this, you can try these below approaches to see if it can help you
- Validate you’re using the correct conversation context for the API you’re calling, ensure the
conversationIdandserviceUrlcome from the bot activity context - For proactive scenarios, follow the supported proactive messaging pattern ensure the app/bot is installed in the target scope (team/channel/group chat) so it has access to message there.
- Handing
ConversationNotFoundby re-establishing context, treat it as a signal that the stored conversation reference is no longer valid. A common mitigation is to re-acquire a fresh conversation context, then update your storedconversationId/serviceUrland retry.
You can read these documents for more insight:
- Send proactive messages - Teams | Microsoft Learn
- Proactive Messages & Event Notification (v3) - Teams | Microsoft Learn
- Send and receive messages with a bot (v3) - Teams | Microsoft Learn
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.