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

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

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

Пікірлер: 33
@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 :)
@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
@tianfreeze3472
@tianfreeze3472 8 күн бұрын
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 6 күн бұрын
I'll take a look into this.
@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.
@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 17 күн бұрын
Any chance this can be installed during pre-provisioning or Self-deployed ?
@getrubix
@getrubix 16 күн бұрын
I don't see why not...
@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
@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?
@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"
@zhiqiangzhou540
@zhiqiangzhou540 17 күн бұрын
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 17 күн бұрын
Not sure what the reason would be, but I would try reinstalling "RunInSandbox"
@zhiqiangzhou540
@zhiqiangzhou540 17 күн бұрын
​@@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.
@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.
@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
Рет қаралды 553 М.
Google Releases AI AGENT BUILDER! 🤖 Worth The Wait?
34:21
Matthew Berman
Рет қаралды 228 М.
БИМ БАМ БУМ💥
00:14
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 4,7 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 210 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 37 МЛН
Track Status Visually With Microsoft List's New Board View!
13:41
Bulb Digital
Рет қаралды 108 М.
12 Tips to Get More Done Using Microsoft Outlook
26:43
Jonathan Edwards
Рет қаралды 84 М.
Microsoft Entra Global Secure Access Demo
18:45
Kocho
Рет қаралды 686
10 Mistakes that a Microsoft 365 Admin Must NEVER Make!
33:06
Andy Malone MVP
Рет қаралды 35 М.
Reports on Windows Updates in Intune
14:29
Intune & Vita Doctrina
Рет қаралды 2,6 М.
A Deep Dive into OneNote; Your Digital Brain #microsoft365
20:44
Jonathan Edwards
Рет қаралды 43 М.
iOS 18.1 - Apple Intelligence is INSANE! (20+ New Features)
12:10
Brandon Butch
Рет қаралды 193 М.
Use Microsoft Loop in a Teams meeting early
16:35
Modern Work Mentor
Рет қаралды 7 М.
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 17 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Проверил, как вам?
0:58
Коннор
Рет қаралды 240 М.
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,2 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 10 МЛН