PnP and HTTP - Sharepoint 2016 OnPremise

%3CLINGO-SUB%20id%3D%22lingo-sub-191052%22%20slang%3D%22en-US%22%3EPnP%20and%20HTTP%20-%20Sharepoint%202016%20OnPremise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191052%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EI%20work%20with%20a%20bunch%20of%20pnp%20scripts%20in%20a%20sharepoint%202016%20on%20premise%20intranet.%20These%20scripts%20are%20complex%20but%20they%20are%20working%20fine%20for%20several%20months.%3CBR%20%2F%3EI%20use%20https%20protocol%20for%20all%20my%20site%20collections%20and%20web%20application.%3C%2FP%3E%3CDIV%20class%3D%22text_exposed_show%22%3E%3CP%3ERecently%2C%20I%20tried%20to%20deploy%20these%20scripts%20over%20an%20HTTP%20site%20collection%20but%20I%20always%20get%20several%2C%20and%20random%2C%20time%20out%20errors.%3C%2FP%3E%3CP%3EMy%20question%20is%2C%20could%20be%20that%20PNP%20doesn't%20work%20ok%20with%20HTTP%20and%20HTTPS%20is%20required%3F%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-191052%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ehttp%20connection%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%202016%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-191496%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20and%20HTTP%20-%20Sharepoint%202016%20OnPremise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191496%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Eat%20first%3A%20I%20assume%20you%20work%20with%20PowerShell%20PnP.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20no%20trouble%20with%20http-Connections%20and%20PnP%20when%20I%20was%20working%20in%20my%20local%20DEV-SharePoint.%3C%2FP%3E%3CP%3EWhich%20specific%20PnP%20Command%20does%20fail%20when%20you%20work%20with%20http%20URLs%3F%20If%20it%20is%20the%20connect-pnponline%20commandlet%20you%20could%20try%20the%20%22IgnoreSSLWarnings%22%20Switch.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKind%20regards%3C%2FP%3E%3CP%3EMarkus%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hi all,

I work with a bunch of pnp scripts in a sharepoint 2016 on premise intranet. These scripts are complex but they are working fine for several months.
I use https protocol for all my site collections and web application.

Recently, I tried to deploy these scripts over an HTTP site collection but I always get several, and random, time out errors.

My question is, could be that PNP doesn't work ok with HTTP and HTTPS is required?

Thanks!

1 Reply
Highlighted

Hi,

at first: I assume you work with PowerShell PnP.

 

I had no trouble with http-Connections and PnP when I was working in my local DEV-SharePoint.

Which specific PnP Command does fail when you work with http URLs? If it is the connect-pnponline commandlet you could try the "IgnoreSSLWarnings" Switch.

 

Kind regards

Markus