If you are in Europe and have noticed that Teams is no longer installing with your M365 apps, this isn’t a bug, it is due to the European Competition ruling:
https://blogs.microsoft.com/eupolicy/2023/08/31/european-competition-teams-office-microsoft-365/
The fix is to deploy the Teams Machine wide installer onto your devices:
https://learn.microsoft.com/en-us/microsoftteams/msi-deployment
To make things easier, I have created a script which will:
- Download the latest version
- Package it to IntuneWin
- Deploy to Intune
All you have to do is assign it.
The script can be found on GitHub here:
Or PSGallery:
Install-Script -Name deploy-teams-machine-installer
If you want to deploy the new client instead, follow this guide from Arno van Dijk
Hopefully this is useful
Seem to get an error when running:. Do I need to connect to graph first?
Invoke-UploadWin32Lob : Aborting with exception: Microsoft.Graph.PowerShell.AuthenticationException: Authentication needed. Please call Connect-MgGraph.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
At line:1063 char:18
+ … appupload = Invoke-UploadWin32Lob -SourceFile “$appfile” -DisplayName …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-UploadWin32Lob
Hi Jordan,
Yes, I’ve updated to 1.0.1 now with Graph connection added
Thanks! All working now
What got me most excided was the script O.O.
i want to use this aswell to roll out every application
Have a look at the Remote Help one as well, that one does assignment of the app
Hi Andrew,
thanks for the script!
Can the script be used for updating the “Teams Machine wide installer”, too?
I ask because the installer behaves a little bit special if a (older) version is already installed (prior to the EU ruling). If you try it by hand, it says “there is already another version installed… uninstall it first”.
Hi Lothar,
This script won’t as the detection will notice it already exists and ignore it.
If the other one was also deployed using Intune, I would configure supersedence for this new one and set it to uninstall the old version first
We want to push it to our autopilot group, will this reinstall it on the current devices? Or will detect it and leave the current installation?
If you have machine based installer already, it will detect it
Isn’t changing the XML for Office to include Teams be better and easier?
That wasn’t an option when this post was written, there was a fault with both the XML and ODT where it wouldn’t install Teams