Uninstalling The Teamgage Microsoft Teams App

Uninstalling The Teamgage Microsoft Teams App

It may be necessary to uninstall the Teamgage app for a number of reasons, if you find yourself in this situation we provide a couple of useful Powershell scripts which can be used to bulk uninstall for either Teams or users.

Uninstall the app for all users in a Team/Channel:

  1. $appId = '61aa6197-4b01-4bb4-a7a6-6ecf477654a0'
  2. $teamId = 'TEAM ID HERE'

  3. Get-TeamUser -GroupId $teamId | ForEach-Object {
  4.     $appInstalled = Get-TeamsAppInstallation -UserId $_.UserId -AppId $appId
  5.     if ($appInstalled) {
  6.         Write-Host "Uninstalling from: $($_.Name)"
  7.         Remove-TeamsAppInstallation -UserId $_.UserId -AppId $appId
  8.     }
  9.     else {
  10.         Write-Host "Skipping user: $($_.Name)"
  11.     }
  12. }

Uninstall the app from all Teams/Channels:

  1. $appId = '61aa6197-4b01-4bb4-a7a6-6ecf477654a0'

  2. Get-Team -Archived $false | ForEach-Object {
  3.     $appInstalled = Get-TeamsAppInstallation -TeamId $_.GroupId -AppId $appId
  4.     if ($appInstalled) {
  5.         Write-Host "Uninstalling from: $($_.DisplayName)"
  6.         Remove-TeamsAppInstallation -TeamId $_.GroupId -AppId $appId
  7.     }
  8.     else {
  9.         Write-Host "Skipping team: $($_.DisplayName)"
  10.     }
  11. }
    • Related Articles

    • Install the Teamgage App for Microsoft Teams

      This guide provides instructions for installing the Teamgage app in Microsoft Teams for your organisation. Prerequisites Before installing, ensure your organisation has completed: Azure AD Setup Guide (Single Sign-On & Microsoft Teams Integration) ...
    • Microsoft Teams Notification Setup

      Set up an integration between Teamgage and Microsoft Teams so notifications are delivered via Teams chat instead of email. Learn more about the full Microsoft Teams integration here Prerequisites Your organisation must have Azure AD SSO set up with ...
    • How to download Teamgage App for MS Teams

      1. Search for Teamgage in the Microsoft Teams app store and click on the Teamgage app. If you don't see the Teamgage app in the app store, it has most likely been blocked by your organisation. Please get in contact with your internal IT/Teams ...
    • Microsoft Teams and Teamgage Overview

      The Teamgage integration with Microsoft Teams allows employees to: Receive Teamgage notifications directly in Teams chat Submit feedback & launch the Huddle dashboard to review results With Single Sign-On (SSO), users can enjoy a seamless experience ...
    • Receiving Teamgage Huddle Notifications via MS Teams

      Once you have the Teamgage App for MS Teams installed either manually or via your organisations set up you can now receive your Teamgage Huddle Notifications via MS Teams. User Notifications User Welcome Submission User Submission User Submission ...