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/”}
This has been very useful, however, each time MS release a new version of this annoying app you need to update the package in Intune so that it continues to do the removal. Have you found anything to keep the removal of the app active?
Maybe packaging it as a Win32 app?
Will try to update this post at some point but it should remove any version of Teams Personal.
There are plenty of scripts that can be used to make sure it never comes back, will add this here to
It does seem as if it’s looking for the specific version – my overview is showing ”Not installed” for all devices so far even one I know it’s installed on.
I will see if I can replicate this during the weekend and see if the old Teams package I have still works.
Try adding Teams from Windows Store and run uninstall also be sure to check if you tested user context and device context.
The old package I refered to was Teams Personal
Hi,
It looks like the MSIX downloads above lead to different versions of the packages.
The x64 seems to be version 24124.2402.2858.5617, whereas
the x86 seems to be version 24215.1105.3082.1600.
I can see my Surface has Teams version 24215.1105.3082.1600 – but wasn’t sure if it was x86 or x64. I ended up created two different app deployments using one of each and for both the results were ”Not installed” so I’m thinking it’s because the x64 version isn’t 24215.1105.3082.1600.
Will that matter or should it be able to uninstall still?
Thanks!
Hi Dan, after this post MS have made some changes to the entire Teams package.
Are you trying to uninstall the old Teams?
I can see if I have the old package this available, the new package will only work for New Teams i belive