Skip to content

Release 2.5.0

Latest
Compare
Choose a tag to compare
@gautamdsheth gautamdsheth released this 27 Jun 16:30
· 76 commits to dev since this release
1bb29bd

Added

  • Added New-PnPLibraryFileVersionBatchDeleteJob and New-PnPSiteFileVersionBatchDeleteJob cmdlets to queue a job for deleting the file versions based on age. #3799
  • Added New-PnPLibraryFileVersionExpirationReportJob and New-PnPSiteFileVersionExpirationReportJob cmdlets to queue a job for generating a file version expiration report for all files in a document library or site. #3799
  • Added Remove-PnPLibraryFileVersionBatchDeleteJob and Remove-PnPSiteFileVersionBatchDeleteJob cmdlets to cancel the job for deleting file versions based on age. #3799
  • Added Get-PnPLibraryFileVersionExpirationReportJobProgress and Get-PnPSiteFileVersionExpirationReportJobProgress cmdlets to getting the progress for the job for file versions based on age. #3799
  • Added -UseVersionExpirationReport parameter to Get-PnPFileVersion cmdlet to get the version expiration report for a single file. #3799
  • Added -DelayDenyAddAndCustomizePagesEnforcement parameter to Set-PnPTenant cmdlet which allows delay of the change to custom script set on the Tenant until mid-November 2024. #3815
  • Added additional permissions for Graph application permission validate sets. #3835
  • Added the ability to upload entire local folders with files and optionally subfolders to SharePoint Online into 'Copy-PnPFolder' #3850
  • Added LoopDefaultSharingLinkRole, DefaultShareLinkScope, DefaultShareLinkRole, LoopDefaultSharingLinkScope and DefaultLinkToExistingAccessReset parameters to Set-PnPTenant cmdlet. #3874
  • Added Unlock-PnPSensitivityLabelEncryptedFile which allows the encryption to be removed from a file #3864
  • Added Get-PnPLibraryFileVersionBatchDeleteJobStatus and Get-PnPSiteFileVersionBatchDeleteJobStatus to check on the status of applying file based version expiration based on age on a library and site level #3828
  • Added support for Get-PnPSiteCollectionAppCatalog and Get-PnPTenantSite to be used with vanity domain tenants #3895
  • Added support for using vanity domain tenants with Grant-PnPTenantServicePrincipalPermission, Revoke-PnPTenantServicePrincipalPermission, Set-PnPWebTheme, Invoke-PnPListDesign, Set-PnPSite, Add-PnPSiteDesignTask, Get-PnPSiteDesignRun, Get-PnPSiteDesignTask and Invoke-PnPSiteDesign cmdlets #3898
  • Added -Detailed to Get-PnPMicrosoft365Group which allows retrieval of the AllowExternalSenders, IsSubscribedByMail and AutoSubscribeNewMembers properties of the group #3958
  • Added -RequireSenderAuthenticationEnabled and -AutoSubscribeNewMembers to Set-PnPMicrosoft365Group which allows setting these properties on a group #3958
  • Added Get-PnPContainerType cmdlet to retrieve the list of Container Types created for a SharePoint Embedded Application in the tenant. #3946
  • Added -RecycleBinRetentionPeriod,-OneDriveBlockGuestsAsSiteAdmin,-OneDriveDefaultShareLinkRole,-OneDriveDefaultShareLinkScope and -OneDriveDefaultLinkToExistingAccess parameters to the Set-PnPTenant cmdlet. #3977
  • Added Get-PnPTenantRestrictedSearchMode and Set-PnPTenantRestrictedSearchMode cmdlets to enable and set up Restricted SharePoint Search. #3976
  • Added Get-PnPTenantInternalSetting cmdlet to retrieve internal tenant settings not exposed via CSOM SDK. #3902
  • Added Add-PnPHomeSite cmdlet to add a home site to your tenant. #3989
  • Added Get-PnPPageSchedulingEnabled cmdlet to get the state of the modern page schedule feature in the library. PR
  • Added -IncludeSensitivityLabels parameter to Get-PnPMicrosoft365Group cmdlet to retrieve sensitivity labels assigned to M365 Groups. #3991
  • Added Get-PnPFileSensitivityLabelInfo cmdlet to retrieve sensitivity label information about a file in a SharePoint site. #3994
  • Added Get-PnPTenantRestrictedSearchAllowedList cmdlet to retrieve existing list of URLs in the allowed list. #3997
  • Added -IsSharePointAddInsDisabled to the Set-PnPTenant cmdlet which allows disabling SharePoint Add-ins #4032
  • Added -RestrictContentOrgWideSearch, -ReadOnlyForUnmanagedDevices and -InheritVersionPolicyFromTenant parameters to Set-PnPTenantSite cmdlet. #4024

Fixed

  • Fixed Get-PnPChangeLog -Version 2.3.0 not returning the changelog for that version #3804
  • Fixed Get-PnPFlow cmdlet throwing time out error due to incorrect URL used in HTTP request. #3820
  • Fixed Copy-PnPList cmdlet to better handle lookup columns. #3870
  • Fixed NullDereferenceException happening when an exception is logged in PnPConnectedCmdlet but the connection passed through -Connection parameter is not the last one. #3885
  • Fixed NullDereferenceException in Get-PnPUserProfileProperty cmdlet when the user profile doesn't exist, showing a better error message. #3891
  • Fixed the dev build process on Mac OS devices. #3907
  • Fixed Get-PnPContainer cmdlet to also handle pagination in case of large no. of containers in a tenant. #3990
  • Fixed New-PnPTeamsTeam cmdlet to better handle error specifically such as Conflict (409): Team already exists. #3992
  • Fixed Remove-PnPTeamsChannel issue where it was throwing incorrect exception. #4036

Changed

  • Renamed Get-PnPSiteFileVersionExpirationReportJobProgress to Get-PnPSiteFileVersionExpirationReportJobStatus #3828
  • Renamed Get-PnPSiteVersionPolicyProgress to Get-PnPSiteVersionPolicyStatus #3828
  • Remove-PnPGroupMember cmdlet now supports removing members from pipeline. #3955
  • Changed Set-PnPTenantCdnPolicy cmdlet to allow PolicyValue parameter to be an empty string or $null, while still being mandatory. #3937
  • Marked UserVoiceForFeedbackEnabled as obsolete in Set-PnPTenant cmdlet as Microsoft doesn't support this. #3985
  • Get-PnPTenantSite cmdlet now returns additional properties like ArchiveStatus, EnableAutoExpirationVersionTrim and many more. #3987
  • Add-PnPListFoldersToSiteTemplate cmdlet now wont export RoleBindings which are Limited Access. It caused issues while applying the template. #3918

Removed

  • Removed UserVoiceForFeedbackEnabled property from Get-PnPTenant as it is deprecated. PR

Contributors

  • Maxime Hazebroucq [mhazebroucq]
  • Paolo Pialorsi [PaoloPia]
  • Marc Studer [Studermarc]
  • Mark Gort [markgort86]
  • Christian Veenhuis [ChVeen]
  • Tobias Maestrini [tmaestrini]
  • WCONFR [WCONFR]
  • Jenny Wu [msjennywu]
  • Reshmee Auckloo [reshme011]
  • Aimery Thomas [a1mery]
  • Arleta Wanat [PowershellScripts]
  • Giacomo Pozzoni [jackpoz]
  • [blarrywangmsft]
  • Koen Zomers [koenzomers]
  • Erwin van Hunen [erwinvanhunen]