Added -AzureEnvironment parameter to Initialize-PnPPowerShellAuthentication to create an Azure AD App in other Azure environments than the default one.
Added -AzureEnvironment parameter to all Connect-PnPOnline options which result in an OAuth based authentication connection, supporting the various Azure Environments available.
Changed
Fixed issue with Submit-PnPTeamsChannelMessage not posting HTML message when setting the content type to Html.
The content type that Submit-PnPTeamsChannelMessage uses defaults now to HTML.
Fixed an issue with the PnP Provisioning Engine not being able to correctly acquire a token for the Microsoft Graph when provisioning a tenant template containing a Team.
Optimized Submit-PnPSearchQuery and Get-PnPSiteSearchQueryResults cmdlets when using the -All parameter.
Fixed TrimDuplicates to be default off for Submit-PnPSearchQuery
How to install
Use Install-Module -Name SharePointPnPPowerShell[version] to install. Available are:
SharePointPnPPowerShellOnline
SharePointPnPPowerShell2019
SharePointPnPPowerShell2016
SharePointPnPPowerShell2013
How to install on a machine without an internet connection and make the cmdlets automatically available in PowerShell