Landlords rely on their agent to advise them of the correct procedures and unfortunately a lot of PM's won't like to say 'no, that's not the right way to do it' to a client, even if it is in their best interest.
Regardless of the case, it was the PM who has failed in the duty to you and it is...