This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Releases: pnp/PnP-PowerShell
Releases · pnp/PnP-PowerShell
June 2020 Release
Added
- Added
-ValuesOnlyoption toGet-PnPLabelwhich will return more detailed information regarding the retention label set on a list or library and return the information as properties instead of written text PR #2710 - Added
-PreferredDataLocationoption toNew-PnPSitewhich allows for providing a geography in which the new SharePoint sitecollection should be created. Only applicable on multi-geo enabled tenants. PR #2708 - Added
EnableAIPIntegrationoption toSet-PnPTenantwhich allows enabling Azure Information Protection integration with SharePoint Online and OneDrive for Business on your tenant PR #2703 - Added
Get-PnPAADUsercmdlet which allows retrieval of users from Azure Active Directory through the Microsoft Graph API PR #2626 - Added
Add-PnPGraphSubscription,Get-PnPGraphSubscription,Remove-PnPGraphSubscriptionandSet-PnPGraphSubscriptionto work with Microsoft Graph Subscriptions PR #2673 - Added
Reset-PnPUnifiedGroupExpirationwhich allows the expiration date of an Office 365 Group to be extended by the number of days defined in the Azure Active Directory Group Expiration policy PR #2655 - Added following arguments to
Set-PnPWeballowing them to be set:CommentsOnSitePagesDisabled,DisablePowerAutomate,MegaMenuEnabled,MembersCanShare,NavAudienceTargetingEnabled,QuickLaunchEnabledandNoCrawlPR #2633 - Added
Set-PnPUserOneDriveQuota,Reset-PnPUserOneDriveQuotaToDefaultandGet-PnPUserOneDriveQuotacommands to work with quotas on OneDrive for Business sites PR #2630 - Added
Get-PnPTenantSyncClientRestrictionandSet-PnPTenantSyncClientRestrictioncmdlets to allow configuring tenant wide OneDrive sync restriction settings PR #2649 - Added
Disable-PnPSharingForNonOwnersOfSiteandGet-PnPSharingForNonOwnersOfSitecmdlets to control disabling the ability for only owners of the site to be allowed to share the site or its files and folders with others PR #2641 - Added
Get-PnPIsSiteAliasAvailablewhich allows checking if a certain alias is still available to create a new site collection with PR #2698 - Added
Get-PnPFooterandSet-PnPFooterto work with the footer shown on Modern Communication pages PR #2634 - Added ability to getting and setting the title and logo shown in the footer of a Modern Communication site PR #2715
- Added
-SensitivityLabeloption toNew-PnPSitewhich allows for directly assigning a sensitivity label to a SharePoint sitecollection when creating it. Requires modern sensitivity labels and E5 licenses to be enabled on the tenant. PR #2713 - Added
Get-PnPOffice365CurrentServiceStatus,Get-PnPOffice365HistoricalServiceStatus,Get-PnPOffice365ServiceMessageandGet-PnPOffice365Servicesto retrieve information from the Office 365 Management API regarding the Office 365 services PR #2684 - Added
Get-PnPAvailableLanguagewhich returns a list of all supported languages on the SharePoint web PR #2716
Changed
- Fixed uploading a file using
Add-PnPFileusing-ContentTypethrowing an exception PR #2619 - Fixed using
Connect-PnPOnline -AppId <appid> -AppSecret <appsecret> -AADDomainnot actually authenticating to Microsoft Graph PR #2624 - Updated
Get-PnPWorkflowInstanceto allow passing in a workflow subscription to list all running instances of a specific workflow PR #2636 - Implementation of
Move-PnPFilehas been changed adding-TargetServerRelativeLibraryfor SharePoint Online to allow moving files to other site collections PR #2688
Contributors
- Alberto Suarez [holylander]
- Rune Sperre [rsperre]
- Nik Charlebois [NikCharlebois]
- Eduardo Garcia-Prieto [egarcia74]
- Koen Zomers [koenzomers]
- James May [fowl2]
- Marc D Anderson [sympmarc]
- Kunj Balkrishna Sangani [kunj-sangani]
- Gautam Sheth [gautamdsheth]
May 2020 Intermediate Release 2
This is an intermediate release due to updates of the underlying PnP Sites Core library. New updates/fixes to PnP PowerShell will happen in the upcoming June release.
April 2020 Release
Added
- Added Set-PnPKnowledgeHubSite, Get-PnPKnowledgeHubSite and Remove-PnPKnowledgeHubSite cmdlets
- Added Register-PnPTenantAppCatalog to create and register a new Tenant App Catalog
- Added
IncludeHasTeamflag toGet-PnPUnifiedGroupto include aHasTeamflag for each returned Office 365 Group indicating if a Microsoft Team has been set up for it PR #2612 - Added Initialize-PnPPowerShellAuthentication to create a new Azure AD App, self-signed certificate and set the appropriate permission scopes.
Changed
- Connect-PnPOnline with clientid and certificate will now, if API permissions have been granted for the Graph work with the PnP Graph Cmdlets. PR #2515
- Save-PnPProvisioningTemplate and Save-PnPTenantTemplate now support XML file as input without the need to first read them into a variable with Read-PnPProvisioningTemplate or Read-PnPTenantTemplate
- Added -Schema parameter to Save-PnPProvisioningTemplate and Save-PnPTenantTemplate to force a specific schema for the embedded template. If not specified it defaults always to the latest released template.
- Fixed using
Connect-PnPOnline -PnPO365ManagementShellonly working if your default system language is English PR #2613 - Updated help text of 'Get-PnPClientSidePage' and 'Get-PnPClientSideComponent' to indicate that the out of the box homepage of a modern site will not return its contents as designed PR #2592
- Fixed using
Connect-PnPOnline -PnPO365ManagementShellnot working in PowerShell ISE PR #2590 - Uploading files using
Add-PnPFileno longer requires Site Owner rights on the entire site. Read rights on the site and at least contribute rights on the document library where the file needs to be uploaded to will suffice as long as the target folder already exists. PR #2478 - Use of
Set-PnPSitein combination with-Owners,-NoScriptSite,-LocaleIdand/or-AllowSelfServiceUpgradeis now possible on SharePoint 2013, 2016 and 2019 as well PR #2293 - Using
Connect-PnPOnline -CurrentCredentialsagainst an on-premises SharePoint farm having more than one authentication provider configured on the webapplication no longer causes an access denied PR #2571 - Fixed
Add-PnPSiteDesignTasknot actually applying the Site Design to the site PR #2542 - Fixed
Get-PnPSiteDesignTaskthrowing a collection not initialized error PR #2545
Contributors
- Lane Blundell [fastlaneb]
- Markus Hanisch [Markus-Hanisch]
- Dan Myhre [danmyhre]
- Jens Otto Hatlevold [jensotto]
- Raphael [PowershellNinja]
- Razvan Hrestic [CodingSinceThe80s]
- Giacomo Pozzoni [jackpoz]
- [victorbutuza]
- Koen Zomers [koenzomers]
March 2020 Release
Added
- Added
-HeaderLayoutTypeoption toAdd-PnPClientSidePagewhich allows setting the header layout of a new Site Page PR # 2514 - Added
TermMappingFileandSkipTermStoreMappingparameters to theConvertTo-PnPClientSidePagecmdlet for supporting managed metadata mapping - Added
AsFileObjectparameter toGet-PnPFilewhich allows the result to be returned as file objects instead of list iems PR # 2550 - Added
RemoveEmptySectionsAndColumnsparameter to theConvertTo-PnPClientSidePagecmdlet for allowing for empty sections and columns to stay after conversion PR # 2539
Changed
- Fixed issue where downloading a file using
Get-PnPFilewould throw an user not found exception if the user having created or having last modified the file no longer existed PR #2504 - Removed
FieldOptionsargument fromAdd-PnPFieldas it was marked as obsolete since 2015 already and wasn't used anymore PR # 2497 - Marked the -Rights parameter as obsolete on Grant-PnPHubSiteRights. Use Revoke-PnPHubSiteRights to revoke rights for specific users to join sites ot the hubsite
- Output just the URL for the Redirect url in Get-PnPSearchSettings. Return web setting on sc root as fallback if sc setting is missing (via core).
- Made it possible to set property bag value on a NoScript site using
Set-PnPPropertyBagValueby providing the argumentFolderand specifying something other than the root folder PR # 2544 - The February 2020 release of PnP PowerShell was throwing an error on not being able to find and load the Newtonsoft assembly when used in an Azure Function. Fixed in this release.
Contributors
- Arun Kumar Perumal [arunkumarperumal]
- Paul Bullock [pkbullock]
- Jens Otto Hatlevold [jensotto]
- Pepe [ingepepe]
- [bjdekker]
- [N4TheKing]
- Koen Zomers [koenzomers]
- kadu-jr
- [a1mery]
February 2020 Release
Added
- Fixed issue with access token forcing site connection url to be the the value of the Audience in the token
- Added ability to set HostProperties to Add-PnPCustomAction.
Get-PnPManagementApiAccessTokento retrieve access token for the Office 365 Management API using app credentials, app should be registered in AAD and assigned to interact with Management APIGet-PnPUnifiedAuditLogto retrieve unified audit logs from the Office 365 Management API- Added ability to connect to an on-premises SharePoint 2013/2016/2019 farm using a High Trust Server 2 Server App + User context by providing the username using
-Username. Before only a High Trust App Only context was possible. PR #2213 - Added ability to use
Set-PnPRequestAccessEmailswith-Disabledto disable requesting access to a site and-Disabled:$falseto set the access requests to be sent to the default owners of the site PR #2456 - Added
Get-PnPSiteScriptFromListandGet-PnPSiteScriptFromWebcommands which allow generation of Site Script JSON based off of existing lists or an entire site PR # 2459 - Added
-Aggregationsargument toAdd-PnPViewandSet-PnPViewto allow for creating a Totals count in a view PR #2257 - Added
New-PnPTermLabelto add a localized label to an existing taxonomy term PR #2475 - Deprecated old tenant level
Enable-PnPCommSitecmdlet and added newEnable-PnPCommSitecommand to enable the modern communication site experience on an classic team site. This one can be applied by non tenant admins as well - Added
Clear-PnPTenantAppCatalogUrlto remove the tenant configuration for the tenant scoped app catalog PR # 2485 - Added
Set-PnPTenantAppCatalogUrlto configure the tenant for the site collection to use for the tenant scoped app catalog PR # 2485
Changed
- Fixed samples on Set-PnPRequestAccessEmail, added ability to revert back to default owners group, added ability to disable requesting access PR #2456
- Optimized Invoke-PnPSearchQuery when using the -All parameter to ensure all results are returned by ordering on IndexDocId, and changed the default ClientType to 'PnP'
Add-PnPFolderwill now return the newly created folder instance PR #2463- Using
Set-PnPSite -LogoFilePathnow checks if the site collection has a GroupId set instead of validating if the site template name starts with Group to determine if the site is a modern site PR # 2328 - Fixed using
Import-Moduleto the PnP PowerShell Module located on a UNC fileshare path resulting in an error PR # 2490 New-PnPListwill now return the newly created list instance PR # 2481- Fixed documentation for Export-PnPTaxonomy PR #2462
- Connect-PnPOnline can now use different Azure Authentication endpoints when using App Only auth. PR #2355
- Fix examples in Start-PnPWorkflowInstance PR #2483
Contributors
- Ivan Vagunin [ivanvagunin]
- Thomas Meckel [tmeckel]
- Koen Zomers [koenzomers]
- Giacomo Pozzoni [jackpoz]
- Jarbas Horst [JarbasHorst]
- Gautam Sheth [gautamdsheth]
- Craig Hair [MacsInSpace]
- Dan Cecil [danielcecil]
- gobigfoot [gobigfoot]
- Markus Hanisch [Markus-Hanisch]
- Raphael [PowershellNinja]
January 2020 Intermediate Release 2
Merge pull request #2446 from SharePoint/dev January 2020 Intermediate Release 2
January 2020 Intermediate Release 1
Merge pull request #2444 from SharePoint/dev January 2020 Intermediate Release 1
January 2020 Release
Merge pull request #2442 from SharePoint/dev January 2020 Release
December 2019 Release
Merge pull request #2384 from SharePoint/dev December 2019 Release
November 2019 Release
Merge pull request #2348 from SharePoint/dev November 2019 Release