I need to install Apps to a web programmatically using CSOM. Apps are already added to the App Catalog of the tenancy. Is it possible?

I am aware of LoadAndInstallApp API and it works but requires some features to be enabled on site that I don't want to. I feel it is cleaner if App is installed from App Catalog directly. We have faced issues with LoadAndInstallApp when we do it on site collection and also on sub sites as it gives error that App is already present. Thanks.

  • have you found any solution approach?
    – fallout
    Aug 29, 2016 at 14:28
  • Sorry, didn't find any solution for this. We had to introduce a manual step in our setup to install Apps just because of this issue.
    – Prakash
    Aug 30, 2016 at 20:31
  • Thank you for the reply. You still have a PS approach via Install-SPApp, however, will you then have server-side coding dependencies.
    – fallout
    Aug 31, 2016 at 7:50


Your Answer

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