Keep my garage moisture free

It did a big commercial bldg. I worked in one time , then the spray foam started falling off--------jfi
Im hoping that was years ago. There weren't many guys applying it, or even certified to do so.
The products in use now seem to be pretty damn good, plus the application process has evloved.