Two men posed as tradies in a failed attempt to steal scaffolding from a Dunedin building, a court has heard.