Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»Intune»Using Intune Remediation – Monitoring New Microsoft Teams Installation and is default app or not

    Using Intune Remediation – Monitoring New Microsoft Teams Installation and is default app or not

    Eswar KonetiBy Eswar KonetiJanuary 26, 5:27 am3 Mins Read Intune 3,492 Views
    Share
    Facebook Twitter LinkedIn Reddit

    Introduction:

    Microsoft introduced an enhanced version of Teams (Teams 2.0) which was reimagined from the ground up for a faster, simpler, and more flexible experience. For more information about new Microsoft Teams, please refer https://adoption.microsoft.com/en-us/new-microsoft-teams/

    Microsoft has posted a notification in M365 admin center stating,  Classic Teams users to be updated to new Teams after March 31, 2024 and classic Teams will not be functional. Ref link https://admin.microsoft.com/?ref=MessageCenter/:/messages/MC706396

    image

    Here is the detailed Microsoft documentation for bulk installation of the new teams https://learn.microsoft.com/en-us/microsoftteams/new-teams-bulk-install-client

    New teams is MSIX application and installation path is C:\Program Files\WindowsApps\MSTeams_24004.1304.2637.3318_x64__8wekyb3d8bbwe where as classic teams is located in %localAppdata%\Microsoft\Teams.

    you can enable the new teams using Microsoft Teams update policy https://techcommunity.microsoft.com/t5/microsoft-teams-blog/enable-the-new-microsoft-teams-for-your-organization-today/ba-p/3945599

    In anticipation of this transition, it is crucial to enable New Teams for users to explore its capabilities and provide feedback on any potential issues.

    I was tasked with identifying a method to monitor the number of users who have opted in for the installation of New Teams and have set Teams as their default Teams application.

    In this blog post, we will discuss how to monitor the installation of New Teams and track whether users have set new Teams as their default instant messaging (IM) provider. This is useful till 31st march. after that, every user will have new teams as default and classic will not be functional.

    Monitoring New Teams Installation:

    Since the teams installation is MSIX application, it can be tracked using Get-AppxPackage MSTeams (this must run with user rights).

    Monitoring Default IM Provider:

    For Default IM provider, there is registry key in HKCU (HKCU:\Software\IM Providers) that helps to monitor if the default IM provider is new teams or classic.

    For new Teams, the IMprovider value is MSTeams , where as for classic teams, it is Teams

    we will use these values to monitor if the user has opt-in for new teams and is set as default Teams or not using intune remediation script feature.

    Intune Remediation Script:

    The Intune remediation script (NewTeams.zip) is available on GitHub repository. You can download, customize, and deploy it through Intune to start monitoring the New Teams installation and default IM provider settings.

    Here is a brief overview of the key functionalities of the script:

    1. Check Installation: The script verifies the presence of New Teams installation on users' devices.
    2. Default IM Provider: It monitors registry settings to confirm whether users have set New Teams as their default IM provider.
    3. Remediation: There is no remediation, it is only detection script. You can leave the remediation as blank.

    Deploy the remediation to the group of devices with following settings (script run with user rights).

    Remediation script settings:

    Script results

    image

    Happy monitoring.

    References

    New teams for AVD https://learn.microsoft.com/en-us/microsoftteams/new-teams-vdi-requirements-deploy

    Upgrade new teams using policies https://learn.microsoft.com/en-us/microsoftteams/new-teams-deploy-using-policies?tabs=teams-admin-center

    Upgrade to new teams using M365 apps https://learn.microsoft.com/en-us/microsoftteams/new-teams-deploy-with-m365apps

    Classicteams HKCU:\Software\IM Providers Improvider intune Monitor new teams msintune msteams NewTeams remediation
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Export Microsoft Entra ID User Authentication Methods to CSV using PowerShell & Microsoft Graph API

    August 13, 2:08 pm

    Automating Intune Deployment Rings Using Entra ID Dynamic Groups and Regex

    July 01, 10:31 pm

    Exporting Intune Win32 Apps with All Properties Using PowerShell and Microsoft Graph

    June 30, 7:01 pm

    2 Comments

    1. Oleg on January 27, 2024 3:34 AM

      This is really cool, just not sure how are you guys actually monitoring this?
      Let's say I can add an EXIT 1 after "elseif ($teamsInstalled -or $teamsDefault)" and it will fail, but how I can know what is the exact state in case it fails on "Not installed" ?

      Reply
      • Eswar Koneti on February 10, 2024 11:01 PM

        Hi,
        you can replace the exit code with 0 if new teams found else exit 1 so that you can see the summary of the new teams.

        Thanks,
        Eswar

        Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.