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

Added -ValidateConnection option to Connect-PnPOnline #1924

Merged

Conversation

KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Resolves #1652

What is in this Pull Request ?

Added -ValidateConnection option to Connect-PnPOnline which, when provided, will perform a check if the SharePoint Online site provided through the -Url parameter actually exists. If not, it will throw an exception, if so it will blindly connect without providing feedback.

@gautamdsheth gautamdsheth merged commit cf9d6a1 into pnp:dev Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PNP Module should show an error if the site is not valid
2 participants