Those emails are definitely scams and not from Microsoft. One way of confirming scam emails it to select "Reply" (but do NOT actually "Reply". In majority of cases, you will notice the address you are replying to is not legit.
Even though Microsoft, in most cases filters these scam emails (I get dozens per day) and sends them to your Junk folder, I think it's obnoxious and disappointing that Microsoft does NOTHING (that I'm aware of) to detect and stop these scam emails from ever reaching out Inbox or Junk folder.
I would think Microsoft has the ability and proper staff who could develop scam detection software. It appears to me that Microsoft cares nothing about putting in the time and effort and money to protect their customers from scammers. I constantly report these emails to Microsoft as "Phishing" but I continue to get hundreds per week.
Come on Microsoft. Start protecting your customers (especially senior citizens) from falling prey to these low life scum of the Earth and stop providing these scammers with a means for stealing millions of dollars from your customers.