What should we do,When we have to be clean shaved because of the rule of the company where we are working.It is compulsary to be clean shaved on job.Should we not join such company or what can we do.Will it be a sin to be clean shaved because of the rules of the company?

Shaving the beard —whose prohibition is based on obligatory precaution— would not become permissible just by the desire to get a job with these companies.

https://www.sistani.org/english/qa/01136/