This project is read-only.

automated app deployment

Mar 4, 2014 at 5:16 AM
any way to pre-install apps? for an enterprise solution we want certain things pre-configured on an Office 365 site, PowerShell or CSOM does not have any code to install an app programmatically. any plans to include this in future releases?
Mar 5, 2014 at 7:20 AM
Thanks for the good questions,
currently we don't have CSOM to install apps directly to the site, like you mentioned, but you can also surface the app using alternative means. You could have for example link in the master page or JS to open popup to provider hosted app, which then exposes the needed capabilities. We are looking into demonstrating this capability on the upcoming releases more detailed and this will be something what we will show during SharePoint Conference presentations, if you have possibility to participate to the Las Vegas during this week.
Marked as answer by vesaj on 3/10/2014 at 9:29 AM
Mar 18, 2014 at 6:48 AM
thanks Vesaj, but we are planning to deploy the master pages only using these apps. so how do we install/deploy apps containing master pages in an automated fashion? so when a site is getting created it has default custom branding applied
Mar 18, 2014 at 8:03 AM
In the projects where I've been involved, we've provisioned the master pages and other assets directly to the site collections when the site collection is provisioned. This would require self-service/custom site collection provisioning or a tool which is used to push the branding to the sites, which have been deployed from the tenant administration UI. I'd look for the site provisioning examples from the Office AMS package for additional details.

You could also have some external process, which scans through the existing sites and applies the branding there automatically, but that would mean that the UI change is not immediate. In general we don't unfortunately have currently hook available in the tenant level, which would execute some external code when site collections are created, so provisioning site and needed elements to it automatically when it's created, would be the easiest way to go.

We do support applying apps automatically to the sites by using so called "app stabling", but this capability only adds apps available to the site contents without app installing event to be fired.