Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Connect-PnPOnline behind firewall error: "Host not reachable" version 2.2.0 and above #3908

Open
4 tasks
alternone opened this issue Apr 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alternone
Copy link

Reporting an Issue or Missing Feature

Issue confirmed by several users. See #3151
Related to Release Release 2.2.0 · pnp/powershell · GitHub

  • Improved Connect-PnPOnline cmdlet to handle ping on the destination server to check if it exists. PR and #3154

Expected behavior

Scripts asks for credentials

Actual behavior

Error by command: Host not reachable

Steps to reproduce behavior

Simply run command Connect-PnPOnline -Url "contoso.sharepoint.com" behind a firewall. Proxy set.
Command is working well in 2.1.1 and below.

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

From 2.2.0 to latest 2.4.44 nightly

Which operating system/environment are you running PnP PowerShell on?

  • [ X] Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • [X ] Other : official latest Docker image mcr.microsoft.com/powershell
@alternone alternone added the bug Something isn't working label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant