How to package and deploy the New Teams app (and remove the 'personal' Teams client)

preview_player
Показать описание
Is everyone a photographer but me?

Last week we talked about packaging the M365 Apps (Office) in a Win32 package for Intune deployment. And as soon as I posted it, as if on queue, everyone asked, "what about Teams?"

So today, I'll not only show you how to deploy the new Teams client, but we'll look at how to setup an Intune remediation to remove the built-in/personal Teams client.

Teams MSIX:

Steps for testing the Intunewin in a Sandbox:

Scripts from this video:

Join the official Discord server

Read more at

Chapters
0:00:00 - Is everyone a photographer?
0:01:24 - Where we left off...
0:02:05 - Download the Teams installers
0:02:59 - Create the PowerShell scripts
0:07:53 - Detection rule
0:10:00 - Package and test as sandbox
0:11:42 - Upload to Intune
0:14:13 - Remediations VS Platform scripts
0:15:05 - Setup the remediation
0:16:08 - Remediation: detect
0:17:21 - Personal VS New
0:18:52 - Remediation: remediate script
0:21:28 - Upload remediation
0:22:05 - Manually run a remediation
0:22:47 - Results
0:23:13 - 400 MEMBERS!!

#intune #autopilot #windows10 #windows11 #microsoftgraph #azureadministrator #azure #powershellscripting #powershell #activedirectory #bitlocker #windows365 #zerotrust #certificate #entra #microsoftdefender #zerotrust
Рекомендации по теме
Комментарии
Автор

Thanks for this. This channel is straight gold for intune stuff

johnkid
Автор

Amazing - Thanks very much for this, this channel has so much fantastic content for Intune! Just a minor note that the link in the description for the bootstrapper exe is incorrect.

andrewgray
Автор

What would be the advantage of using the remediation script for removing Personal Teams vs using a Configuration Profile? I have a configuration profile that removes the Chat icon from the taskbar and that also seems to remove Teams Personal.

jerloper
Автор

Hi .. i am getting error opening new teams app.. i made sure the app exists by running appx command in PS. The error is
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item

Tamis_ExploringAlberta
Автор

I suppose being remediation it should continuously remove it, right? Because the ConfigureChatAutoInstall registry value is going to have reinstalled whenever there's a significant update

ThisGuyDakota
Автор

I copied the scripts from your github and installed the run-in-sandbox to mirror your setup for testing in Sandbox, but for some reason it never make the New-Teams folder nor installing the App, am i right in the command you issue is: -executionpolicy bypass .\install.ps1

JVinterberg
Автор

Any chance this can be installed during pre-provisioning or Self-deployed ?

thomasbrowne
Автор

Perhaps stupid question, but how do you add the "Open with Code" to your right click menu?

patrick__
Автор

I tried this but somehow it is not detecting the personal teams therefore it is not running the remediation.

Manually it is detecting that teams is installed.

vagabondghost
Автор

I used the intune remediation to remove personal teams, but the user who has logged in will still exist teams personal, new user signing in the teams personal doesn't appearr anymore.
it seems that Teams Personal under the user cannot be deleted?
The detection script has always been able to detect the presonal Teams .

tianfreeze
Автор

I'm having trouble with the Run in sandbox, when I try to launch an intunewin package, the installa command window doesn't show, it automatically open the Sandbox and does nothing

zhiqiangzhou
Автор

If these scripts are running in the background, where are the write-host messages shown/written to? Will the user get a popup?

MrMarcLaflamme
Автор

Is there another way to remove Teams personal for tenant that runs Office 365 Business Premium? Remediation script is greyed out and I think it's because it requires a higher level of subscription.

JonHelm
Автор

Any reason to not put the remediation steps into the New Teams installer?

nathanhopkins
Автор

How do you get teams to AutoStart the first time? :)

jonlyons
Автор

It would be so much easier if they just had the new teams UWP app on the store to install

papajohnscookie
Автор

Can you please share any link for uninstalling old teams classic

ayyappacreations