3

I have .app file (example.app) created from SharePoint Provider hosted Add-In from Visual studio with Client Id and Secret.

  • I have a App Catalog site /sites/apps/
  • I have a Site Collection /sites/dev/

Is there any difference in the below options?

  • Upload the example.app to "Apps for SharePoint" library on App Catalog site and then install the app on .../sites/dev/ site collection

  • Directly install the example.app on .../sites/dev/ site collection
    using PowerShell script

1

Yes there is difference between both, which option to choose depends on your requirement. Below might help you in understanding the concept.

App Catalog Site collection is created for a single web application. You can consider this as Play Store/App Store for this particular web application. Now when a APP is uploaded to app catalog site collection. This APP is available for installation to every site collection created under this web application. So here usability factor comes in to picture. If your app is designed/developed to be reusable across all the site collection you can add your app to app catalog site collection so that other site collection admins can utilize this app for said business requirement.

Now when you upload a APP to particular site collection and NOT in catalog, this APP would be only available to install on said site collection. Other site collections will not be able to see this APP and cannot install on other site collection.

So it is up to development team to decide where to upload APP based on the functionality app is providing and if it is can be reused across other site collection.

Hope this make sense...

2

Then common difference is:

When you add the app in you App Catalog then it can be available to install in all other sites

While

When you directly install then it will be available to particular dev site only.

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.