The Canadian National Building Code references the CAN/ULC S705.2 National Application Standard which must be followed during all installations of 2lb medium density closed cell polyurethane foam. Every installer of CAN/ULC-S705.1 compliant medium density, spray applied foam must be licensed in order to spray foam and hold valid photo ID issued by their Quality Assurance Program (QAP) provider showing their license is in good standing.
The roof must be thoroughly cleaned, and allowed to dry thoroughly. This is a critical step to ensure a successful coating application. Be careful not to damage the lap seams. Care should be taken when pressure washing not to disturb the integrity of the underlying roof membrane particularly where there are adhered seams. Refer to the specific coating manufacturer you are using for their specific requirements for roof preparation.

Most flat roofs are not perfectly sloped, causing water to puddle in some areas, in particular around the drains and scuppers. Many roof coatings are not rated or warranted for "ponding water", and thus might fail pre-maturely if exposed to standing water over long periods of time. Serious consideration should be given to the performance and limitations of the coating being selected. Some manufacturers will warranty their coatings including ponding water. Typically, manufacturers for acrylic roof coatings do not include warranties for ponding water, while some polyurethane and silicone roof coatings manufacturers will.
Closed-cell spray insulation, a rigid medium-density material, can be used in exterior applications such as continuous insulation applications, as well as interior applications. This type of foam insulation has a higher R-value per inch making it also suitable for small areas that require the highest possible R-value to meet building code requirements. Closed-cell spray foam’s rigidity help reject bulk water making it a recognized flood-resistant material by FEMA.
The video below is from a house near Charleston, South Carolina that I visited recently, and you'll see that the homeowner in this case didn't get his money's worth. I knew immediately when I walked into the attic that something was wrong because it was hot up there. In a properly insulated spray foam attic, the temperature won't be much higher than the house temperature. 
Ames® Roof Coatings are premium elastomeric coatings that seal out moisture, renew old surfaces and even save energy. We have products specifically formulated for all types of roofs including; Wood, Tar, Metal, Rolled Roofing, EPDM Rubber, Foam and many other surfaces. Ames’ coatings form a waterproof seal to preserve and protect your roof. Our white roof coatings reflect sunlight, substantially reducing roof temperatures. Ames® products are environmentally friendly, waterbase, non-toxic, VOC-free and water cleanup.
One of the key differentiators between traditional insulation materials and spray foam insulation is the latter’s ability to insulate and air seal. Foam insulation provides an air barrier to wherever it is applied to help mitigate air leakage from the building. Air sealing the building envelope with sprayed-in foam insulation also helps address moisture ingress to reduce the risk of mold and mildew growth as well as the formation of ice dams in colder climate zones during the winter months.  When you compare foam insulation with traditional fiberglass insulation and cellulose insulation, sprayed insulation minimizes air infiltration, it assists in limiting moisture vapor from entering and escaping the home, which in turn reduces the load on heating and cooling systems. Below is a video that compares fiberglass, cellulose and open-cell spray foam in terms of insulating and air sealing value.

Roof Spray Foam Insulation

×