You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+33-3
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,39 @@ All notable changes to this project will be documented in this file.
5
5
6
6
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
7
7
8
-
## [3.19.2003.0] - Unreleased
8
+
## [3.20.2004.0]
9
+
10
+
### Added
11
+
- Added Set-PnPKnowledgeHubSite, Get-PnPKnowledgeHubSite and Remove-PnPKnowledgeHubSite cmdlets
12
+
- Added Register-PnPTenantAppCatalog to create and register a new Tenant App Catalog
13
+
- Added `IncludeHasTeam` flag to `Get-PnPUnifiedGroup` to include a `HasTeam` flag for each returned Office 365 Group indicating if a Microsoft Team has been set up for it [PR #2612](https://github.com/SharePoint/PnP-PowerShell/pull/2612)
14
+
- Added Initialize-PnPPowerShellAuthentication to create a new Azure AD App, self-signed certificate and set the appropriate permission scopes.
15
+
16
+
### Changed
17
+
- 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](https://github.com/SharePoint/PnP-PowerShell/pull/2515)
18
+
- 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
19
+
- 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.
20
+
- Fixed using `Connect-PnPOnline -PnPO365ManagementShell` only working if your default system language is English [PR #2613](https://github.com/SharePoint/PnP-PowerShell/pull/2613)
21
+
- 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](https://github.com/SharePoint/PnP-PowerShell/pull/2592)
22
+
- Fixed using `Connect-PnPOnline -PnPO365ManagementShell` not working in PowerShell ISE [PR #2590](https://github.com/SharePoint/PnP-PowerShell/pull/2590)
23
+
- 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](https://github.com/SharePoint/PnP-PowerShell/pull/2478)
24
+
- 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](https://github.com/SharePoint/PnP-PowerShell/pull/2293)
25
+
- 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](https://github.com/SharePoint/PnP-PowerShell/pull/2571)
26
+
- Fixed `Add-PnPSiteDesignTask` not actually applying the Site Design to the site [PR #2542](https://github.com/SharePoint/PnP-PowerShell/pull/2542)
27
+
- Fixed `Get-PnPSiteDesignTask` throwing a collection not initialized error [PR #2545](https://github.com/SharePoint/PnP-PowerShell/pull/2545)
28
+
29
+
### Contributors
30
+
- Lane Blundell [fastlaneb]
31
+
- Markus Hanisch [Markus-Hanisch]
32
+
- Dan Myhre [danmyhre]
33
+
- Jens Otto Hatlevold [jensotto]
34
+
- Raphael [PowershellNinja]
35
+
- Razvan Hrestic [CodingSinceThe80s]
36
+
- Giacomo Pozzoni [jackpoz]
37
+
-[victorbutuza]
38
+
- Koen Zomers [koenzomers]
39
+
40
+
## [3.19.2003.0]
9
41
10
42
### Added
11
43
- Added `-HeaderLayoutType` option to `Add-PnPClientSidePage` which allows setting the header layout of a new Site Page [PR # 2514](https://github.com/SharePoint/PnP-PowerShell/pull/2514)
@@ -22,7 +54,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
22
54
- 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.
23
55
24
56
### Contributors
25
-
26
57
- Arun Kumar Perumal [arunkumarperumal]
27
58
- Paul Bullock [pkbullock]
28
59
- Jens Otto Hatlevold [jensotto]
@@ -61,7 +92,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
61
92
- Fix examples in Start-PnPWorkflowInstance [PR #2483](https://github.com/SharePoint/PnP-PowerShell/pull/2483)
[CmdletExample(Code=@"PS:> Get-PnPTenantSite",Remarks="Returns all site collections",SortOrder=1)]
21
21
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -Url http://tenant.sharepoint.com/sites/projects",Remarks="Returns information about the project site",SortOrder=2)]
22
22
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -Detailed",Remarks="Returns all sites with the full details of these sites",SortOrder=3)]
23
+
#if !ONPREMISES
23
24
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -IncludeOneDriveSites",Remarks="Returns all sites including all OneDrive for Business sites",SortOrder=4)]
24
25
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -IncludeOneDriveSites -Filter ""Url -like '-my.sharepoint.com/personal/'""",Remarks="Returns all OneDrive for Business sites",SortOrder=5)]
25
26
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -Template SITEPAGEPUBLISHING#0",Remarks="Returns all Communication sites",SortOrder=6)]
26
27
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -Filter ""Url -like 'sales'"" ",Remarks="Returns all sites including 'sales' in the url",SortOrder=7)]
28
+
#endif
27
29
publicclassGetTenantSite:PnPAdminCmdlet
28
30
{
29
31
[Parameter(Mandatory=false,HelpMessage="The URL of the site",Position=0,ValueFromPipeline=true)]
30
32
[Alias("Identity")]
31
33
publicstringUrl;
32
34
35
+
#if !ONPREMISES
33
36
[Parameter(Mandatory=false,HelpMessage=@"By default, all sites will be returned. Specify a template value alike ""STS#0"" here to filter on the template")]
34
37
publicstringTemplate;
38
+
#endif
35
39
36
40
[Parameter(Mandatory=false,HelpMessage="By default, not all returned attributes are populated. This switch populates all attributes. It can take several seconds to run. Without this, some attributes will show default values that may not be correct.")]
37
41
publicSwitchParameterDetailed;
38
42
43
+
#if !ONPREMISES
39
44
[Parameter(Mandatory=false,HelpMessage="By default, the OneDrives are not returned. This switch includes all OneDrives.")]
40
45
publicSwitchParameterIncludeOneDriveSites;
41
46
@@ -49,54 +54,61 @@ public class GetTenantSite : PnPAdminCmdlet
49
54
50
55
[Parameter(Mandatory=false,HelpMessage="Specifies the script block of the server-side filter to apply. See https://technet.microsoft.com/en-us/library/fp161380.aspx")]
[CmdletExample(Code=@"PS:> Get-PnPWebTemplates -LCID 1033",Remarks=@"Returns all webtemplates for the Locale with ID 1033 (English)",SortOrder=2)]
18
17
[CmdletExample(Code=@"PS:> Get-PnPWebTemplates -CompatibilityLevel 15",Remarks=@"Returns all webtemplates for the compatibility level 15",SortOrder=2)]
Remarks=@"This will create a new appcatalog site if no app catalog is already present. Use -Force to create a new appcatalog site if one has already been registered. If using the same URL as an existing one and Force is present, the current/existing appcatalog site will be deleted.",SortOrder=1)]
15
+
publicclassRegisterAppCatalogSite:PnPAdminCmdlet
16
+
{
17
+
18
+
[Parameter(Mandatory=true,HelpMessage="The full url of the app catalog site to be created, e.g. https://yourtenant.sharepoint.com/sites/appcatalog")]
19
+
publicstringUrl;
20
+
21
+
[Parameter(Mandatory=true,HelpMessage="The login account of the user designated to be the admin for the site, e.g. [email protected]")]
22
+
publicstringOwner;
23
+
24
+
[Parameter(Mandatory=true,HelpMessage="Use Get-PnPTimeZoneId to retrieve possible timezone values")]
25
+
publicintTimeZoneId;
26
+
27
+
[Parameter(Mandatory=false,HelpMessage="If specified, and an app catalog is already present, a new app catalog site will be created. If the same URL is used the existing/current app catalog site will be deleted first.")]
28
+
publicSwitchParameterForce;
29
+
30
+
protectedoverridevoidExecuteCmdlet()
31
+
{
32
+
WriteWarning("Notice that this cmdlet can take considerate time to finish executing.");
0 commit comments