I have developed a client-side web-part by following steps simialr to those mentioned on this link Deploy your client-side web part to a SharePoint page (Hello World part 3)

then i deploy the web part to our app catalog site collection. then inside any site collection i can go to >> site content >> Add App >> i can add the web-part. but my question is if I can restrict the App from being added to only certain site collections? in other words to only show the App (when we want to add a new app) inside certain site collections only. is this possible?

1 Answer 1


You need to use Site collection app catalog for this capability.

Currently, when you upload the app it gets uploaded to the tenant app catalog.

Once, you enable the site collection app catalog feature, you can then upload the app to that particular site collection's app catalog which will ensure that the app is available to only to that particular site collection.

You need to run the below commands to enable it. Ensure that you are SharePoint admin while executing it, else it will throw error :

Connect-SPOService -Url "https://tenant-admin.sharepoint.com"

$site = Get-SPOSite https://tenant.sharepoint.com/sites/TestSiteCollection

Add-SPOSiteCollectionAppCatalog -Site $site

Reference - Use the site collection app catalog

  • hey @SharePointTestDev, hope this helps you find an answer to your question. You can accept it as answer which will help us and remove it from the list of unanswered questions :) Thanks ! Jan 16, 2019 at 10:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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