Spray foam insulation, when properly installed is both an air barrier and when closed cell foam is used at the proper depth a vapor barrier!  Before hiring any contractor you should establish the brand of foam being used and verify that with the named manufacture.  Please ask for ESR reports and MSDS sheets on any foam being installed in your home. A couple areas where you might consider spray foam insulation include:
If you cut the nails holding one of the corner studs to the bottom plate and the top plate with a Sawzall, you can use a flat bar (or a flat bar plus a wrecking bar) to pull the stud off the sheathing nails. Either re-use the stud, or buy a new stud, and install the stud with toenails as shown in the link I provided in Comment #51 (this link: Outside corner detail). http://kvsprayfoam.com/images/roofing-foam-silicone.jpg
Most closed-cell spray foam is now formed using hydrofluorocarbon (HFC) blowing agents that have high global warming potential, partially or completely offsetting the climate benefits of the energy savings they can offer. In the United States, HFCs are scheduled to be phased out by January, 2021. A few spray foam suppliers have started supplying spray foam blown with hydrofluoroolefin (HFO) blowing agents without this problem as of early 2017.[14] http://youtube.com/watch?v=ggLAUsiuI_o
Carefully examine the roof membrane (surface material) for cracks, tears, blisters, evidence of ponding, exposed foam, and open seams. If already coated, evaluate the condition of the coating. Pay particular attention to areas around roof penetrations (vents, skylights, pipes, etc), ponding areas, cracks in parapet walls, and the attachment of roof membranes to parapet walls. Roofs should be in good condition to warrant coating. http://youtube.com/v/ggLAUsiuI_o?version=3
Warning: EnergyGuard™ Elastomeric Roof Coatings can freeze below 32° F. This is because the product is water based. In case of freezing temperatures, stop the application process. After application, you must allow the product time to dry before exposing the elastomeric roof coating to foot traffic or water. You should also cover the containers and dispose them responsibly after application. In case you or someone else i.e. a child ingests the coating seek immediate medical attention. Don't induce vomiting.

However, coating asphalt shingles and built-up composition roofs requires more caution. The National Roofing Contractors Association’s (NRCA) director of technical services has stated "The roofing industry is aware of a number of issues that could have negative consequences for field application of coatings over asphalt shingle roof systems. Anyone considering this type of application should be aware of the concerns so they can weigh them against the benefits claimed in coating product promotional materials."[2]
Global warming potential (GWP), as defined by the EPA, is a measure of how much energy the emissions of 1 ton of a gas will absorb over a given period of time, relative to the emissions of 1 ton of carbon dioxide (CO2).  Spray foam insulation products that use water as the blowing agent - typically open-cell foam however Icynene’s ProSeal Eco is a 100 percent water blown closed-cell spray foam – have a global warming potential of 1, the lowest possible number.  This is because water in the mixture reacts during the application process to release carbon dioxide and heat. The GWP of the blowing agent is that of carbon dioxide. Carbon dioxide has a GWP of 1.
I employed a company to insulate my three story house in 2011. They started Insulating it in August of 2011...They said it would be a 3-4 day job. They installed it in 0.5"-8" lifts all in the same cavity, this left burned insulation and voids. They removed what they told me was the bad insulation and in the process cut many electrical wires. They fixed this. They then reinstalled too thick again in some spots and removed again. They then installed it for a 3rd time. The areas that I thought were good are now separating from the structural members leaving voids. As of October 2012, 1 year and 2 months of dealing with the contractor I told them I want proof that what has been installed carries a warranty or I want my money back and I will fix the problems myself. They have yet to provide me with this warranty. I have spent many hours in the house looking at what is bad and they need to fix. I am frustrated, 14 months of additional rent due to their negligence. I would like to know how I can get proof that the product carries the manufacturers lifetime warranty, or has it been installed improperly throughout the entire house. Desperately awaiting your response.  https://www.youtube.com/watch?v=ggLAUsiuI_o&app=desktop
I did a LOT of prep before using this product. Cleaned, vacuumed, installed additional insulation etc etc etc. This spray foam was easy to work with, and did it's job as it was supposed to. If you are curious, this kit was purchased because - every "foam insulation company" I contacted either did not call back (due to no interest) OR this was too small of a job. That is why I went DIY on this one, that and: I was advised by one of these companies that they have a minimum $2k job because ... (insert your answer here, but I will choose that everyone needs to eat).
Carefully examine the roof membrane (surface material) for cracks, tears, blisters, evidence of ponding, exposed foam, and open seams. If already coated, evaluate the condition of the coating. Pay particular attention to areas around roof penetrations (vents, skylights, pipes, etc), ponding areas, cracks in parapet walls, and the attachment of roof membranes to parapet walls. Roofs should be in good condition to warrant coating.

Roof Bond

×