MicrosoftTeams PowerShell Module 6.8.0 released

MicrosoftTeams PowerShell Module 6.8.0 released

Hi All,

Yesterday, Microsoft has released the MicrosoftTeams PowerShell Module 6.8.0 to the PowerShell Gallery.

PowerShell Gallery MicrosoftTeams 6.8.0

Read more details in the Release Notes

  • Adds an optional parameter TargetType to Get-CsOnlineTelephoneNumberOrder cmdlet.
  • [BREAKING CHANGE] Changes output attribute from TelephoneNumber to TelephoneNumbers in Get-CsOnlineTelephoneNumberOrder cmdlet.
  • Releases New-CsOnlineDirectRoutingTelephoneNumberUploadOrder cmdlet.
  • Releases New-CsOnlineTelephoneNumberReleaseOrder cmdlet.
  • [BREAKING CHANGE] Replaces EnablePayAsYouGoSpendingLimits for EnableSpendLimits in [New|Set]-CsTeamsCallingPolicy.
  • [BREAKING CHANGE] Replaces PayAsYouGoSpendingUserLimit for CallingSpendUserLimit in [New|Set]-CsTeamsCallingPolicy.
  • Adds ShowTeamsCallsInCallLog to [New|Set]-CsTeamsCallingPolicy.
  • Releases [Get|Set]-CsTeamsMultiTenantOrganizationConfiguration cmdlets.
  • Adds new policies namely TeamsBYODAndDesksPolicy, TeamsAIPolicy, TeamsWorkLocationDetectionPolicy, TeamsMediaConnectivityPolicy, TeamsMeetingTemplatePermissionPolicy, TeamsVirtualAppointmentsPolicy, TeamsWorkLoadPolicy to Get-CsOnlineUser cmdlet output.
  • Releases major updates to Get-CsOnlineUser cmdlet for Microsoft Teams operated by 21Vianet with significant performance improvements and new filtering capabilities to scenarios without the “-Identity” parameter.
    • Performance improvements especially with “-Filter” scenarios like using wildcard operator (), OnPrem and Timestamp attributes.
    • Correct values will start populating in the output for CountryAbbreviation, UserValidationErrors, WhenCreated.
    • These attributes are now enabled for filtering: Alias, City, Company, HostingProvider, UserValidationErrors, OnPremEnterpriseVoiceEnabled, OnPremHostingProvider, OnPremLineURI, OnPremSIPEnabled, SipAddress, SoftDeletionTimestamp, StateOrProvince, Street, TeamsOwnersPolicy, WhenChanged, WhenCreated, FeatureTypes, PreferredDataLocation, LastName.
    • These filtering operators have been reintroduced into Get-CsOnlineUser:
      • “-like” operator now supports use of wildcard operators in ‘contains’ and ’ends with’ scenarios. Example: Get-CsOnlineUser -Filter “DisplayName -like ‘abc’”
      • “-contains” can now be used for filtering on properties that are an array of strings like FeatureTypes, ProxyAddresses and ShadowProxyAddresses. Example: Get-CsOnlineUser -Filter {FeatureTypes -contains “PhoneSystem”}
      • “-gt” (greater than), “-lt” (less than) can now be used for filtering all string properties. Example: Get-CsOnlineUser -Filter {UserPrincipalName -gt/-lt “abc”}
      • “-ge” (greater than or equal to), “-gt” (greater than), “-lt” (less than), “-le” (less than or equal to) can now also be used for filtering on policies.Example: Get-CsOnlineUser - Filter {ExternalAccessPolicy -ge “xyz_policy”}
    • Updates to type of users displayed:
      • Unlicensed Users - Unlicensed users would show up in the output of Get-CsOnlineUser.
      • Soft deleted users - These users will be displayed in the output with SoftDeletionTimestamp set to a value.
      • Guest users are now available in the output.
      • [BREAKING CHANGE] IneligibleUser - AccountType as Unknown will be renamed to IneligibleUser. IneligibleUser will include users who do not have any valid Teams licenses (except Guest, SfbOnPremUser, ResourceAccount).
  • Releases Get-M365UnifiedCustomPendingApps cmdlet to get all M365 unified custom pending apps.
  • Releases Update-M365UnifiedCustomPendingApp cmdlet to publish or reject an M365 unified custom pending app.
  • Adds Filter parameter to Get-CsPhoneNumberAssignment cmdlet.
  • Adds AIInterpreter, VoiceSimulationInInterpreter parameters to [New|Set]-CsTeamsMeetingPolicy.
  • Adds ImmersiveEvents parameter to [New|Set]-CsTeamsEventsPolicy.
  • Adds AnonymousUserAuthenticationMethod parameter to [New|Set]-CsTeamsMeetingPolicy.
  • Adds ExtendedWorkInfoInPeopleSearch parameter to Set-CsTeamsClientConfiguration.
  • [BREAKING CHANGE] Replaces VoiceSimulationInInterpretation for VoiceSimulationInInterpreter in [New|Set]-CsTeamsCallingPolicy.

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 MicrosoftTeams -Scope CurrentUser
Find-PSResource MicrosoftTeams

Uninstall the old Module and install the newest Module

Uninstall-PSResource 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 MicrosoftTeams -Scope CurrentUser -FileMode

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

Some basic testing

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

Regards
Andres Bohren

PowerShell Logo

Teams Logo