Windows 11 ships with a consumer-flavoured Microsoft Teams app pre-installed, separate from the enterprise Teams client your organization actually deploys. For most managed fleets you’ll want exactly one Teams app on the device (the enterprise version), and the consumer one is at best confusing and at worst a support-ticket generator. This post walks through three options to remove it cleanly with Microsoft Intune: a one-line PowerShell remediation that uninstalls the consumer Teams package per-user, a provisioning-package approach that prevents new user profiles from getting it, and the AppLocker / WDAC route for tamper-resistant deployments.
A built-in Teams client is shipped with Windows 11. This client can only be used with a personal Microsoft account. This client is usually not welcome in corporate environments. How to remove this built-in client with the help of Intune I will show you in this blog post.

Remove the built-in Teams app with Intune
To uninstall the Teams client automatically we need a PowerShell script — more precisely, one line of PowerShell code.
Get-AppxPackage | Where-Object Name -like "*MicrosoftTeams*" | Remove-AppxPackage
I put this code line in a .ps1 script and uploaded it to my git repository.
- Open the Intune admin center and navigate to Devices -> Scripts
- Click ADD

- Enter a name
- Click Next

- Upload the script
- Select Yes at “Run this script using the logged on credentials“
- Click Next

- Click Add Groups
- Select a Group and click Select
- Click Next

- Click Add

Remove the Chat Icon
- Open the Intune admin center
- Navigate to Devices -> Configuration Profile
- Click + Create profile
- Select Windows 10 and later as Platform
- Select Template -> Custom as Profile type
- Click Create

- Enter a Name
- Click Next

- Click Add
- Enter the following information
- Name: RemoveTeamsIcon
- OMA-URI: ./Device/Vendor/MSFT/Policy/Config/Experience/ConfigureChatIcon
- Data type: Integer
- Value: 3
- Click Save
- Click Next

- Deploy the script to a Group
- Click Next

- Click Next
- Click Create
I hope I could help you with this post and explain how to uninstall the built-in Teams client via Intune. Thanks for reading this blog.
Stay healthy, Cheers
Jannik