pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
990 stars 663 forks source link

EnableFeature / Enable-PnpFeature Cannot Enable a Disabled Custom Feature #2059

Open get-itips opened 5 years ago

get-itips commented 5 years ago

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?

ghost commented 5 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

mevaibhav83 commented 4 years ago

+1 - i am having same issue at my communication site. please help with this issue.