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

  Рет қаралды 2,057

Get Rubix

Get Rubix

Күн бұрын

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.
TeamsBootstrapper.exe:
go.microsoft.com/fwlink/?link...
Teams MSIX:
go.microsoft.com/fwlink/?link...
Steps for testing the Intunewin in a Sandbox:
• Streamline Intune app ...
Scripts from this video:
github.com/stevecapacity/Intu...
Join the official Discord server
/ discord
Read more at
www.getrubix.com
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:03:46 - Install.ps1
0:07:10 - Uninstall.ps1
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

Пікірлер: 34
@55johnkid
@55johnkid Ай бұрын
Thanks for this. This channel is straight gold for intune stuff
@getrubix
@getrubix Ай бұрын
Thanks!
@andrewgray8211
@andrewgray8211 Ай бұрын
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.
@getrubix
@getrubix Ай бұрын
Thanks! Good catch, just updated :)
@vagabondghost4939
@vagabondghost4939 Күн бұрын
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.
@patrick__007
@patrick__007 Ай бұрын
Perhaps stupid question, but how do you add the "Open with Code" to your right click menu?
@getrubix
@getrubix Ай бұрын
I believe it's an option during the VS Code install
@ThisGuyDakota
@ThisGuyDakota Ай бұрын
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
@getrubix
@getrubix Ай бұрын
Correct- couldn't hurt to change the value as well
@thomasbrowne8001
@thomasbrowne8001 19 күн бұрын
Any chance this can be installed during pre-provisioning or Self-deployed ?
@getrubix
@getrubix 18 күн бұрын
I don't see why not...
@tianfreeze3472
@tianfreeze3472 9 күн бұрын
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 .
@getrubix
@getrubix 8 күн бұрын
I'll take a look into this.
@JonHelm
@JonHelm Ай бұрын
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.
@getrubix
@getrubix Ай бұрын
You can deploy the PowerShell script directly as a 'platform script' or package as an application?
@nathanhopkins8780
@nathanhopkins8780 Ай бұрын
Any reason to not put the remediation steps into the New Teams installer?
@getrubix
@getrubix Ай бұрын
Nope- you can do that. Options are good :)
@ToTCaMbIu
@ToTCaMbIu Ай бұрын
Keep them separate, it would be easier to troubleshoot if one of them doest work as expected.
@zhiqiangzhou540
@zhiqiangzhou540 19 күн бұрын
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
@getrubix
@getrubix 19 күн бұрын
Not sure what the reason would be, but I would try reinstalling "RunInSandbox"
@zhiqiangzhou540
@zhiqiangzhou540 19 күн бұрын
​@@getrubix Already tried, the option is present in the context menu, but when clicked, it open a powershell window which closes almost instantly and then the Sandbox is launched.
@ayyappacreations6654
@ayyappacreations6654 Ай бұрын
Can you please share any link for uninstalling old teams classic
@getrubix
@getrubix Ай бұрын
There are several options discussed here: learn.microsoft.com/en-us/microsoftteams/teams-classic-client-uninstall
@MrMarcLaflamme
@MrMarcLaflamme Ай бұрын
If these scripts are running in the background, where are the write-host messages shown/written to? Will the user get a popup?
@getrubix
@getrubix Ай бұрын
Write-Host is for logging purposes
@MrMarcLaflamme
@MrMarcLaflamme Ай бұрын
@@getrubix where does it get logged though? That’s what I was asking. Does it write to a file on the client or get surfaced in Intune?
@getrubix
@getrubix Ай бұрын
Oh okay- it will get logged in the output of the remediation. Other than that, you would have to specify somewhere specific by Start-Transcript...
@MrMarcLaflamme
@MrMarcLaflamme Ай бұрын
@@getrubix Ah okay, that's cool! Really wish we had remediations...
@jonlyons3601
@jonlyons3601 Ай бұрын
How do you get teams to AutoStart the first time? :)
@getrubix
@getrubix Ай бұрын
Intune configuration policy. Go to settings catalog > search "teams" > and you'll see the available options.
@jonlyons3601
@jonlyons3601 Ай бұрын
​@@getrubix Weird I have that AutoStart option set to disable(which is to enabled it) but teams never auto starts the first time from a fresh autopilot deploy.
@JVinterberg
@JVinterberg Ай бұрын
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: %windir%\sysnative\windowspowershell\v1.0\powershell.exe -executionpolicy bypass .\install.ps1
@getrubix
@getrubix Ай бұрын
yes- if that doesn't work, then just try "powershell.exe -executionpolicy bypass .\install.ps1"
@papajohnscookie
@papajohnscookie Ай бұрын
It would be so much easier if they just had the new teams UWP app on the store to install
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 2,2 МЛН
Track Status Visually With Microsoft List's New Board View!
13:41
Bulb Digital
Рет қаралды 108 М.
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 14 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 54 МЛН
My top 3 gaming monitors right now.
6:59
optimum
Рет қаралды 251 М.
I switched back to AMD... and I have no regrets.
24:11
JayzTwoCents
Рет қаралды 354 М.
How To Deploy Win32 Applications in Microsoft Intune
21:10
Harry Lowton
Рет қаралды 80 М.
How to package, deploy, and manage apps for Intune with Robopack
21:29
A Deep Dive into OneNote; Your Digital Brain #microsoft365
20:44
Jonathan Edwards
Рет қаралды 43 М.
Microsoft Intune App Deployment: 5 Tools YOU don't want to miss!!
4:16
Dean Ellerby MVP
Рет қаралды 2,5 М.
Reports on Windows Updates in Intune
14:29
Intune & Vita Doctrina
Рет қаралды 2,6 М.
How to Update Your Devices in Microsoft 365 Using Intune
20:25
Jonathan Edwards
Рет қаралды 12 М.
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 3,7 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 594 М.