First, try scraping a dry area of the ceiling with your drywall knife. If the popcorn texture comes off easily ... any mess you’ll make repairing and sanding it later. Now that everything ...
No matter how careful you are, a little bit of the popcorn is bound to fall off. Starting in one corner of the room, hover the vacuum head over the ceiling, applying feather-light pressure.