There are many ways of getting rid of the Microsoft Teams Chat (Personal), most of the solutions are to use scripts. Scripts have many benefits depending on how they are used and applied. But you can actually remove it without using scripts.
Of course, the best solution would be for Microsoft to allow us to set the following registry value, so it never installs. (The registry key is owned by TrustedInstaller so we cannot edit this without taking ownership before we modify this)
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Communications]
ConfigureChatAutoInstall=0
So to keep this simple, without using scripts we will simply use the Uninstall function for apps in Intune.
Download Microsoft Teams for home or small business.
First, we will need to download Teams Personal (Teams for home or small business)
Microsoft Teams Official Download Page
Make sure you select Teams for home or small business.
Extract the Teams installation file.
Using 7-zip or any other tool extract the content of the file (You do not need to do this, I just did it to get the msix download links that I have posted further down, you can skip this part and directly download the msix file if you want to)
After you extracted the MSTeamsSetup_c_l_.exe you should see a file named endpoint.json, opening this file we can see links to the msix files.
Endpoint.json content
{"pdsEndpoint":"https://teams.microsoft.com/desktopclient/installer/windows/","fallbackNextGenAppPayloadUrlX64":"https://aka.ms/maglev-x64","fallbackNextGenAppPayloadUrlX86":"https://aka.ms/maglev-x86","fallbackNextGenAppPayloadUrlARM64":"https://aka.ms/maglev-arm64","getInstallerEndpointUrl":"https://teams.live.com/downloads/getinstaller"}
You can see the download links for 64 bits package and 32 bits package. We will use the 64 bits package for this. (There is also a package for ARM)
Microsoft Teams for home or small business MSIX download links.
https://aka.ms/maglev-x86
https://aka.ms/maglev-x64
https://aka.ms/maglev-arm64
You should now have a file named: MicrosoftTeams-x64.msix
Line-of-business app in Intune
Now it’s time to add the application to Intune.
Go to Intune
Select Apps – Windows apps.
Click on Add (to add a new app) Select Line-of-business app
Select app package file and select the MicrosoftTeams-x64.msix
It will prepopulate the fields needed.
Now you can simply assign a user group to the Uninstall part and it will automatically uninstall Microsoft Teams for home or small business (Teams Personal/Chat)
The application will now auto install for the users in the group you have assigned it to.
Cool, is this also available for the Mail and Calendar App in Win11. Since the new store uninstall function is not working
If you can get the MSIX package then it should be possible. You can download MSIX package from the store, but I have not tested this out.
Hi. I need to download the .exe file for Teams personal. When i click the lick that brings to MS page, it downloads teams for business even though I click to download teams Home. Is there any other link where I can download Teams home .exe? thank you
Right now I can’t find a specific link and the packages on MS website contains the same file.
It looks like MS, just made one package instead of two, and in the app it lets you switch between personal and work.
Link to Home
https://go.microsoft.com/fwlink/?linkid=2187327&Lmsrc=groupChatMarketingPageWeb&Cmpid=directDownloadv2Win64&clcid=0x409&culture=en-us&country=us
Link to Work
https://go.microsoft.com/fwlink/?linkid=2187327&Lmsrc=groupChatMarketingPageWeb&Cmpid=directDownloadWin64&clcid=0x409&culture=en-us&country=us
Home json
{“pdsEndpoint”:”https://teams.microsoft.com/desktopclient/installer/windows/”}
Work json
{“pdsEndpoint”:”https://teams.microsoft.com/desktopclient/installer/windows/”}