Skip to content

Conversation

@reshmee011
Copy link
Collaborator

Potential fix for bug #5145 to suppress any errors if -force parameter is specified.

Type

  • Bug Fix

Related Issues?

Fixes #5145

What is in this Pull Request ?

Currently the force parameter is not being used in the codebase. Updating the EnableFeature.cs to have error handling and throw exception message on error only if Force parameter is not specified.

@gautamdsheth
Copy link
Collaborator

Hey @reshmee011 - I think we should just update the documentation and mark the parameter obsolete for this since we are not using it anywhere in the code.

@reshmee011
Copy link
Collaborator Author

It feels like the right action to mark the parameter as obsolete. I will do that, thank you.

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.

[BUG] Enable-PnPFeature ignore -Force parameter

2 participants