App Stapling During the Site Provisioning Process

%3CLINGO-SUB%20id%3D%22lingo-sub-4330%22%20slang%3D%22en-US%22%3EApp%20Stapling%20During%20the%20Site%20Provisioning%20Process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4330%22%20slang%3D%22en-US%22%3E%3CP%3EI%20did%20some%20digging%20and%20can't%20seem%20to%20find%20any%20documentation%20from%20Microsoft%20that%20clarifies%20this%2C%20so%20I%20am%20posting%20here%20(and%20Yammer)%26nbsp%3Bin%20hopes%20one%20of%20you%20can%20assist.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20want%20to%20programmatically%20install%20SharePoint%20add-ins%20during%20the%20site%20provisioning%20process%20(or%20via%20a%20post-provisioning%20feature)%20to%20apply%20a%20custom%20site%20header%20and%20footer%20to%20an%20out-of-the-box%20team%20site.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20know%20side-loading%20can%20work%2C%20but%20does%20this%20%22break%22%20the%20add-ins%20connection%20to%20the%20app%20catalog%20and%20effectively%20disable%20our%20ability%20to%20make%20updates%20to%20the%20apps%20via%20the%20catalog%3F%20Are%20there%20any%20best%20practices%20to%20completing%20this%3F%20I%20have%20found%20references%20to%20advanced%20HTTP%20remote%20operations%2C%20but%20have%20to%20believe%20there%20are%20other%20options.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3BAny%20help%20is%20appreciated%20-%20thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4381%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Stapling%20During%20the%20Site%20Provisioning%20Process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4381%22%20slang%3D%22en-US%22%3EFollow-up%20question%20after%20watching%20Vesa's%20video%20-%20he%20chose%20to%20install%20the%20application%20with%20tenant-level%20permissions%20first%20to%20the%20app%20catalog%20and%20then%20side-load%20it%20to%20another%20site%20collection.%20Is%20there%20then%20a%20way%20to%20push%20application%20updates%20to%20all%20sites%20or%20would%20it%20require%20an%20uninstall%20and%20re-install%20(%22re-sideloading%22)%20of%20the%20add-in%20across%20the%20entire%20tenant%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4369%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Stapling%20During%20the%20Site%20Provisioning%20Process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4369%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Juan%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20guidance%20thus%20far!%20I%20was%20asking%20if%20it%20broke%20the%20ability%20to%20push%20updates%20to%20add-ins%20via%20the%20catalog%2C%20but%20I%20am%20guessing%20it%20does%20not..%3F%20Is%20this%20a%20supported%20model%3F%20Does%20this%20also%20apply%20%2F%20work%20on-prem%3F%20My%20question%20is%20actually%20focused%20around%20automating%20the%20add-in%20stapling%20as%20part%20of%20a%20SharePoint%202016%20site%20provisioning%20process.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4355%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Stapling%20During%20the%20Site%20Provisioning%20Process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4355%22%20slang%3D%22en-US%22%3ESide-Loading%20is%20the%20only%20way%20to%20automate%20add-in%20installation%20in%20SPO...why%20do%20you%20say%20side%20loading%20breaks%20Add-ins%20update%20process%3F%20There%20is%20a%20PnP%20video%20by%20Vesa%20Juvonen%20where%20he%20explain%20the%20process%20of%20automate%20Add-in%20installation%20in%20SPO%20without%20loosing%20that%20connection%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I did some digging and can't seem to find any documentation from Microsoft that clarifies this, so I am posting here (and Yammer) in hopes one of you can assist.

I want to programmatically install SharePoint add-ins during the site provisioning process (or via a post-provisioning feature) to apply a custom site header and footer to an out-of-the-box team site. 

I know side-loading can work, but does this "break" the add-ins connection to the app catalog and effectively disable our ability to make updates to the apps via the catalog? Are there any best practices to completing this? I have found references to advanced HTTP remote operations, but have to believe there are other options. 

 Any help is appreciated - thank you!

3 Replies
Highlighted
Side-Loading is the only way to automate add-in installation in SPO...why do you say side loading breaks Add-ins update process? There is a PnP video by Vesa Juvonen where he explain the process of automate Add-in installation in SPO without loosing that connection
Highlighted

Hi Juan,

 

Thanks for the guidance thus far! I was asking if it broke the ability to push updates to add-ins via the catalog, but I am guessing it does not..? Is this a supported model? Does this also apply / work on-prem? My question is actually focused around automating the add-in stapling as part of a SharePoint 2016 site provisioning process.

 

Thanks!

Highlighted
Follow-up question after watching Vesa's video - he chose to install the application with tenant-level permissions first to the app catalog and then side-load it to another site collection. Is there then a way to push application updates to all sites or would it require an uninstall and re-install ("re-sideloading") of the add-in across the entire tenant?