Removing the Built-in Microsoft Teams app with Intune

Update – 28 November 2022 – Check out this blog for a better way to remove the Windows 11 built in Teams app

With Windows 11, Microsoft Teams is now available as a built in app… which is great!

But at the time of writing this post, you cannot use the Microsoft Teams built-in app with a Work or School account…  not great.

Many business managed devices that have been upgraded to Windows 11 will also still have the Teams Machine-Wide Installer version of Microsoft Teams, resulting in the user the experience of two versions of Microsoft Teams in the Start Menu.

At this stage, only the Teams Machine-Wide Installer version of Microsoft Teams can be used, so having the built-in version present along side it with the same name could cause some confusion. To get around this, I will use the Intune PowerShell Scripts feature.

The PowerShell script contains the following command:

Get-AppxPackage "*Teams*" -AllUsers | Remove-AppPackage -AllUsers

I have added this script to Intune and deployed to my Azure AD Dynamic Device group Device – Win 11 – All Managed Windows 11 (unfortunately Intune Filters are not available for PowerShell Script deployments)

Once the script has run on the device, the built-in Microsoft Teams app will be removed.

This may take a bit of time to deploy to devices that have recently been in-place upgraded to Windows 11, but the app will be removed eventually.

I’m hoping Microsoft provide a way to easily re-add this app later (The Microsoft Store would be ideal) as I can see the benefit of replacing the deployed Teams Machine-Wide installer with this version once it can be used with Work or School Azure AD account

P.

3 Comments

  1. thank you

    Liked by 1 person

  2. Solomon

    I am so tired and demoralized, I tried your method step by step, and it did not work on Windows 11. What could I have been doing wrong?

    Like

    1. I Solomon, I replied to your other comment left, but just in case you see this one first give this a try https://thenewnumber2.com/2022/11/28/intune-proactive-remediation/

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s