I am currently working on a SPFx extension to add JavaScript on all modern pages. I am following Chris O'Brien's blog to create this. I was able to create and debug it but when I package it up and upload to app catalog, It shows Valid App Package = NO. See image below.

enter image description here

Any inputs would be appreciated.

  • Where are you trying to install the extension? In SharePoint Online or onprem? Jul 24 '17 at 13:19
  • I am developing for SharePoint Online only. I tried three different tenant including O365 early access and developer tenants. Jul 24 '17 at 13:27
  • 4
    If you go to the app catalog list view settings, there is a field that is the reason it isn't valid. Can you add that field to the view and see what it says? (We're making that field show by default in an upcoming patch) Jul 24 '17 at 18:39
  • 3
    The field name that @PatMill_MSFT was talking about is "App Package Error Message". Jul 25 '17 at 4:50

Currently .sppkg can be deployed to SharePoint Online tenants only. You have to wait for on-pren support.

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.