Forum Discussion
ParamZ
Nov 26, 2025Occasional Reader
App Validation Issue - Bot must send a proactive welcome message in personal scope
I'm working on a bot application for MS Teams using the Python SDK and encountered a challenge with app validation and the proactive welcome message requirement.
What Happened:
- Initially, our bot handled the welcome message through on_installation_update, but app validation failed with the error: "Bot must send a proactive welcome message in personal scope."
- To satisfy validation, we added on_members_added_activity to send the welcome message for personal scope, which resolved the validation error.
- However, this created a new problem: on_members_added_activity is being triggered when we call the Graph API to query chats or users:
{graph_url}/me/chats $filter=chatType eq 'oneOnOne' and installedApps/any(a:a/teamsApp/id eq '{teams_app_id}')
{graph_url}/users/{user_id}/chats $filter=chatType eq 'oneOnOne' and installedApps/any(a:a/teamsApp/id eq '{teams_app_id}') - According to a Stack Overflow discussion (https://stackoverflow.com/questions/57496329/proactive-messaging-bot-in-teams-without-mentioning-the-bot-beforehand), this appears to be a known issue: calling this API triggers a conversation update event even though there were no actual updates, resulting in duplicate events and duplicate welcome messages.
Questions:
- What is the official/recommended way to handle known issue: calling this API triggers a conversation update event?
- Whats the recommended way to read personal chat history of a user?
- Should we be using a different approach for this app validation requirement?
Any guidance or pointers to official documentation would be greatly appreciated!
No RepliesBe the first to reply