Skip to content

Release 2.3.0

Compare
Choose a tag to compare
@gautamdsheth gautamdsheth released this 12 Dec 15:35
· 866 commits to master since this release
c215d5d

Added

  • Added -MediaTranscription and -MediaTranscriptionAutomaticFeatures to Set-PnPTenant which allows for configuring the media transcription settings. #3238
  • Added -Includes option to Get-PnPListItem which allows for specifying additional fields to be retrieved. #3270
  • Added -AllowCommentsTextOnEmailEnabled parameter to Set-PnPTenant which allows including the surrounding document context in email notification when user is mentioned in document comments. #3268
  • Added Export-PnPPowerApp cmdlet which will export a specified PowerApp as zip package. #2990
  • Added AzureADLoginEndPoint and MicrosoftGraphEndPoint parameters to Connect-PnPOnline cmdlet for use in custom Azure environments. #2925
  • Added Get-PnPFolder cmdlet without any parameters to return the folder representing the root of the current web #3319
  • Added Get-PnPFileInFolder cmdlet which allows retrieval of all files in a folder or site and optionally request additional properties from them #3319
  • Added Get-PnPFolderInFolder cmdlet which allows retrieval of all folders in a folder or site and optionally request additional properties from them #3319
  • Added -SharingStatus parameter to Get-PnPFlow which allows for filtering flows based on their sharing status. #3287
  • Added -AzureADLoginEndPoint and -MicrosoftGraphEndPoint parameters to Connect-PnPOnline cmdlet for use in custom Azure environments. #2925
  • Added SiteOwnerManageLegacyServicePrincipalEnabled parameter to Set-PnPTenant cmdlet. With this parameter site owners will not be able to register/update apps unless the tenant admin explicitly allows it. #3318
  • Added -EnableAutoExpirationVersionTrim, -ExpireVersionsAfterDays, -MajorVersions, -MinorVersions, -InheritTenantVersionPolicySettings, -StartApplyVersionPolicySettingToExistingDocLibs and -CancelApplyVersionPolicySettingToExistingDocLibs to Set-PnPSite to allow for time based version expiration on the site level #3373
  • Added -ReduceTempTokenLifetimeEnabled, -ReduceTempTokenLifetimeValue, -ViewersCanCommentOnMediaDisabled, -AllowGuestUserShareToUsersNotInSiteCollection, -ConditionalAccessPolicyErrorHelpLink, -CustomizedExternalSharingServiceUrl, -IncludeAtAGlanceInShareEmails and -MassDeleteNotificationDisabled to Set-PnPTenant #3348
  • Added Add-PnPFlowOwner and Remove-PnPFlowOwner cmdlets which allow granting or removing permissions to a Power Automate flow #3343
  • Added Get-PnPFlowOwner cmdlet which allows retrieving the owners of a Power Automate flow #3314
  • Added -AvailableForTagging to Set-PnPTerm which allows the available for tagging property on a Term to be set #3321
  • Added Get-PnPPowerPlatformConnector cmdlet which allows for all custom connectors to be retrieved #3309
  • Added Set-PnPSearchExternalItem cmdlet which allows ingesting external items into the Microsoft Search index for custom connectors. #3420
  • Added Get-PnPTenantInfo which allows retrieving tenant information by its Id or domain name #3414
  • Added option to create a Microsoft 365 Group with dynamic membership by passing in -DynamicMembershipRule #3426
  • Added option to pass in a Stream or XML string to Read-PnPTenantTemplate allowing the tenant template to be modified before being applied. #3431
  • Added Get-PnPTenantInfo which allows retrieving tenant information by its Id or domain name. #3414
  • Added option to create a Microsoft 365 Group with dynamic membership by passing in -DynamicMembershipRule #3426
  • Added Get-PnPSiteVersionPolicy which allows retrieval of the version policy settings for a site #3470
  • Added RestrictedAccessControl, ClearRestrictedAccessControl, RemoveRestrictedAccessControlGroups, AddRestrictedAccessControlGroups and RestrictedAccessControlGroups parameters to Set-PnPTenantSite cmdlet to handle restricted access control. #3463
  • Added Get-PnPRetentionLabel cmdlet to retrieve Purview retention labels. #3459
  • Added GCC support for Get-PnPAzureADUser , Add-PnPFlowOwner , Remove-PnPFlowOwner, Sync-PnPSharePointUserProfilesFromAzureActiveDirectory, New-PnPAzureADUserTemporaryAccessPass and Get-PnPAvailableSensitivityLabel cmdlets. #3484
  • Added -Detailed option to Get-PnPTenantDeletedSite to optionally fetch more information on the deleted sites #3550
  • Added a devcontainer for easily building a minimal environment necessary to contribute to the project. #3497
  • Added -RelativeUrl parameter to Connect-PnPOnline cmdlet to allow specifying custom URLs for usage with -WebLogin method. #3530
  • Added -RetryCount to Submit-PnPSearchQuery which allows for specifying the number of retries to perform when an exception occurs #3528
  • Added -MailNickname parameter to Set-PnPMicrosoft365Group cmdlet to allow changing of this property on a Microsoft 365 Group #3529
  • Added -SanNames to New-PnPAzureCertificate which allows for controlling the Subject Alternative Names set on the generated certificate #3555
  • Added Information Barriers information to the output of Get-PnPTenantSite #3556
  • Added RequestFilesLinkEnabled and RequestFilesLinkExpirationInDays to the output of Get-PnPSite #3557
  • Added CoreRequestFilesLinkEnabled, CoreRequestFilesLinkExpirationInDays, OneDriveRequestFilesLinkEnabled, OneDriveRequestFilesLinkExpirationInDays, BusinessConnectivityServiceDisabled to the output of Get-PnPTenant #3557
  • Added -BusinessConnectivityServiceDisabled parameter to Set-PnPTenant cmdlt to allow disabling the Business Connectivity Service #3562
  • Added support for executing the 'Invoke-PnPSPRestMethod' cmdlet in a batch #3565
  • Added Get-PnPSiteSetVersionPolicyProgress cmdlet which allows for getting the progress of setting a version policy for existing document libraries on a site #3564
  • Added EnableSensitivityLabelForPDF to Set-PnPTenant and Get-PnPTenant #3581
  • Added the ability to set Manage and FullControl permissions directly when using Sites.Selected with Grant-PnPAzureADAppSitePermission #3617
  • Added Remove-PnPMicrosoft365GroupPhoto cmdlet which allows removal of profile picture of M365 Group. #3607

Fixed

  • Fixed Add-PnPContentTypeToList cmdlet to better handle piped lists. #3244
  • Fixed Get-PnPUserProfileProperty cmdlet not allowing basic user profile properties to be retrieved using -Properties #3247
  • Fixed Export-PnPTermGroupToXml cmdlet issue with exporting site collection term groups. #3256
  • Fixed Register-PnPAzureADApp cmdlet issue with creation of Azure AD application. #3265
  • Fixed Get-PnPServiceHealthIssue cmdlet issue with null reference objection. #3286
  • Fixed New-PnPSite cmdlet issue with team site creation when using a connection object. #3285
  • Fixed issue with colliding assemblies when using PnP PowerShell with other modules. #3280
  • Fixed issue with -ArchiveRedirectUrl parameter not working correctly in Set-PnPTenant cmdlet. #3289
  • Fixed New-PnPAzureADGroup cmdlet throwing null reference error when owners and members are not specified. #3308
  • Fixed New-PnPTeamsTeam cmdlet, it will now throw error if it fails to teamify a Microsoft 365 group. #3310
  • Fixed Get-PnPFolderItem cmdlet not accepting piping a folder instance to it #3319
  • Fixed Get-PnPFolderItem cmdlet not working well with the -Recursive and -Identity parameters provided together #3319
  • Fixed Get-PnPFolderItem cmdlet not working well with the -ItemName parameter #3319
  • Fixed Connect-PnPOnline cmdlet throwing host not reachable errors. #3337
  • Fixed Set-PnPTerm cmdlet throwing object reference error when only the term Id is specified. #3341
  • Fixed New-PnPTeamsTeam cmdlet throwing an error when specifying members #3351
  • Fixed New-PnPTeamsTeam cmdlet not working well with a managed identity #3351
  • Fixed Copy-PnPFile, Copy-PnPFolder and Move-PnPFile to better handle copying or moving operations to OneDrive or Multi-geo environments. #3245
  • Fixed Get-PnPTenantTemplate not doing anything when the -SiteUrl parameter had not been specified. It will now use the currently connected site when the parameter is omitted. #3431
  • Fixed Enable-PnPPageScheduling and Disable-PnPPageScheduling cmdlets not working due to changes in backend code. #3469
  • Fixed an issue when trying to download a file using Get-PnPFile from a location that's deeply nested into folders and/or has a really long filename PnP Core #1290
  • Fixed retrieving error detail in Get-UPABulkImportStatus cmdlet. #3494
  • Fixed Rename-PnPTenantSite cmdlet to allow support for vanity tenant URLs. #3533
  • Fixed Get-PnPAzureADUser, Get-PnPEntraIDUser, Add-PnPFlowOwner and Remove-PnPFlowOwner not working when an UPN containing an apostrophe was passed in #3570

Changed

  • Improved Set-PnPListItem cmdlet handling of Purview labels. #3340
  • The Publish-PnPCompanyApp cmdlet is now obsolete. It will be removed in the next version. #3349
  • Verbose output will no longer show the access token #3352
  • Improved Add-PnPFile cmdlet. It will now automatically checkout the file if -CheckinType parameter is specified. #3403
  • Improved the error message thrown when using -ValidateConnection with Connect-PnPOnline and it failing due to i.e. an expired ClientSecret so the reason of the failed connect becomes more clear. #3440
  • If a cmdlet gets renamed and an alias gets added for it for backwards compatibility, a cmdlet page for the alias will automatically be created so it can still be found in the documentation #3455
  • Improved Remove-PnPFlow cmdlet to throw error if the Flow doesn't exist and also added verbose logging. #3474
  • Changed Get-PnPContentType to now also support -Includes to allow retrieval of additional properties of the content type #3518
  • Get-PnPTeamsTeam cmdlet throws error message if the team isn't found when -Identity parameter is specified. #3502
  • Improved Get-PnPSiteCollectionAdmin cmdlet to allow retrieval of additional properties when -Includes parameter is specified. #3521

Removed

  • Removed -DisableListSync and -SyncAadB2BManagementPolicy from Set-PnPTenant as the underlying properties have been removed from SharePoint CSOM as well #3388

Contributors

  • Pieter Veenstra [Pieter-Veenstra]
  • Konrad K. [wilecoyotegenius]
  • Dan Cecil [danielcecil]
  • Antti K. Koskela [koskila]
  • Christian Veenhuis [ChVeen]
  • Kunj Balkrishna Sangani [kunj-sangani]
  • Dave Paylor [paylord]
  • [smsdaniel]
  • Jim Duncan [sparkitect]
  • Jonathan Smith [jonathan-m-smith]
  • Carl Joakim Damsleth [damsleth]
  • Rodel Pacurib [ryder-cayden]
  • [CatSchneider]
  • [msjennywu]
  • Reshmee Auckloo [reshmee011]
  • Per Østergaard [per-oestergaard]
  • Nishkalank Bezawada [NishkalankBezawada]
  • [PowerBugi]
  • Ganesh Sanap [ganesh-sanap]
  • Siddharth Vaghasia [siddharth-vaghasia]
  • Giacomo Pozzoni [jackpoz]
  • Martin Lingstuyl [martinlingstuyl]
  • Arleta Wanat [PowershellScripts]
  • Nils Andresen [nils-a]
  • Koen Zomers [koenzomers]