Using classic Outlook for Windows in business environments
Hi Brian,
I highly doubt that Microsoft stores temporary codes that they have sent to users.
However, they do store activity and account details:
Check the recent sign-in activity for your Microsoft account
If this is helpful please accept answer.