Manage Microsoft Teams Policy through PowerShell

Recently Microsoft introduced background effects in Microsoft Teams, and many users started to use these little feature backgrounds. And in addition, there is another possibility to use the custom backgrounds and upload your image from your pc.

Microsoft Teams meeting Show background effects and available images.

Manage Microsoft Teams Policy through PowerShell

When you start using the default background effects during a Teams meeting, a new folder called “Backgrounds” in the following path: %AppData%\Microsoft\Teams.

Within that folder, you’ll find another folder called “Uploads,” and if you add an image into that folder, you can choose that image and use it as your custom background image during your Microsoft Teams meeting.

Note: currently, there is no way to upload custom images from Microsoft Teams app.

Manage Background Policy with PowerShell

You can manage Microsoft Teams’ background policies from PowerShell only, and currently, there’s no way to manage the guidelines through the Microsoft Teams Admin Portal.

The following options and filters are available and can be defined in Microsoft Teams meeting policies:

  • No Filters will disable the options to blur or set a custom background
  • All Filters grant end-users can do everything, including using their custom background
  • BlurOnly will disable the custom background option
  • BlurAndDefaultBackgrounds will allow the blur option and set a default background with no way for the end-user to change it.

To manage background effects from PowerShell, you need to use the Skype for Business Online PowerShell modules. You need to create or modify the existing policy and grant the procedure as required to the end-users.

Configure Teams Policy

To connect, create, configure, and grant permissions, use the following commands:

Connect to Microsoft Teams PowerShell (SkypeOnline)

 Import-Module SkypeOnlineConnector
 $cred = Get-Credential
 $session = New-CsOnlineSession -Credential $cred
 Import-PSSession -Session $session –AllowClobber

Create Pilot Policy (Optional)

 New-CsTeamsMeetingPolicy -Identity Background

Modify Policy

 Set-CsTeamsMeetingPolicy background -VideoFiltersMode BlurOnly

Grant Policy

 Grant-CsTeamsMeetingPolicy –Identity eshlomo@cyberint.co  –PolicyName “Background”

Manage Background Policy with PowerShell

Manage Microsoft Teams Background Policy through PowerShell

Once the meeting policy is configured, you can assign the end-users through the Teams Admin Center or PowerShell.

Happy Teams Meeting.

Manage Microsoft Teams Policy through PowerShell

Recently Microsoft introduced background effects in Microsoft Teams, and many users started to use these little feature backgrounds. And in addition, there is another possibility to use the custom backgrounds and upload your image from your pc.
Microsoft Teams meeting Show background effects and available images.
Manage Microsoft Teams Policy through PowerShell

When you start using the default background effects during a Teams meeting, a new folder called “Backgrounds” in the following path: %AppData%\Microsoft\Teams.
Within that folder, you’ll find another folder called “Uploads,” and if you add an image into that folder, you can choose that image and use it as your custom background image during your Microsoft Teams meeting.
Note: currently, there is no way to upload custom images from Microsoft Teams app.

Manage Background Policy with PowerShell

You can manage Microsoft Teams’ background policies from PowerShell only, and currently, there’s no way to manage the guidelines through the Microsoft Teams Admin Portal.
The following options and filters are available and can be defined in Microsoft Teams meeting policies:

  • No Filters will disable the options to blur or set a custom background
  • All Filters grant end-users can do everything, including using their custom background
  • BlurOnly will disable the custom background option
  • BlurAndDefaultBackgrounds will allow the blur option and set a default background with no way for the end-user to change it.

To manage background effects from PowerShell, you need to use the Skype for Business Online PowerShell modules. You need to create or modify the existing policy and grant the procedure as required to the end-users.

Configure Teams Policy

To connect, create, configure, and grant permissions, use the following commands:
Connect to Microsoft Teams PowerShell (SkypeOnline)

 Import-Module SkypeOnlineConnector
 $cred = Get-Credential
 $session = New-CsOnlineSession -Credential $cred
 Import-PSSession -Session $session –AllowClobber

Create Pilot Policy (Optional)

 New-CsTeamsMeetingPolicy -Identity Background

Modify Policy

 Set-CsTeamsMeetingPolicy background -VideoFiltersMode BlurOnly

Grant Policy

 Grant-CsTeamsMeetingPolicy –Identity eshlomo@cyberint.co  –PolicyName “Background”

Manage Background Policy with PowerShell
Manage Microsoft Teams Background Policy through PowerShell
Once the meeting policy is configured, you can assign the end-users through the Teams Admin Center or PowerShell.
Happy Teams Meeting.

You may also like...

Leave a Reply

error: Content is Protected !!
%d bloggers like this: