I have Bot (Microsoft Bot framework) which I am using for Microsoft Teams channel. For one of the my task I need to use Graph API to install bot (app) directly for other users (https://docs.microsoft.com/en-us/graph/api/user-add-teamsappinstallation?view=graph-rest-beta&tabs=http)
I gave correct permissions on Azure and everything works fine, bot installed successfully for all required users.
On the other hand, after installing bot using Graph API conversationUpdate type is not generated. Please note that if I reinstall bot manually I got next request to my bot:

I am expecting to receive coversationUpdate type action also after Graph API installing, so I can show welcome message to user. Also I am saving Microsoft recipient id (29:1JpJET3WuYmaf0jrjUBwnFtniMl1oZTaz4_PjPqKC-SMnUJekst4YrWRv8N8PKiWgQje5USlsupmu9gSRo35Ktw) to use it later for Proactive messages in MS Teams.
Should I expect to have conversationUpdate type action soon ?
Is that possible to grab Microsoft Teams recipient id (29:1JpJET3WuYmaf0jrjUBwnFtniMl1oZTaz4_PjPqKC-SMnUJekst4YrWRv8N8PKiWgQje5USlsupmu9gSRo35Ktw) somehow from Graph API ? In case if I know aadObjectId (OID) ?
Thank you for a help in advance.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hi - Thanks for reporting this. We've identified an issue with this endpoint where the conversation thread isn't being creating on install, so the bot is never sent the conversationUpdate event. Please try calling:
GET https://graph.microsoft.com/beta/users/{id}/chats?$filter=installedApps/any(x:x/teamsApp/id eq 'APP-GUID')
That should force creation of the conversation thread and get you unblock.
A fix for the bug is in the works, I'll leave this issue open until it is live.
Hi @clearab , thank you for a quick answer and good workaround. I can confirm that bot received conversationUpdate event after I call GET https://graph.microsoft.com/beta/users/{id}/chats?$filter=installedApps/any(x:x/teamsApp/id eq 'APP-GUID')
Please update this thread when fix will be published for install action. Thanks!
Having used that yesterday, I can say that this works now. 😃
Whenever I install my App to a User through the Graph, the bot gets the _ConversationUpdate_ activity.
@VKAlwaysWin Can you please specify what permissions your App had to get this to work ? GET https://graph.microsoft.com/beta/users/{id}/chats?$filter=installedApps/any(x:x/teamsApp/id eq 'APP-GUID')
Was it Delegated or Application permissions. (Was the user consent needed again when this call was made?)
I am getting similar issues, re-installing app does not get conversationUpdate event fired,
I have tried with workaround by calling
https://graph.microsoft.com/beta/users/{id}/chats?$filter=installedApps/any(x:x/teamsApp/id eq 'APP-GUID'), event but that too does not fire the conversationUpdate event
When I install the app for a new user for first time I get this event fire but not for the existing users. Is there a way to reset state once for all the existing user so that atleast once I receive the conversationUpdate event? This event has few code updates for 1:1 proactive message, which will now not fire as this event will not execute for existing user.