-
Hello, We are currently using the PnP.PowerShell module for some automation in a SharePoint document library. However we are also in the process of heavily restricting outbound internet access for our internal servers. We have the appropriate whitelists in place for the Microsoft sites, but it appears that the Connect-PnPOnline commandlet is reaching out to raw.githubusercontent.com to grab the current version of the module from the repository. The security team would prefer not to allow this URL in the whitelist, since it could hypothetically be used to download/run a malicious script. Is there a way to disable this version check? It does not really seem appropriate to me to be occurring here in the first place. I would ideally like to avoid having to fork, edit, and rebuild the module, but if that is what it takes I suppose I can do so. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Oops - after some digging I found the environment variable (PNPPOWERSHELL_UPDATECHECK) responsible for this :-) Disregard! |
Beta Was this translation helpful? Give feedback.
Oops - after some digging I found the environment variable (PNPPOWERSHELL_UPDATECHECK) responsible for this :-) Disregard!