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

      The below guide provides instructions for installing the Teamgage app on MS Teams for users. Before installing the Teamgage app on MS Teams, ensure your organisation has first set up a Teamgage integration between Teamgage and MS Teams. Options for ...
    • 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 Notification setup

      Setup an integration between Teamgage and Microsoft Teams, so notifications are sent to users via Teams rather than email (Learn more about our Teams integration). Ensure your organisation has setup Azure AD with Teamgage Request access to the ...
    • 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 ...
    • An Overview of Microsoft Teams and Teamgage

      Our integration allows Teamgage users to receive their regular Teamgage notifications, share reports, leave feedback and collaborate without ever leaving Microsoft Teams. No extra logins are required thanks to the magic of Single Sign On, creating a ...