Hello @Naman Kumar,
Welcome to Microsoft Q&A forum.
Please try to close VS, rename following two folders, sign in VS using Admin mode again, see if this works:
C:\Users\username\AppData\Local\Microsoft\VSCommon\OnlineLicensing
C:\Users\username\AppData\Local\.IdentityService
Besides, is this your own PC, or your company machine? Are you using multiple accounts on this machine?
Feel free to let us know the results.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.