[BUG] Remove-PnPCustomAction not working #3720
Unanswered
lijin1234567
asked this question in
General
Replies: 2 comments 1 reply
-
I'm having the same issue using PnP.PowerShell 2.12.0 and I'm receiving the following error.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Using the scope parameter fixed my issue @lijin1234567. For ex: Remove-PnPCustomAction -Identity [customActionGUID] -Scope site |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a sharepoint online site, and we use add custom action (Add-PnPCustomAction -ClientSideComponentId command), it's working fine as I can see it from page source
I try to remove the same component using remove custom action command (Remove-PnPCustomAction -Identity), there is no error, and seems like executed successfully, but the custom action still in the page source.
Beta Was this translation helpful? Give feedback.
All reactions