3

All of a sudden I started to seeing below error with PnPPowershell.

Get-PnPContentType : The Push Notifications feature is not activated on the site

When I googled I got below article which suggests activating a certain feature. When I used Get-PnPFeature to see more about this feature I couldn't find it.

https://veenstra.me.uk/2016/01/27/office-365-the-push-notifications-feature-is-not-activated-on-the-site/

If this was working why all of a sudden it stopped?

  • I ve got such an error randomly. Then it disappeared without any manipulations in half an hour. Weird thing. – Boris Zinchenko Nov 1 '18 at 12:16
  • I think my post solves the solution, it would be nice if you could set it as "answer" so we get this question closed, thanks. – Alberto S. Mar 20 at 9:21
0

You can set a try/catch. In case of error, just add the feature if needed, and retry

Enable-PnPFeature -Identity 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 

You need either to be connected to a site or provide a connection context by the -Connection param

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.