Dear
@hinabutt,
thank you for joining our community and sharing with us your question.
If you apply asylum in another country than the EU country that issued you the visa, your claim will be rejected nad the Dublin Regulation will be applied- that means that you will send back to that country that issued you the visa and there you can process your claim.
I hope this helps you, if you need further guidance please feel free to address our community.
Best regards,
Nilab