Programmatically upgrade SPfx solution instances?

New Contributor

Is there currently method, or is there a method planned to programmatically update SPfx solution instances?


Consider the following scenario:


A SPfx solution with version is uploaded to app catalog and deployed; suppose it includes a web part.  (Not important that it includes webpart; could be extension, etc.).  Solution is added as "app" to various sites. 


Now, version 2.00.0 of the solution is uploaded to app catalog and deployed.


When I browse a site that has an instance of the solution (usually in "classic mode"), I will see an option under details to upgrade the solution.


However, if we have 100/1,000/10,000 instances of solutions deployed, it is not feasible to manually upgrade individual SPfx solutions through the UI.


Is there a means updating solutions programmatically?


(Note: if you do NOT change the versions in the SPfx .json files, and keep the solution at and replace in app catalog, you can immediately "upgrade" the SPfx solution for all instances; however this is not ideal as we might want scenarios where some people remain on and some go to

1 Reply
best response confirmed by Juan Carlos González Martín (MVP)
Short answer, no there is no way to do this today but yes, it's coming. I wrote a post on a big summary of all the things coming to SPFx this year... what you're looking for are "ALM APIs"...