If you recently started renting a house and received a notice from the city that your property was being illegally rented [[without a license or city inspection) are you entitled to your security deposit if you wish to move? I am aware of numerous code violations which will need to be corrected, and I believe that it will be difficult for me to stay here if the city of Madison Heights requires that all of these code violations be corrected. Aside from many small problems, we also have electrical issues. Because of this, we will likely need to move while the house is brought up to code. Am I legally entitled to my security deposit? According to what I am reading, in Madison Heights a landlord is not even allowed to post a place for rent until they have received their license and inspection.