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

August 2020 Release #2833

Merged
merged 47 commits into from
Aug 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
cece22c
namespace change
erwinvanhunen Jul 8, 2020
2762a01
Cleanup and x-plat changes
erwinvanhunen Jul 14, 2020
212b6c7
merged conflicts
erwinvanhunen Jul 14, 2020
8d7fbce
updated assembly name
erwinvanhunen Jul 14, 2020
036380c
Updated namespace
erwinvanhunen Jul 14, 2020
b6cef66
Updated version
erwinvanhunen Jul 14, 2020
5a9fada
Updated namespace
erwinvanhunen Jul 14, 2020
d51c255
updated version
erwinvanhunen Jul 14, 2020
475a891
Fixed namespaces
erwinvanhunen Jul 14, 2020
0d5d134
Fixed namespaces
erwinvanhunen Jul 14, 2020
60726c5
Fixed identity check issue
erwinvanhunen Jul 15, 2020
37fecca
Move to System.Text.Json
erwinvanhunen Jul 15, 2020
d5d704d
merged conflicts
erwinvanhunen Jul 15, 2020
773c959
Forcibly lowercase the URL in the weblogin / cookie flow which other…
erwinvanhunen Jul 15, 2020
1759781
fixed compilation issue for .NET Standard
erwinvanhunen Jul 15, 2020
5b6afe2
Updated formatting with namespace changes
erwinvanhunen Jul 15, 2020
cbb5b17
merged conflicts
erwinvanhunen Jul 16, 2020
06a1797
Added support to retrieve members of a private channel
erwinvanhunen Jul 16, 2020
501b13f
Merge branch 'master' into dev
erwinvanhunen Jul 16, 2020
61bf35e
Merge branch 'master' into dev
erwinvanhunen Jul 16, 2020
4c9865a
Fixed auth issue with mixed resource scopes
erwinvanhunen Jul 16, 2020
9924264
merged conflict
erwinvanhunen Jul 16, 2020
0fd4204
cleanup
erwinvanhunen Jul 16, 2020
af09baf
Moved TeamsUtility to async
erwinvanhunen Jul 17, 2020
40e2c56
merged conflicts
erwinvanhunen Jul 17, 2020
18ee88b
fixed compilation issues
erwinvanhunen Jul 17, 2020
c727d8d
Merge branch 'master' into dev
erwinvanhunen Jul 17, 2020
5cbea14
Merge branch 'master' into dev
erwinvanhunen Jul 17, 2020
bc2931b
Adding placeholders for August release
KoenZomers Jul 18, 2020
d589d31
fixes issue with token handling and tenant templates
erwinvanhunen Jul 20, 2020
0b2083f
Merge branch 'dev' of https://github.com/SharePoint/PnP-PowerShell in…
erwinvanhunen Jul 20, 2020
6970f99
refactored token handling
erwinvanhunen Jul 20, 2020
ef91dca
Fixed case of multiple auth sessions in a row when using different sc…
erwinvanhunen Jul 20, 2020
597341f
fixed interactive login with only scopes by utilizing device login flow
erwinvanhunen Jul 20, 2020
4034828
Token handling cleanup
erwinvanhunen Jul 20, 2020
dc719d0
Added SetTeamifyPromptHidden cmdlet
erwinvanhunen Jul 23, 2020
71dbcf0
updated token retrieval callback to be async
erwinvanhunen Jul 24, 2020
663df01
Updated Get/Set-PnPSearchSettings to set search placeholder text for…
wobba Aug 4, 2020
cd95756
Reverted packagename to SharePointPnPPowerShell[version]
erwinvanhunen Aug 4, 2020
2f6b319
August cleanup
erwinvanhunen Aug 4, 2020
72885fb
merged conflicts
erwinvanhunen Aug 4, 2020
b5f7c58
fixed dotnet standard compilation issue
erwinvanhunen Aug 5, 2020
44cfd22
updated version check endpoint
erwinvanhunen Aug 5, 2020
780f216
Remove unneeded using statement
erwinvanhunen Aug 5, 2020
ded7642
Updated modernization binaries
jansenbe Aug 10, 2020
4fad1ea
Updated project
erwinvanhunen Aug 10, 2020
6be6418
Merge branch 'master' into dev
erwinvanhunen Aug 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified Binaries/SharePointPnP.Modernization.Framework.dll
Binary file not shown.
Binary file modified Binaries/release/SharePointPnP.Modernization.Framework.dll
Binary file not shown.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ All notable changes to this project will be documented in this file.

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

## [3.24.2008.0] not yet released
## [3.24.2008.0]

### Added
- Updated `Get/Set-PnPSearchSettings` with an option `-SearchBoxPlaceholderText` to set search placeholder text for the SPO nav bar search box
- Added Set-PnPTermGroup cmdlet to update an existing taxonomy term group.
- Added Set-PnPTeamifyPromptHidden to hide the teamify prompt on a group connected Team Site (modern team site)

### Changed
- 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.

### Contributors


## [3.23.2007.1]
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddHubSiteAssociation.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPHubSiteAssociation")]
[Alias("Connect-PnPHubSite")]
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddMicrosoft365GroupToSite.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPMicrosoft365GroupToSite")]
[CmdletHelp("Groupifies a classic team site by creating a Microsoft 365 group for it and connecting the site with the newly created group",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/AddOrgAssetsLibrary.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using Microsoft.Online.SharePoint.TenantAdministration;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPOrgAssetsLibrary")]
[CmdletHelp("Adds a given document library as a organizational asset source",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddOrgNewsSite.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPOrgNewsSite")]
[CmdletHelp("Adds the site as an organization news source in your tenant",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddSiteCollectionAppCatalog.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPSiteCollectionAppCatalog")]
[CmdletHelp("Adds a Site Collection scoped App Catalog to a site",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddTenantCdnOrigin.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPTenantCdnOrigin")]
[CmdletHelp("Adds a new origin to the public or private content delivery network (CDN).",
Expand Down
23 changes: 13 additions & 10 deletions Commands/Admin/AddTenantTheme.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using SharePointPnP.PowerShell.Commands.Model;
using Newtonsoft.Json;
using PnP.PowerShell.Commands.Model;
using System.Linq;
using System.Text.Json;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPTenantTheme")]
[CmdletHelp("Adds or updates a theme to the tenant.",
Expand Down Expand Up @@ -73,14 +73,17 @@ protected override void ExecuteCmdlet()
{
if (Overwrite.ToBool())
{
Tenant.UpdateTenantTheme(Identity.Name, JsonConvert.SerializeObject(theme));
Tenant.UpdateTenantTheme(Identity.Name, JsonSerializer.Serialize(theme));
ClientContext.ExecuteQueryRetry();
} else
}
else
{
WriteError(new ErrorRecord(new Exception($"Theme exists"), "THEMEEXISTS", ErrorCategory.ResourceExists, Identity.Name));
}
} else {
Tenant.AddTenantTheme(Identity.Name, JsonConvert.SerializeObject(theme));
}
else
{
Tenant.AddTenantTheme(Identity.Name, JsonSerializer.Serialize(theme));
ClientContext.ExecuteQueryRetry();
}
}
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/ClearTenantAppCatalogUrl.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;

namespace SharePointPnP.PowerShell.Commands
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Clear, "PnPTenantAppCatalogUrl", SupportsShouldProcess = true)]
[CmdletHelp(@"Removes the url of the tenant scoped app catalog. It will not delete the site collection itself.",
Expand Down
12 changes: 6 additions & 6 deletions Commands/Admin/GetHideDefaultThemes.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using SharePointPnP.PowerShell.Commands.Enums;
using PnP.PowerShell.Commands.Enums;
using System.Collections.Generic;
using SharePointPnP.PowerShell.Commands.Model;
using PnP.PowerShell.Commands.Model;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPHideDefaultThemes")]
[CmdletHelp(@"Returns if the default / OOTB themes should be visible to users or not.",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetHomeSite.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPHomeSite")]
[CmdletHelp("Returns the home site url for your tenant",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/GetHubSite.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPHubSite")]
[CmdletHelp(@"Retrieve all or a specific hubsite.",
Expand Down
10 changes: 5 additions & 5 deletions Commands/Admin/GetHubSiteChild.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using System.Management.Automation;
using Resources = SharePointPnP.PowerShell.Commands.Properties.Resources;
using Resources = PnP.PowerShell.Commands.Properties.Resources;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPHubSiteChild")]
[CmdletHelp(@"Retrieves all sites linked to a specific hub site",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetKnowledgeHubSite.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPKnowledgeHubSite")]
[CmdletHelp("Gets the Knowledge Hub Site URL for your tenant",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetOrgAssetsLibrary.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPOrgAssetsLibrary")]
[CmdletHelp("Returns the list of all the configured organizational asset libraries",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetOrgNewsSite.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPOrgNewsSite")]
[CmdletHelp("Returns the list of all the configured organizational news sites.",
Expand Down
13 changes: 6 additions & 7 deletions Commands/Admin/GetStorageEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
using System.Management.Automation;
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using SharePointPnP.PowerShell.Commands.Enums;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Enums;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Text.Json;

namespace SharePointPnP.PowerShell.Commands
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Get, "PnPStorageEntity", SupportsShouldProcess = true)]
[CmdletHelp(@"Retrieve Storage Entities / Farm Properties from either the Tenant App Catalog or from the current site if it has a site scope app catalog.",
Expand Down Expand Up @@ -62,7 +61,7 @@ protected override void ExecuteCmdlet()

if (!string.IsNullOrEmpty(storageEntitiesIndex))
{
var storageEntitiesDict = JsonConvert.DeserializeObject<Dictionary<string, Dictionary<string, string>>>(storageEntitiesIndex);
var storageEntitiesDict = JsonSerializer.Deserialize<Dictionary<string, Dictionary<string, string>>>(storageEntitiesIndex);

var storageEntities = new List<StorageEntity>();
foreach (var key in storageEntitiesDict.Keys)
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/GetTenant.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using SharePointPnP.PowerShell.Commands.Model;
using PnP.PowerShell.Commands.Model;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenant")]
[CmdletHelp(@"Returns organization-level site collection properties",
Expand Down
4 changes: 2 additions & 2 deletions Commands/Admin/GetTenantAppCatalogUrl.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#if !ONPREMISES
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.CmdletHelpAttributes;

namespace SharePointPnP.PowerShell.Commands
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Get, "PnPTenantAppCatalogUrl", SupportsShouldProcess = true)]
[CmdletHelp(@"Retrieves the url of the tenant scoped app catalog",
Expand Down
10 changes: 5 additions & 5 deletions Commands/Admin/GetTenantCdnEnabled.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using SharePointPnP.PowerShell.Commands.Enums;
using PnP.PowerShell.Commands.Enums;
using System.Collections.Generic;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenantCdnEnabled")]
[CmdletHelp("Retrieves if the Office 365 Content Delivery Network has been enabled.",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/GetTenantCdnOrigin.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenantCdnOrigin")]
[CmdletHelp("Returns the current registered origins from the public or private content delivery network (CDN).",
Expand Down
Loading