The passive equivalent of "Did anyone invite Rachna to the party?" is "Was Rachana invited to the party?" This keeps the past simple tense and converts the question structure appropriately.
Note: The NTA prompt says "Passive Voice to Active Voice", but the given sentence is already in active voice. We have solved it as active-to-passive, which appears to be the intended task.