Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 6323c6a

Browse files
Merge pull request #2833 from pnp/dev
August 2020 Release
2 parents e322d64 + 6be6418 commit 6323c6a

File tree

1,157 files changed

+4067
-3746
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,157 files changed

+4067
-3746
lines changed
Binary file not shown.
Binary file not shown.

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
77

8-
## [3.24.2008.0] not yet released
8+
## [3.24.2008.0]
9+
10+
### Added
11+
- Updated `Get/Set-PnPSearchSettings` with an option `-SearchBoxPlaceholderText` to set search placeholder text for the SPO nav bar search box
12+
- Added Set-PnPTermGroup cmdlet to update an existing taxonomy term group.
13+
- Added Set-PnPTeamifyPromptHidden to hide the teamify prompt on a group connected Team Site (modern team site)
14+
15+
### Changed
16+
- Changed the client id of the application used behind the scenes when authenticating to a tenant where Legacy Authentication has been turned off. We now by default utilize the PnP Management Shell application. If you have not provided consent you will be prompted with a message on how to provide consent.
17+
18+
### Contributors
919

1020

1121
## [3.23.2007.1]

Commands/Admin/AddHubSiteAssociation.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#if !ONPREMISES
22
using Microsoft.Online.SharePoint.TenantAdministration;
33
using Microsoft.SharePoint.Client;
4-
using SharePointPnP.PowerShell.CmdletHelpAttributes;
5-
using SharePointPnP.PowerShell.Commands.Base;
4+
using PnP.PowerShell.CmdletHelpAttributes;
5+
using PnP.PowerShell.Commands.Base;
66
using System.Management.Automation;
77
using OfficeDevPnP.Core.Sites;
8-
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
8+
using PnP.PowerShell.Commands.Base.PipeBinds;
99
using System;
1010

11-
namespace SharePointPnP.PowerShell.Commands.Admin
11+
namespace PnP.PowerShell.Commands.Admin
1212
{
1313
[Cmdlet(VerbsCommon.Add, "PnPHubSiteAssociation")]
1414
[Alias("Connect-PnPHubSite")]

Commands/Admin/AddMicrosoft365GroupToSite.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#if !ONPREMISES
22
using Microsoft.Online.SharePoint.TenantAdministration;
33
using Microsoft.SharePoint.Client;
4-
using SharePointPnP.PowerShell.CmdletHelpAttributes;
5-
using SharePointPnP.PowerShell.Commands.Base;
4+
using PnP.PowerShell.CmdletHelpAttributes;
5+
using PnP.PowerShell.Commands.Base;
66
using System.Management.Automation;
77
using OfficeDevPnP.Core.Sites;
8-
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
8+
using PnP.PowerShell.Commands.Base.PipeBinds;
99

10-
namespace SharePointPnP.PowerShell.Commands.Admin
10+
namespace PnP.PowerShell.Commands.Admin
1111
{
1212
[Cmdlet(VerbsCommon.Add, "PnPMicrosoft365GroupToSite")]
1313
[CmdletHelp("Groupifies a classic team site by creating a Microsoft 365 group for it and connecting the site with the newly created group",

Commands/Admin/AddOrgAssetsLibrary.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#if !ONPREMISES
22
using Microsoft.SharePoint.Client;
3-
using SharePointPnP.PowerShell.CmdletHelpAttributes;
4-
using SharePointPnP.PowerShell.Commands.Base;
3+
using PnP.PowerShell.CmdletHelpAttributes;
4+
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using Microsoft.Online.SharePoint.TenantAdministration;
77

8-
namespace SharePointPnP.PowerShell.Commands.Admin
8+
namespace PnP.PowerShell.Commands.Admin
99
{
1010
[Cmdlet(VerbsCommon.Add, "PnPOrgAssetsLibrary")]
1111
[CmdletHelp("Adds a given document library as a organizational asset source",

Commands/Admin/AddOrgNewsSite.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#if !ONPREMISES
22
using Microsoft.SharePoint.Client;
3-
using SharePointPnP.PowerShell.CmdletHelpAttributes;
4-
using SharePointPnP.PowerShell.Commands.Base;
3+
using PnP.PowerShell.CmdletHelpAttributes;
4+
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
6-
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
6+
using PnP.PowerShell.Commands.Base.PipeBinds;
77

8-
namespace SharePointPnP.PowerShell.Commands.Admin
8+
namespace PnP.PowerShell.Commands.Admin
99
{
1010
[Cmdlet(VerbsCommon.Add, "PnPOrgNewsSite")]
1111
[CmdletHelp("Adds the site as an organization news source in your tenant",

Commands/Admin/AddSiteCollectionAppCatalog.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#if !ONPREMISES
22
using Microsoft.Online.SharePoint.TenantAdministration;
33
using Microsoft.SharePoint.Client;
4-
using SharePointPnP.PowerShell.CmdletHelpAttributes;
5-
using SharePointPnP.PowerShell.Commands.Base;
4+
using PnP.PowerShell.CmdletHelpAttributes;
5+
using PnP.PowerShell.Commands.Base;
66
using System.Management.Automation;
7-
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
7+
using PnP.PowerShell.Commands.Base.PipeBinds;
88

9-
namespace SharePointPnP.PowerShell.Commands.Admin
9+
namespace PnP.PowerShell.Commands.Admin
1010
{
1111
[Cmdlet(VerbsCommon.Add, "PnPSiteCollectionAppCatalog")]
1212
[CmdletHelp("Adds a Site Collection scoped App Catalog to a site",

Commands/Admin/AddTenantCdnOrigin.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#if !ONPREMISES
22
using Microsoft.Online.SharePoint.TenantAdministration;
33
using Microsoft.SharePoint.Client;
4-
using SharePointPnP.PowerShell.CmdletHelpAttributes;
5-
using SharePointPnP.PowerShell.Commands.Base;
4+
using PnP.PowerShell.CmdletHelpAttributes;
5+
using PnP.PowerShell.Commands.Base;
66
using System.Management.Automation;
77
using OfficeDevPnP.Core.Sites;
8-
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
8+
using PnP.PowerShell.Commands.Base.PipeBinds;
99
using System;
1010

11-
namespace SharePointPnP.PowerShell.Commands.Admin
11+
namespace PnP.PowerShell.Commands.Admin
1212
{
1313
[Cmdlet(VerbsCommon.Add, "PnPTenantCdnOrigin")]
1414
[CmdletHelp("Adds a new origin to the public or private content delivery network (CDN).",

Commands/Admin/AddTenantTheme.cs

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#if !ONPREMISES
22
using Microsoft.Online.SharePoint.TenantAdministration;
33
using Microsoft.SharePoint.Client;
4-
using SharePointPnP.PowerShell.CmdletHelpAttributes;
5-
using SharePointPnP.PowerShell.Commands.Base;
4+
using PnP.PowerShell.CmdletHelpAttributes;
5+
using PnP.PowerShell.Commands.Base;
66
using System.Management.Automation;
77
using OfficeDevPnP.Core.Sites;
8-
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
8+
using PnP.PowerShell.Commands.Base.PipeBinds;
99
using System;
10-
using SharePointPnP.PowerShell.Commands.Model;
11-
using Newtonsoft.Json;
10+
using PnP.PowerShell.Commands.Model;
1211
using System.Linq;
12+
using System.Text.Json;
1313

14-
namespace SharePointPnP.PowerShell.Commands.Admin
14+
namespace PnP.PowerShell.Commands.Admin
1515
{
1616
[Cmdlet(VerbsCommon.Add, "PnPTenantTheme")]
1717
[CmdletHelp("Adds or updates a theme to the tenant.",
@@ -73,14 +73,17 @@ protected override void ExecuteCmdlet()
7373
{
7474
if (Overwrite.ToBool())
7575
{
76-
Tenant.UpdateTenantTheme(Identity.Name, JsonConvert.SerializeObject(theme));
76+
Tenant.UpdateTenantTheme(Identity.Name, JsonSerializer.Serialize(theme));
7777
ClientContext.ExecuteQueryRetry();
78-
} else
78+
}
79+
else
7980
{
8081
WriteError(new ErrorRecord(new Exception($"Theme exists"), "THEMEEXISTS", ErrorCategory.ResourceExists, Identity.Name));
8182
}
82-
} else {
83-
Tenant.AddTenantTheme(Identity.Name, JsonConvert.SerializeObject(theme));
83+
}
84+
else
85+
{
86+
Tenant.AddTenantTheme(Identity.Name, JsonSerializer.Serialize(theme));
8487
ClientContext.ExecuteQueryRetry();
8588
}
8689
}

0 commit comments

Comments
 (0)