Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to get some custom value in the OnMembersAddedAsync or OnInstallationUpdateActivityAsync #6873

Open
viveknuna opened this issue Nov 28, 2024 · 4 comments
Labels
Area: Teams The issue is related to Teams support

Comments

@viveknuna
Copy link

viveknuna commented Nov 28, 2024

We have developed the MS Teams app and We are publishing it using the policy and some users might download it manually from the teams store. We have developed this app for our many customers, so We want to know which customer user has installed the app in our code. I explored the OnMembersAddedAsync and OnInstallationUpdateActivityAsync, But I have not found any way to get our customer's ID in these events, because it may be different for different-2 users. and We would like to take some actions based on the given customerId.

Is there a way to get some custom value in the OnMembersAddedAsync or OnInstallationUpdateActivityAsync.

@viveknuna
Copy link
Author

@Meghana-MSFT
Copy link

Meghana-MSFT commented Dec 2, 2024

The above methods do not return customerId and there is no API to know details of installed a particular application.

You can get notified whenever the specified Teams app is installed, updated, or deleted from a team, groupChat, or a user's personal scope - https://learn.microsoft.com/en-us/graph/teams-changenotifications-appinstallation

@viveknuna
Copy link
Author

@Meghana-MSFT so shall I call the mention graph API in my service startup?

@Meghana-MSFT
Copy link

@viveknuna - The above-mentioned Graph API will just notify you whenever the specified Teams app is installed, updated, or deleted. It does not return any customerId/userId etc. Currently there is no API to know details of users who installed a particular application.

@tracyboehrer tracyboehrer added the Area: Teams The issue is related to Teams support label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Teams The issue is related to Teams support
Projects
None yet
Development

No branches or pull requests

3 participants