MicrosoftTeams PowerShell Module 7.2.0 released

MicrosoftTeams PowerShell Module 7.2.0 released

Hi All,

A few hours ago, Microsoft has released the MicrosoftTeams PowerShell Module 7.2.0 to the PowerShell Gallery.

PowerShell Gallery MicrosoftTeams 7.2.0

Read more details in the Release Notes

  • Adds EffectivePolicyAssignments attribute to Get-CsOnlineUser cmdlet. This attribute is currently supported only in commercial environments.
  • Fixes issues with AccountType parameter (SfbOnPremUser & IneligibleUser values) in the Get-CsOnlineUser cmdlet.

I am using the new PSResourceGet here instead of the PowerShellGet commands.

Check installed Module and what’s available in the PowerShell Gallery

Get-InstalledPSResource -Name MicrosoftTeams -Scope CurrentUser
Find-PSResource -Name MicrosoftTeams

Uninstall the old Module and install the newest Module

Uninstall-PSResource -Name MicrosoftTeams -Scope CurrentUser

I’ve updated the M365PSProfile PowerShell Module and the Uninstall-M365Module Function with the Parameter -FileMode. It will delete the Module Folder of that Module.

Uninstall-M365Module -Modules MicrosoftTeams -Scope CurrentUser -FileMode

Install-PSResource -Name MicrosoftTeams -Scope CurrentUser
Get-InstalledPSResource -Name MicrosoftTeams -Scope CurrentUser

Some basic testing

Connect-MicrosoftTeams
Get-Team
Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line*

New and updated Commands

Adds EffectivePolicyAssignments attribute to Get-CsOnlineUser cmdlet. This attribute is currently supported only in commercial environments.

Get-CsOnlineUser -Identity a.bohren@icewolf.ch | select -ExpandProperty EffectivePolicyAssignments

Fixes issues with AccountType parameter (SfbOnPremUser & IneligibleUser values) in the Get-CsOnlineUser cmdlet.

Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl AccountType

M365PSProfile

Or you can simply use my M365PSProfile Module - find the Documentation here: https://github.com/fabrisodotps1/M365PSProfile/

Install-PSResource -Name M365PSProfile
Add-M365PSProfile
Install-M365Module

Regards
Andres Bohren

PowerShell Logo

Teams Logo