Skip to content

Release 1.9.0

Compare
Choose a tag to compare
@KoenZomers KoenZomers released this 22 Dec 22:43
· 4226 commits to dev since this release
ce4e2e2

Added

  • Added Get-PnPTenantInstance which will return one or more tenant instances, depending if you have a multi-geo or single-geo (default) tenant.
  • Added optional -ScheduledPublishDate parameter to Add-PnPPage and Set-PnPPage to allow for scheduling a page to be published
  • Added -RemoveScheduledPublish to Set-PnPPage to allow for a page publish schedule to be removed
  • Added support for off peak SharePoint Syntex content classification and extraction for lists and folders via new -OffPeak and -Folder parameters for Request-PnPSyntexClassifyAndExtract
  • Added Get\Set-PnPPlannerConfiguration to allow working with the Microsoft Planner tenant configuration
  • Added Get\Set-PnPPlannerUserPolicy to allow setting Microsoft Planner user policies for specific users
  • Added Get\Add\Remove-PnPPlannerRoster which allows a Microsoft Planner Roster to be created, retrieved or removed
  • Added Get\Add\Remove-PnPPlannerRosterMember to be able to read, add and remove members from a Microsft Planner Roster
  • Added Get-PnPPlannerRosterPlan to be able to retrieve the Microsoft Planner plans inside a Microsoft Planner Roster or the ones belonging to a specific user
  • Added support for off peak SharePoint Syntex content classification and extraction for lists and folders via new -OffPeak and -Folder parameters for Request-PnPSyntexClassifyAndExtract
  • Added Invoke-PnPSiteScript which allows for a Site Script to be executed on a site without needing to have it registered in a site design or site script first
  • Added Copy-PnPList which allows for a copy of a SharePoint list to be made in the same site or to another site. Copying along list item data is not yet possible but will follow in a later release.
  • Added Get\Set-PnPWebHeader to work with the Change the look > Header options of a site
  • Added Enable-PnPPageScheduling and Disable-PnPPageScheduling to enable or disable page publishing scheduling on modern pages
  • Added ability to add multiple users to a Teams team in the Add-PnPTeamsUser cmdlet
  • Added -Credentials $cred or -CurrentCredentials to be allowed to be used in combination with Connect-PnPOnline -SPOManagementshell
  • Added -InformationBarriersMode in the Set-PnPTenantSite cmdlet which allows fine tuning of the information barriers mode per site collection
  • Added -InformationBarriersSuspension in the Set-PnPTenant cmdlet which allows information barriers to be enabled or disabled in a tenant
  • Added -Recycle parameter to Remove-PnPPage to delete the page and send it to the recycle bin. This prevents permanently deleting the page and you can also restore it.
  • Added -DemoteNewsArticle parameter to the Set-PnPPage cmdlet to demote an existing news post to a regular page.
  • Added -Translate and -TranslationLanguageCodes parameters to Set-PnPPage and Add-PnPPage. This enables multilingual page creation in sites.
  • Added DisableSpacesActivation state to be returned with Get-PnPTenant
  • Added -AllowFilesWithKeepLabelToBeDeletedSPO and -AllowFilesWithKeepLabelToBeDeletedODB options to Set-PnPTenant which allows configuration of files on SharePoint Online and OneDrive for Business being blocked by a retention policy to be possible to be deleted anyway and then moved to the preservation hold library. The default for SharePoint Online for this will change as announced in Message Center announcement MC264360. This will allow reverting it. The current values can be retrieved using Get-PnPTenant.
  • Added DisableAddToOneDrive state to be returned with Get-PnPTenant cmdlet.
  • Added -DisableAddToOneDrive to Set-PnPTenant cmdlet to enable/disable users from adding shortcuts to OneDrive.
  • Added optional -Site parameter to Add-PnPContentTypesFromContenTypeHub which allows a specific site to be specified to add the content type hub content types to
  • Added Set-PnPBuiltInSiteTemplateSettings and Get-PnPBuiltInSiteTemplateSettings to allow making the built in SharePoint Online site templates visible or hidden and getting their current settings
  • Added support for Channel sites (ID 69) to Add-PnPSiteDesign, Set-PnPSiteDesign and Add-PnPSiteDesignFromWeb
  • Added optional -IsDefault option to Get-PnPPowerPlatformEnvironment which allows just the default or non default environments to be returned. If not provided, all environments will be returned as was the case before this addition.
  • Added ResourceBehaviorOptions option in New-PnPTeamsTeam cmdlet to set ResourceBehaviorOptions while provisioning a Team
  • Added alias on Copy-PnPFile for Copy-PnPFolder. It could already be used to copy a folder, but to make this more clear, and as we already had a Copy/Move-PnPFolder as well, the same cmdlet is now also available under its alternative cmdlet name.
  • Added IsFluidEnabled state to be returned with Get-PnPTenant cmdlet.
  • Added -IsFluidEnabled to Set-PnPTenant cmdlet to enable/disable users from using Fluid components.
  • Added Add\Get\Remove-PnPListItemComment cmdlets to deal with list item comments. Using these cmdlets, you will now be able to add, retrieve and delete list item comments. #1462
  • Added -ResourceTypeName and -ResourceUrl parameters to Get-PnPAccessToken to fetch access token of specified resource. #1451

Changed

  • Improved Get-PnPFile cmdlet to handle large file downloads
  • Updated Sync-PnPSharePointUserProfilesFromAzureActiveDirectory to also allow results from Get-PnPAzureADUser -Delta to be provided through -Users.
  • A clearer error message will now be returned when using Add-PnPListItem -List and specifying an invalid list name.
  • Response of Add-PnPContentTypesFromContenTypeHub is now returned in the root of the response as well as under Value as it was previously for backwards compatibility.
  • Improved synopsis documentation for Update-PnPUserType cmdlet.
  • Improved documentation of Add-PnPField, reflects the missing -AddToAllContentTypes parameter.
  • Improved documentation of Get-PnPTaxonomyItem with addition of new example and removing obsolete parameters.
  • Improved documentation of Get-PnPTerm, fixed typos.
  • Improved Add-PnPHubToHubAssociation. It will now throw error if both, source and destination, sites are not Hub sites, currently it fails silently without any information to the user. #1390

Fixed

  • Fixed Get-PnPGroupMember -User not properly returning the specified user
  • Fixed group member retrieval through Get-PnPAzureADGroupOwner and Get-PnPAzureAdGroupMember throwing an exception when a security group has been placed in the Azure Active Directory group being queried
  • Fixed an issue where Set-PnPPage would not be able to find a page if you would start the -Identity with a forward slash
  • Fixed an issue where Set-PnPPage would not return its parent Folder
  • Fixed Set-PnPListItem not working when using Label and Values parameters together
  • Fixed documentation for Get-PnPFlow and Enable-PnPFlow cmdlets
  • Fixed issue with Add-PnPListFoldersToProvisioningTemplate not working when having nested folder structure
  • Fixed documentation for Get-PnPFlow and Enable-PnPFlow cmdlets
  • Fixed Sync-PnPSharePointUserProfilesFromAzureActiveDirectory not being able to deal with multi value properties on the Azure Active Directory side, such as BusinessPhones
  • Fixed Add-PnPListItem issue with setting MultiChoice columns when using -Batch parameter
  • Fixed issue with Remove-PnPListItem when trying to use it with Batch parameter
  • Fixed Add-PnPDataRowsToSiteTemplate not exporting TaxonomyFieldValues properly
  • Fixed Add/Set-PnPListItem issue with managed metadata / taxonomy field value failing in a batched request.
  • Fixed Set-PnPListItem issue with setting Modified date value properly when using -Batch parameter.
  • Fixed Get-PnPTeamsTeam -Identity throwing an exception if the name of the team would contain special characters
  • Fixed Get-PnPTerm throwing an exception when used in combination with -Includes #1384
  • Fixed Get-PnPDiagnostics throwing an unable to cast exception under some circumstances #1380
  • Fixed Get-PnPTeamsTab issue with missing TeamsApp object values. It will now populate TeamsApp object with Id, DisplayName, ExternalId and DistributionMethod properties if available. #1459

Removed

  • Removed Add-PnPClientSidePage as that was marked deprecated. Use Add-PnPPage instead.
  • Removed Get-PnPSubWebs as that was marked deprecated a year ago. Use Get-PnPSubWeb instead. #1394

Contributors

  • Koen Zomers [koenzomers]
  • Bert Jansen [jansenbe]
  • Gautam Sheth [gautamdsheth]
  • [reusto]
  • Asad Refai [asadrefai]
  • Daniel Huber [daniel0611]
  • Bart-Jan Dekker [bjdekker]
  • Giacomo Pozzoni [jackpoz]
  • Chris Kent [thechriskent]
  • Filip Bosmans [FilipBosmans]
  • [zylantha]
  • Justin [pagejustin]
  • Collin Argo [SCollinA]
  • Leon Armston [LeonArmston]
  • Lars Höög [h00g]
  • [kachihro]
  • [Andy-Dawson]
  • David Aeschlimann [TashunkoWitko]
  • [outorted]
  • [dkardokas]
  • Asad Refai [asadrefai]