This repository has been 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
-ValuesOnly
option toGet-PnPLabel
which 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
-PreferredDataLocation
option toNew-PnPSite
which allows for providing a geography in which the new SharePoint sitecollection should be created. Only applicable on multi-geo enabled tenants. PR #2708 - Added
EnableAIPIntegration
option toSet-PnPTenant
which allows enabling Azure Information Protection integration with SharePoint Online and OneDrive for Business on your tenant PR #2703 - Added
Get-PnPAADUser
cmdlet which allows retrieval of users from Azure Active Directory through the Microsoft Graph API PR #2626 - Added
Add-PnPGraphSubscription
,Get-PnPGraphSubscription
,Remove-PnPGraphSubscription
andSet-PnPGraphSubscription
to work with Microsoft Graph Subscriptions PR #2673 - Added
Reset-PnPUnifiedGroupExpiration
which 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-PnPWeb
allowing them to be set:CommentsOnSitePagesDisabled
,DisablePowerAutomate
,MegaMenuEnabled
,MembersCanShare
,NavAudienceTargetingEnabled
,QuickLaunchEnabled
andNoCrawl
PR #2633 - Added
Set-PnPUserOneDriveQuota
,Reset-PnPUserOneDriveQuotaToDefault
andGet-PnPUserOneDriveQuota
commands to work with quotas on OneDrive for Business sites PR #2630 - Added
Get-PnPTenantSyncClientRestriction
andSet-PnPTenantSyncClientRestriction
cmdlets to allow configuring tenant wide OneDrive sync restriction settings PR #2649 - Added
Disable-PnPSharingForNonOwnersOfSite
andGet-PnPSharingForNonOwnersOfSite
cmdlets 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-PnPIsSiteAliasAvailable
which allows checking if a certain alias is still available to create a new site collection with PR #2698 - Added
Get-PnPFooter
andSet-PnPFooter
to 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
-SensitivityLabel
option toNew-PnPSite
which 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-PnPOffice365ServiceMessage
andGet-PnPOffice365Services
to retrieve information from the Office 365 Management API regarding the Office 365 services PR #2684 - Added
Get-PnPAvailableLanguage
which returns a list of all supported languages on the SharePoint web PR #2716
Changed
- Fixed uploading a file using
Add-PnPFile
using-ContentType
throwing an exception PR #2619 - Fixed using
Connect-PnPOnline -AppId <appid> -AppSecret <appsecret> -AADDomain
not actually authenticating to Microsoft Graph PR #2624 - Updated
Get-PnPWorkflowInstance
to allow passing in a workflow subscription to list all running instances of a specific workflow PR #2636 - Implementation of
Move-PnPFile
has been changed adding-TargetServerRelativeLibrary
for 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
IncludeHasTeam
flag toGet-PnPUnifiedGroup
to include aHasTeam
flag 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 -PnPO365ManagementShell
only 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 -PnPO365ManagementShell
not working in PowerShell ISE PR #2590 - Uploading files using
Add-PnPFile
no 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-PnPSite
in combination with-Owners
,-NoScriptSite
,-LocaleId
and/or-AllowSelfServiceUpgrade
is now possible on SharePoint 2013, 2016 and 2019 as well PR #2293 - Using
Connect-PnPOnline -CurrentCredentials
against 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-PnPSiteDesignTask
not actually applying the Site Design to the site PR #2542 - Fixed
Get-PnPSiteDesignTask
throwing 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
-HeaderLayoutType
option toAdd-PnPClientSidePage
which allows setting the header layout of a new Site Page PR # 2514 - Added
TermMappingFile
andSkipTermStoreMapping
parameters to theConvertTo-PnPClientSidePage
cmdlet for supporting managed metadata mapping - Added
AsFileObject
parameter toGet-PnPFile
which allows the result to be returned as file objects instead of list iems PR # 2550 - Added
RemoveEmptySectionsAndColumns
parameter to theConvertTo-PnPClientSidePage
cmdlet for allowing for empty sections and columns to stay after conversion PR # 2539
Changed
- Fixed issue where downloading a file using
Get-PnPFile
would throw an user not found exception if the user having created or having last modified the file no longer existed PR #2504 - Removed
FieldOptions
argument fromAdd-PnPField
as 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-PnPPropertyBagValue
by providing the argumentFolder
and 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-PnPManagementApiAccessToken
to 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-PnPUnifiedAuditLog
to 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-PnPRequestAccessEmails
with-Disabled
to disable requesting access to a site and-Disabled:$false
to set the access requests to be sent to the default owners of the site PR #2456 - Added
Get-PnPSiteScriptFromList
andGet-PnPSiteScriptFromWeb
commands which allow generation of Site Script JSON based off of existing lists or an entire site PR # 2459 - Added
-Aggregations
argument toAdd-PnPView
andSet-PnPView
to allow for creating a Totals count in a view PR #2257 - Added
New-PnPTermLabel
to add a localized label to an existing taxonomy term PR #2475 - Deprecated old tenant level
Enable-PnPCommSite
cmdlet and added newEnable-PnPCommSite
command 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-PnPTenantAppCatalogUrl
to remove the tenant configuration for the tenant scoped app catalog PR # 2485 - Added
Set-PnPTenantAppCatalogUrl
to 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-PnPFolder
will now return the newly created folder instance PR #2463- Using
Set-PnPSite -LogoFilePath
now 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-Module
to the PnP PowerShell Module located on a UNC fileshare path resulting in an error PR # 2490 New-PnPList
will 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