If you buy a property with unapproved work you take on the liability for that work. If council are aware and issue a show cause you will be required to obtain an approval (which may require expensive retrofit building solutions) and you may even have to remove the structure. It pays to do your due diligence prior to purchase.