This is the 8385th most frequent Turkish word.
niyazi
A person who experiences misfortunes or futile efforts; often used idiomatically.
Here, 'Niyazi' is used as a proper noun, referring to a person's name.
Niyazi sabahları erken kalkar ve koşuya çıkar.
Niyazi gets up early in the mornings and goes for a run.
In this sentence, 'niyazi' is used figuratively to describe something ruined or unsuccessful, deriving from idiomatic expressions in Turkish.
Onun planları hep niyazi olur; bir türlü düzen tutmaz.
His plans always fail; they never work out.
In this context, 'Niyazi Bey' is a formally respectful way to refer to a person named Niyazi, indicating politeness and honor.