I'm using the Graph API to proactively install a Teams bot for all users in an organization.
I need to retrieve the teamsAppId by externalId like so :
GET https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=externalId eq '{IdFromManifest}'
Is it safe to query the teamsAppId once and keep it in the appSettings?