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

Fixing -Connection on Disconnect-PnPOnline throwing an exception #2093

Merged
merged 6 commits into from
Jul 5, 2022

Conversation

KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

Since 1.11, when passing in -Connection to Disconnect-PnPOnline, it would throw an exception if the current context was not connected. In this update we'll explicitly not do anything when a connection is being passed in. This is for backwards compatibility.

@gautamdsheth gautamdsheth merged commit 6c73a50 into pnp:dev Jul 5, 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.

None yet

2 participants