After using Disable-PnpFeature on a custom feature, if try to use Enable-PnpFeature once the feature is disabled it does not appear anymore and cannot be enabled.
Actual behavior
that Get-PnpFeature lists the feature as present and Enable-PnpFeature can enable it again.
Steps to reproduce behavior
Install custom feature
Enable-PnpFeature
then
Disable-PnpFeature
Try to Enable-PnpFeature again
Which version of the PnP-PowerShell Cmdlets are you using?
[ ] PnP PowerShell for SharePoint 2013
[ ] PnP PowerShell for SharePoint 2016
[x] PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
3.8.1904.0
How did you install the PnP-PowerShell Cmdlets?
[ ] MSI Installed downloaded from GitHub
[x] Installed through the PowerShell Gallery with Install-Module
Reporting an Issue or Missing Feature
Copying an issue that was reported on office-docs-powershell by another user. I am a collaborator on that repo. Vesa J. asked that issues be created here and linked. https://github.com/MicrosoftDocs/office-docs-powershell/issues/3010
Expected behavior
After using Disable-PnpFeature on a custom feature, if try to use Enable-PnpFeature once the feature is disabled it does not appear anymore and cannot be enabled.
Actual behavior
that Get-PnpFeature lists the feature as present and Enable-PnpFeature can enable it again.
Steps to reproduce behavior
Install custom feature Enable-PnpFeature then Disable-PnpFeature Try to Enable-PnpFeature again
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.8.1904.0
How did you install the PnP-PowerShell Cmdlets?