I have an app with messaging extension capability, that is launched via message context menu (More actions). I want my App to meet the following criteria:
available only within specific teams,
not available on group or personal chats,
regular users should not be able to install App anywhere,
admins and team owners can add App to the team
How close I can get to these requirements?
I've done a lot of research on this topic - tried achieving this by blacklisting this App via App Permission Policy assigned to regular users - but I've ended with an application visible only to the administrator. Other users cannot see the messaging extension option - even on the channels in teams that have this App installed.
So I did a temporary workaround for now by verifying inside a bot service whether I am calling the app from the team chat or other place.