Teams App accessible only within team

Kamil Gierach-Pacanek 1 Reputation point
2021-03-24T19:40:26.75+00:00

Hello,
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.

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,816 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mamatha-MSFT 156 Reputation points
    2021-04-08T09:00:28.1+00:00

    Posting the Answer for better knowledge
    Copying from @Rama-MSFT comments

    available only within specific teams,
    Yes, we can make the application with in specific teams.

    not available on group or personal chats,
    Yes, we can enable teams, but not for personal chats.

    regular users should not be able to install App anywhere,
    If you don't want to make the app as public, for specific people we can provide an alternative solution.

    admins and team owners can add App to the team
    Yes, we can adjust the admins and team owners in settings.