For a requirement using SharePoint Online(Developer Tenant) regarding Site Provisioning, we need to install a SharePoint Hosted App(*.app) in the newly created sites. Doing this, the app is installing in the sites, but the user has to manually "Trust In" to set the permissions to get displayed on the site. Below screenshot for reference. We need to automate this configuration. When a site is created/provisioned the app has to be displayed without any configurations. Kindly provide us with a solution for this.

enter image description here

  • HI, There is a provision to do in App catalog site. You have deploy option so that it deploys to all sites and newly created site also. it is nothing but app stapling. Mar 27, 2017 at 6:46

1 Answer 1


You can refer the the following articles for reference:

SharePoint 2013 App Deployment through "App Stapling"


Automating add-in/app installation to SharePoint sites using CSOM


  • hi Suresh, we did tried the App Stapling method and using this will add the app in the site but need to manually install and "trust it" the app to get displayed on site. Our requirements is to add the app programmatically and yes we did tried and using CSOM, this installs the app, but the user needs to manually "trust it" the app to get displayed.
    – Srinath.MV
    Mar 27, 2017 at 10:35

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.