Hide blocked Teams apps

Microsoft recently changed the policy so that applications which users are not allowed to install in Teams are now displayed instead of being hidden as they were before. While I understand Microsoft’s reasoning behind this step, I (and my clients) are quite unhappy with it.

Last week, I was with a client discussing this issue, and the client said, „You can hide them.“ I replied, „Uh, no, that’s not possible.“ The client opened Teams, and the Teams App Store showed only the allowed apps. One of those moments where you, as a consultant, are suddenly speechless 😉

But I always enjoy learning something new from my clients! So, yes, it is possible!

To spread this knowledge a bit, here is the guide:

Here’s the classic scenario. Microsoft apps are allowed, 3rd party apps are forbidden:

The user sees all apps they cannot access, marked with „Request“.

We can change this with the following PowerShell command:

Import-Module Microsoft.Graph.Teams
Connect-MgGraph -Scopes TeamworkAppSettings.ReadWrite.All
$params = @{
    „@odata.type“ = „#microsoft.graph.teamsAppSettings“
    allowUserRequestsForAppAccess = „false“
}
Update-MgTeamworkTeamAppSetting -BodyParameter $params

The command takes effect relatively quickly, but due to Teams caching, it may take some time for the view to update to look like this:

A huge thank you to (I haven’t received permission to name him yet) for this command – as a Microsoft fanboy, this issue has always bothered me immensely, and now I can sleep more peacefully 😉