How to script checking if the latest Microsoft Teams app is installed using Intune?

Woody Chiu at RASI 226 Reputation points
2025-03-18T20:00:36.6066667+00:00

I want to check if all stores have or have not had the latest Microsoft Teams installed. If it's installed, it will pin the installed app to Windows taskbar. If not installed, it will install it for that user. Any idea how to approach using Intune?

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
2,060 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZhoumingDuan-MSFT 17,075 Reputation points Microsoft External Staff
    2025-03-19T01:59:42.02+00:00

    @Woody Chiu at RASI,Thanks for posting in Q&A.

    From your description, I know you want to keep the latest version of Microsoft Teams and pin it to Windows taskbar.

    Based on my research, I find we can deploy Microsoft Teams through Microsoft 365 apps in Intune portal which will automatically update Teams to latest version.

    https://www.prajwaldesai.com/deploy-microsoft-teams-using-intune/

    Also, I find a PowerShell script to pin the apps to taskbar.

    https://github.com/gunnarhaslinger/Add-or-Remove-Application-To-Windows-10-Taskbar

    Non-official, just for reference.

    Hope it can help you.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.