Skip to content

Release 3.2.0

Latest

Choose a tag to compare

@gautamdsheth gautamdsheth released this 11 May 17:48
· 96 commits to dev since this release

Added

  • Added Start-PnPTenantRename cmdlet to schedule SharePoint Online tenant domain rename jobs. #5304
  • Added Get-PnPListVersionPolicy and Set-PnPListVersionPolicy cmdlets to inspect and manage SharePoint Online document library version policies. #5300
  • Added New-PnPSiteManageVersionPolicyJob cmdlet to queue site-level list version policy trim and sync jobs. #5300
  • Added site version policy parameters to Set-PnPSite and Set-PnPTenantSite, including support for inheriting tenant defaults, targeting new or existing document libraries, managing file type overrides, and bypassing confirmation with -Force. #5300
  • Added DisableClassicPageBaselineSecurityMode, DisableSiteBranding, AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled, IsAuthoritative, and RestrictedContentDiscoveryForCopilotAndAgents parameters to Set-PnPSite and Set-PnPTenantSite. #5300
  • Added Add-PnPEntraIDServicePrincipalAppRoleAssignment, Get-PnPEntraIDServicePrincipalAppRoleAssignment, and Remove-PnPEntraIDServicePrincipalAppRoleAssignment cmdlets to manage Entra ID user and group enterprise application assignments with app roles #5292
  • Added Copy-PnPFileMetadata to copy Metadata fields (Created, Modified, Author, Editor) between items #5072
  • Added -NewFileName parameter to Convert-PnPFile cmdlet to choose custom output file name.
  • Added -User parameter to Get-PnPTeamsTeam cmdlet to allow fetching list of teams a user has access to.
  • Added Get-PnPBrandCenterFont cmdlet to retrieve the available fonts in the Brand Center #4970
  • Added Add-PnPBrandCenterFontPackage cmdlet to allow creating a font package in the Brand Center #4970
  • Added support for -FederatedIdentity in Connect-PnPOnline to support Federated Identity.
  • Added support for SSO in WSL (Windows Subsystem for Linux) and Linux distributions. You can now use Connect-PnPOnline with -OSLogin which helps with more secure auth such as FIDO, Conditional Access policies etc.
  • Added Get-PnPPowerAppPermission cmdlet to retrieve the permissions for a specific Power App #5030
  • Added -Batch parameter to Add-PnPFileSensitivityLabel cmdlet to allow bulk updates for file sensitivity labels.
  • Added -ZoneReflowStrategy parameter in Add-PnPPageSection cmdlet to support flexible layout behavior in mobile views.
  • Added -Collapsible, -DisplayName, and -IsExpanded parameters to Add-PnPPageSection to configure collapsible page sections #5291
  • Added -KnowledgeAgentEnabled and -KnowledgeAgentSelectedSitesList parameter to Set-PnPTenant cmdlets to support knowledge agents.
  • Added -Force parameter to Remove-PnPTerm cmdlet to remove terms without confirmation.
  • Added Import-PnPFlow cmdlet to import Power Automate in the tenant. #4854
  • Marked -Force as obsolete within Enable-PnPFeature cmdlet . #5146
  • Added Remove-PnPPowerAppPermission cmdlet to remove Power Apps permissions. #5168
  • Added support for -ClearGroupId parameter in Set-PnPSite and Set-PnPTenantSite cmdlets. #5192
  • Added support for batch restoring items from the recycle bin using Restore-PnPRecycleBinItem -ListIds #4705
  • Added optional -ClearSubScopes flag to Set-PnPFolderPermission and Set-PnPListItemPermission cmdlets to clear unique permissions on child items/folders when breaking permission inheritance #5213
  • Added -ParserDisabled to Set-PnPList to allow disabling of the list item column parsing into Word documents #5224
  • Added Get-PnPWebAlert and Remove-PnPWebAlert cmdlets to get and remove SharePoint list alerts #5218
  • Added Set-PnPFileVersion cmdlet to update expiration date of file version #5230
  • Add optional parameter -Force to cmdlet Remove-PnPSiteGroup. #5214
  • Invoke-PnPGraphMethod cmdlet now supports relative URLs. #5255
  • Added support for -AllowFileArchive and -AllowFileArchiveOnNewSitesByDefault on Set-PnPTenant, -AllowFileArchive on Set-PnPTenantSite, and ArchivedFileDiskUsed on Get-PnPTenantSite to configure and inspect file-level archiving. #5283
  • Added Set-PnPFileArchiveState cmdlet to archive and reactivate SharePoint files through the Microsoft Graph beta archive APIs. #5283
  • Added Set-PnPFolderArchiveState cmdlet to archive and reactivate SharePoint folders through the Microsoft Graph beta archive APIs. #5283
  • Added optional parameter -DelayContentSecurityPolicyEnforcement to cmdlet Set-PnPTenant. #5288
  • Added -ResyncContentSecurityPolicyConfigurationEntries to Set-PnPTenant and ResyncContentSecurityPolicyConfigurationEntries to Get-PnPTenant, to manage CSP trusted script source resyncs. #5289
  • Added support for -OneDriveOrganizationSharingLinkMaxExpirationInDays, -OneDriveOrganizationSharingLinkRecommendedExpirationInDays, -AllowAppsBypassOfUnmanagedDevicePolicy, -DisabledAdaptiveCardExtensionIds, -EnableNotificationsSubscriptions, -EnforceRequestDigest, -TlsTokenBindingPolicyValue, -AuthContextResilienceMode, -AllOrganizationSecurityGroupId, -ContentTypeSyncSiteTemplatesList, and -RestrictExternalSharing on Set-PnPTenant, and surfaced corresponding properties plus BlockDownloadFileTypePolicy, ReduceTempTokenLifetimeEnabled, ReduceTempTokenLifetimeValue, ViewersCanCommentOnMediaDisabled, ArchivedFileStorageUsageMB, M365AdditionalStorageSPOEnabled, M365SharePointStorageEnabled, and VersionPolicyFileTypeOverride on Get-PnPTenant. #5289

Changed

  • Improved Get-PnPTerm cmdlet to show a better error message. #4933
  • PnP PowerShell now requires PowerShell 7.4.0 or newer
  • Improved Connect-PnPOnline with -DeviceLogin flow, now we don't require users to specify -Tenant parameter, it will be automatically added if not specified.
  • Improved Restore-PnPRecycleBinItem cmdlet to better handle throttling.
  • Logging in using Connect-PnPOnline -PersistentLogin no longer throwing a warning #5082
  • All cmdlets with AzureAD in their name have been renamed to use EntraID instead, to reflect the rebranding of Azure Active Directory to Entra ID. Aliases have been added for backward compatibility. #5221
  • Improved Import-PnPFlow cmdlet to better handle the retry logic between internal API calls, introduced two new optional parameters #5233
  • Update registerapplication.md documentation with latest UIs and update wordings. #5265
  • Added parameter IncreaseRequestTimeout to Get-PnPSearchCrawlLog cmdlet. #5223

Fixed

  • Fix Get-PnPUserOneDriveQuota hanging in some tenants by retrieving the resolved OneDrive site directly instead of using a filtered tenant site query. #5306
  • Fix Get-PnPEntraIDUser to align supported Graph permission metadata, preserve -Select for GUID-based identity lookups, and expose -UseBeta consistently across parameter sets. #5290
  • Fix Set-PnPView -Aggregations parameter not showing aggregations in SharePoint online. #4868
  • Fix -CreateDrive parameter not working correctly in Connect-PnPOnline. #4869
  • Fix Get/Remove/Restore-PnPFileVersion cmdlets to properly handle file names which have encoded values.
  • Fix Get-PnPTenant to load AutofillColumnsCustomModelEnabled, AddressbarLinkPermission and GuestSharingGroupAllowListInTenantByPrincipalIdentity without verbose mapping warnings. #5285
  • Fixed Teams related cmdlets to properly handle quotes in the display name of Teams team.
  • Fix Set-PnPListItem cmdlet to properly handle multi-choice fields when used with batch parameter.
  • Fix Get-PnPCopilotAgent cmdlet to properly handle pagination in large lists.
  • Fix Send-PnPMail cmdlet to send mail via Graph API and SPO. It was facing parameter set issue. #4922
  • Fix Unregister-PnPHubSite cmdlet to properly handle null reference error. #4944
  • Fix Add/Publish/Unpublish/Remove-PnPApp cmdlets to properly handle the issue in no-script sites.
  • Fix Get-PnPHubSiteChild cmdlet to handle vanity domains. #4965
  • Fix Connect-PnPOnline not working correctly with -DeviceLogin in Azure Cloud Shell.
  • Fix Connect-PnPOnline not working correctly with -DeviceLogin in desktop-less environments, such as on a Raspberry Pi #5058
  • Fix Get-PnPTenantRestrictedSearchMode throwing an error in some cases #5042
  • Fixed issues with Get-PnPTenantInfo, Set-PnPList, Remove-PnPSiteSensitivityLabel, Set-PnPSiteSensitivityLabel, Send-PnPMail and Set-PnPWebHeader cmdlets returning an error #5059
  • Fixed issue with Get-PnPChangelog -Nightly throwing an error #5070
  • Fixed spelling errors in Privileged Identity Management cmdlets: renamed Get-PnPPriviledgedIdentityManagementRole, Get-PnPPriviledgedIdentityManagementEligibleAssignment, and Enable-PnPPriviledgedIdentityManagement to use correct spelling "Privileged". Old cmdlet names remain functional as aliases for backward compatibility. #5119
  • Fixed Typos on Move-PnPFolder, Get-PnPPowerPlatformSolution, Get-PnPPowerPlatformCustomConnector, Get-PnPPowerApp, Get-PnPPlannerPlan, Get-PnPContainer cmdlets #5124
  • Fixed issue with Set-PnPSite -HidePeoplePreviewingFiles $true and Set-PnPSite -HidePeopleWhoHaveListsOpen $true added missing properties #5003
  • Fixed issue with New-PnpAzureCertificate -OutPfx pnp.pfx -OutCert pnp.cer made it language agnostic #5137
  • Fix Register-PnPEntraIdApp Allow to use CER file instead of PFX #5129
  • Fix New-PnPTenantSite cmdlet to properly handle timeout issues for classic sites. #5185
  • Fix Set-PnPBuiltInSiteTemplateSettings cmdlet to reference up to date Template IDs. #5202
  • Fix Connect-PnPOnline cmdlet to allow reuse of connection created using certificate. #5203
  • Fix Connect-PnPOnline cmdlet with Managed Identity to support non-commercial clouds. #5239
  • Fix Get-PnPTenant to return GuestSharingGroupAllowListInTenantByPrincipalIdentity. #5246
  • Fix Convert-PnPSiteTemplateToMarkdown cmdlet to allow usage in non-interactive scripts. #5302

Removed

  • Removed -RemoveExisting parameter from Add-PnPAzureADGroupMember, Add-PnPAzureADGroupOwner, Add-PnPMicrosoft365GroupMember and Add-PnPMicrosoft365GroupOwner cmdlets. It was never really implemented and without function. #5153

Contributors

  • James May [fowl2]
  • Kinga [kkazala]
  • Noel Tautges [NoelTautges]
  • Nishkalank Bezawada [NishkalankBezawada]
  • Irving [irvcov]
  • Koen Zomers [koenzomers]
  • Janne Holm [jhholm]
  • Marc D Anderson [sympmarc]
  • [abwlodar]
  • Reshmee Auckloo [reshmee011]
  • [wuxiaojun514]
  • [pajeffery]
  • Giacomo Pozzoni [jackpoz]
  • [davidschenkUPG]
  • [sofbkeller]
  • Ali Robertson [alirobe]
  • Christian Veenhuis [ChVeen]
  • James Epp [jamesaepp]
  • Sven Boll [svenboll]
  • Joshua Hendersson [JoshuaSHenderson]
  • Siddharth Vaghasia [siddharth-vaghasia]
  • David Schenk [davidschenkUPG]
  • [reusto]
  • [gaiking-uk]