Meanwhile, in another bowl, mix the flour with the grated coconut and baking powder.
Gradually add it to the mixture, beating on low speed.
Knead the dough by hand.
Form the dough into small balls and place them on a baking tray lined with baking paper. Bake in a preheated oven at 180°C (350°F) for 10-12 minutes.
When the cookies are ready, leave them on the baking tray for a few minutes after removing them from the oven, then transfer to a plate and sprinkle with powdered sugar if desired.