Hi Carol Cormier,
Thanks for your post. The page login.microsoft.com/device is a real Microsoft sign‑in page used for a feature called device code sign‑in. Microsoft uses it when an app or device you intentionally started needs you to confirm sign‑in from a browser within a short time window (often 10–15 minutes).
Important distinction:
- Legitimate when it appears after you start a sign‑in yourself (for example, signing into a Microsoft app, linking a device, or setting up a feature).
- Unexpected if it appears at Windows startup and you did not initiate any sign‑in.
Microsoft’s own guidance indicates that verification prompts should be tied to an action you start; unexpected prompts should be treated cautiously.
About question Is it safe to close it and ignore it? Yes. If you did not start a sign‑in, it is safe to dismiss the prompt (as you’ve been doing) and not enter the code. You should only enter a device code when you personally begin a sign‑in flow.
Recommended next steps
- Do not enter the code unless you recognize the sign‑in request.
- Open a browser manually and sign in at account.microsoft.com to review Recent activity.
- If you see any sign‑ins you don’t recognize, change your password and ensure two‑step verification is on (from the same account site).
- Run a full scan with Windows Security to rule out unwanted software causing repeated prompts.
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.