pnpframework icon indicating copy to clipboard operation
pnpframework copied to clipboard

Remove-PnPSietGroup - Unable to Disable User Confirmation Prompt

Open pramireddy opened this issue 5 months ago • 0 comments

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.

pramireddy avatar Aug 12 '25 10:08 pramireddy