A rogue landlord has avoided serving jail time, despite breaching a banning order and being found guilty of harassment.