

If you are talking about Germany, that is no longer true - landlords can not deny installations without sound reason:
https://www.tagesschau.de/wirtschaft/verbraucher/balkonkraftwerke-mieter-gesetzesaenderung-100.html
The surrounding laws were updated July this year, so it is a recent change.
I think you might have replied to the wrong comment.