pnpframework
pnpframework copied to clipboard
Remove-PnPSietGroup - Unable to Disable User Confirmation Prompt
When executing the following command:
Ex: Remove-PnPSiteGroup -Identity "GroupToRemove" -Confirm:$false
I still receive a confirmation prompt, despite explicitly setting .
Upon reviewing the source code at RemoveSiteGroup.cs, it appears that the switch parameter is not implemented. This prevents users from suppressing the confirmation dialog as expected.
Suggested Fix:
Please consider adding support for the parameter in the cmdlet implementation. This would align with standard PowerShell behavior and improve automation scenarios.