PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

[DOCUMENTATION] CdnType Private NotImplemented in GCC

Open sparkitect opened this issue 5 years ago • 1 comments

I get a 'NotImplemented' exception when attempting to use this cmdlet with the CdnType of Private:

PS C:\> Set-PnPTenantCdnEnabled -CdnType Private -Enable $true
Set-PnPTenantCdnEnabled : The method or operation is not implemented.
At line:1 char:1
+ Set-PnPTenantCdnEnabled -CdnType Private -Enable $true
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Set-PnPTenantCdnEnabled], ServerException
    + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Admin.SetTenantCdnEnabled

Reporting an Issue or Missing Feature

The documentation at https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnptenantcdnenabled?view=sharepoint-ps fails to mention that the Office 365 CDN isn't fully supported in GCC tenants. Knowing this before hand might have saved some time and angst :-)

Expected behavior

Documentation for a cmdlet is accurate about where it will and will not work.

Actual behavior

Documentation does not indicate that the cmdlet will not work in a GCC tenant.

Steps to reproduce behavior

Attempt to run the following cmdlet after connecting to a GCC tenant: Set-PnPTenantCdnEnabled -CdnType Private -Enable $true

Which version of the PnP-PowerShell Cmdlets are you using?

  • [ ] PnP PowerShell for SharePoint 2013
  • [ ] PnP PowerShell for SharePoint 2016
  • [ ] PnP PowerShell for SharePoint 2019
  • [x] PnP PowerShell for SharePoint Online

What is the version of the Cmdlet module you are running?

3.23.2007.1

How did you install the PnP-PowerShell Cmdlets?

  • [ ] MSI Installed downloaded from GitHub
  • [x] Installed through the PowerShell Gallery with Install-Module
  • [ ] Other means

sparkitect avatar Jul 28 '20 21:07 sparkitect

Are the CDN statuses available on any roadmaps for GCC and GCC High?

DakotaWray2 avatar Nov 05 '20 19:11 DakotaWray2