Microsoft teams offer users the option of using their own virtual background in a meeting. This background offers the opportunity to highlight your own company in every meeting. Properly distributing these backgrounds with Intune gives everyone the same choice. Because in order to use it, each user must have imported the relevant files onto their device.

Due to the location independence of the endpoint manager, we also intercept the employees in the home office.

For this I created a Win32 package consisting of two PowerShell files and the backgrounds. You can find the complete package in my GitHub repository.

The package consists of:

Ordner: bgSource for backgrounds (e.g. company-bg.jpg)
install.ps1Here the backgrounds are copied to the correct destination, a validation file (recognition rule) is created and finally a log is written.
uninstall.ps1Removes the installed backgrounds and the validation file.
check.ps1Reads the validation file including the version number.

My win32 template serves as the basic: my take on win32 apps - Intune | scloud

Package and distribute

Win32 package virtual wallpaper temas
  • Set parameters and the installation behavior "User".
    • install command
      %SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command .\install.ps1
    • uninstall command
      %SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command .\uninstall.ps1
install/uninstall command Microsoft Teams Background
  • Requirements
requirements teams background
  • I have already prepared the «check.ps1» file as «Detection Rule».
check.ps1 as detection
  • Finally, you assign a group which distributes the package.
  • ... and done!

With these steps, you can quickly distribute the background for Microsoft Teams with Intune and also update it. You only need to generate a new package and increase the version in "install.ps1" and "check.ps1."