[BUG] Unable to connect to SharePointOnline with 'Connect-PnPOnline' #3193
Replies: 6 comments 3 replies
-
Follow-up, Using the
So I know that PowerShell is working and can connect - PnP still says the host is not reachable. |
Beta Was this translation helpful? Give feedback.
-
Hi @evazquez00 , do you get the same behavior with |
Beta Was this translation helpful? Give feedback.
-
I have the same behaviour with Windows 11 (Insider Preview 23471.1000), PowerShell 7.3.6 and PnP-PowerShell 2.2.0 or 2.2.17 (nightly). Is there a workaround? How can it be fixed? |
Beta Was this translation helpful? Give feedback.
-
Have the same behaviour, using pwsh 7, PnP.Powershell v2.2.0, WIndows 10 22H2. Any work arounds? |
Beta Was this translation helpful? Give feedback.
-
Had the same 'host unreachable' problem. I uninstalled and rolled back to an older version of the SqlServer module, -RequiredVersion 21.1.18226 and I'm functional again. |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm facing the same issue for one of my customers. I had to make it downgrade to version 2.2.0, before the connection has been updated using the In my case, there's no specific module loaded in the PS context except PnP PowerShell. But the simple It seems that the DNS resolution couldn't work depending on the network / proxy config... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Freshly re-imaged Windows 10 system, installing my M365 /Online tools.
AzureAD and M365 are MFA enforced.
I can connect to AzureAD, M365 and Exchange Online through PowerShell cmdlets with no issues.
I can connect to AzureAD, M365, Exchange Online and Sharepoint "Admin" and "Regular" sites via WebUI with no issues.
However, SharePoint Online is saying that it is not reachable via PowerShell cmdlet.
Here's my environment:
Here's the issue:
Checking in the same PS Terminal Session to ensure DNS and network connectivity is good:
All good there.
Am I missing a dependency? Or something else is going sideways?
Beta Was this translation helpful? Give feedback.
All reactions