I am a duke in Poland and I cannot marry a princess but courtiers. I assuming this has to do with rank but since I am new to this game I want to be sure. Also what should I look in regard to a wife.
Thanks
If you started as the ahistorical 1066 house of Dunin Duke of Silesia or the totally out of whack house of Poraj "Duke" of Greater Poland, then you may have a dynastic prestige problem when testing your lack on the Capets, Salians and the like, who have plenty of recorded ancestors with high prestige etc., as well as a high prestige of the dynasty itself. As a Piast duke you really shouldn't be experiencing such problems, though, unless you go for the really top leagues, like first daughters of the most important kings. See if those princesses aren't perhaps too high in the line of succession, making the AI afraid of your potential scheming. I'm guessing but it's also possible that your military strength is too low and the AI's supply of princesses too limited (since the AI is evaluating the desireability of the attached military alliance here).
Also, this is a huge demotivator but I gotta tell you anyway: as long as her current "liege" is some count or duke somewhere because she has been married before or for some other reason, you can marry a generic random male nobody to the sister of an emperor. Sometimes I just don't that because it feels so bad.
If you want a prestigious bride rather than a strong alliance, click the wedding rings icon, arrange them by dynasty (by clicking the word "dynasty") and go through the many, many Rurikovich ladies. There's plenty of prestige from marrying them, to the point of topping imperial families (their dynastic prestige is insane).