I cannot make a thread!

Hello all! I am pretty new at SolidWorks, so I have many difficulties with it. One of them is about how to make a thread like the one shown in the picture. The hollow cylinder has a 10 mm length and a diameter of 10 mm also. I'd like to make an M10x1.5 thread, and for so I select Hole Wizard > Thread, and in the "Specification" tab I choose Type > Metric Tap and Size > M10x1.5, but I get the error message "The parameter is incorrect". I have already tried many other parameter combinations, but the error is always the same. Please, can someone clarify what I am doing wrong? Thank you all in advance! 

Edu ​​​​​​​