Employers have great leeway when it comes to discharging employees. But many employers get into trouble by failing to conduct a thorough and fair investigation. If the employee can prove the investigation was so cursory that it was just an excuse to cover up an illegal motivation such as age discrimination, the employer may lose big.