Hi there,
I believe this GitHub issue will help you solve the problem, there’s some comments with fixes:
Where a full reinstall seems to be the fix:
Note that only a full uninstall, including removing the following folders worked (for me)
-
C:\Users\{username}\.azure
-
C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2
hopefully this also fixes it for you. If so, please feel free to mark this as the accepted answer as to help others who may come across this.