Microsoft has released a new pre-version of their PowerShell Module, version 6.8.0. This version is now generally available and contains the following updates:
- Added an optional TargetType parameter to the Get-CsOnlineTelephoneNumberOrder cmdlet.
- [CHANGEMENT MAJEUR] Change output attribute from TelephoneNumber to TelephoneNumbers in Get-CsOnlineTelephoneNumberOrder cmdlet.
- Publication of the New-CsOnlineDirectRoutingTelephoneNumberUploadOrder cmdlet.
- Publication of the New-CsOnlineTelephoneNumberReleaseOrder cmdlet.
- [CHANGEMENT MAJEUR] EnablePayAsYouGoSpendingLimits replaced by EnableSpendLimits in [New|Set]-CsTeamsCallingPolicy cmdlets.
- [CHANGEMENT MAJEUR] Replaced PayAsYouGoSpendingUserLimit with CallingSpendUserLimit in [New|Set]-CsTeamsCallingPolicy cmdlets.
- ShowTeamsCallsInCallLog added to [New|Set]-CsTeamsCallingPolicy cmdlets.
- Publication of cmdlets [Get|Set]-CsTeamsMultiTenantOrganizationConfiguration.
- Added new policies such as TeamsBYODAndDesksPolicy, TeamsAIPolicy, TeamsWorkLocationDetectionPolicy, TeamsMediaConnectivityPolicy, TeamsMeetingTemplatePermissionPolicy, TeamsVirtualAppointmentsPolicy, TeamsWorkLoadPolicy to the output of the Get-CsOnlineUser cmdlet.
- Publication of major updates for the Get-CsOnlineUser cmdlet for Microsoft Teams operated by 21Vianet with significant performance improvements and new filtering capabilities for scenarios without the “-Identity” parameter.
- Performance improvements, especially for filtering scenarios with wildcard (), OnPrem and Timestamp attributes.
- The correct values will start to appear 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.
- The following filter operators have been reintroduced in Get-CsOnlineUser :
- The “-like” operator now supports the use of wildcards in “contains” and “ends with” scenarios. Example: Get-CsOnlineUser -Filter “DisplayName -like ‘abc'”
- “-contains” can now be used to filter properties that are an array of strings such as FeatureTypes, ProxyAddresses and ShadowProxyAddresses. Example: Get-CsOnlineUser -Filter {FeatureTypes -contains “PhoneSystem”}
- “-gt” (greater than), “-lt” (less than) can now be used to filter 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 to filter policies. Example: Get-CsOnlineUser -Filter {ExternalAccessPolicy -ge “xyz_policy”}
- Updates to the type of users displayed :
- Unlicensed users – Unlicensed users will appear 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.
- [CHANGEMENT MAJEUR] IneligibleUser – AccountType as Unknown will be renamed IneligibleUser. IneligibleUser will include users who do not have valid Teams licenses (except guests, SfbOnPremUser, ResourceAccount).
- Publication of the Get-M365UnifiedCustomPendingApps cmdlet to obtain all pending M365 custom applications.
- Publish the Update-M365UnifiedCustomPendingApp cmdlet to publish or reject a pending M365 custom application.
- Filter parameter added to Get-CsPhoneNumberAssignment cmdlet.
- Added AIInterpreter and VoiceSimulationInterpreter parameters to [New|Set]-CsTeamsMeetingPolicy cmdlets.
- ImmersiveEvents parameter added to [New|Set]-CsTeamsEventsPolicy cmdlet.
- AnonymousUserAuthenticationMethod parameter added to [New|Set]-CsTeamsMeetingPolicy cmdlet.
- ExtendedWorkInfoInPeopleSearch parameter added to Set-CsTeamsClientConfiguration cmdlet.
- [CHANGEMENT MAJEUR] Replacing VoiceSimulationInInterpretation with VoiceSimulationInInterpreter

As you can see, there are quite a few major changes in this version. If you have automation scripts, be sure to adjust them to reflect the above changes.