Editorial team: DTNK
Published:
Sources checked:
Why unexpected sign-in codes deserve attention
Microsoft's EvilTokens report of 22 September 2026 describes abuse of device-code authentication to access accounts. For everyday work, the practical question is: Did you start this sign-in yourself for a known device or application?
Approving a request from an unsolicited message should not become a routine task. This also applies when the sender looks familiar or refers to a file, invoice or supposed support request.
The code connects two separate actions
In a legitimate OAuth device authorization flow, a device with limited input capabilities displays a code. You finish signing in using a browser on another device. The requesting application can then obtain the intended access tokens.
In a phishing attempt, someone else starts that request and persuades you to approve their code. Your sign-in can authorise their session. A genuine Microsoft domain identifies the sign-in page; it does not establish who initiated the underlying request.
An unexpected code should prompt a check. A device sign-in you initiated must match the device you are using and the purpose you expected.
Ask three questions before approving
- Origin: did I just initiate this sign-in, or did the request arrive unexpectedly in a message?
- Association: which specific device and application are being signed in? Does the displayed request match my task?
- Verification: can I confirm the task through an established contact method, without using links or contact details supplied in the suspicious message?
If the association remains unclear, do not enter the code or approve the request. Open the required service through your usual route and report the message through the agreed internal channel. A familiar profile picture, urgency or reference to a genuine domain does not replace this check.
If you have already approved the request
Contact the responsible IT team immediately. Describe the time, account used, displayed application and steps you completed. Use the approved reporting channel; do not put passwords or still-valid codes into open group chats. Preserve the suspicious message according to IT's instructions.
IT should examine sign-in events and the possible access scope, then decide which account-protection actions are needed. Microsoft's access revocation guidance covers blocking new sign-ins and revoking sessions. Existing access can persist depending on the token and application. Changing a password alone does not establish that the incident is resolved.
After confirmed account access, also check for follow-on changes such as unexpected mailbox rules. Keep unexamined areas visible. Our IT contingency planning guide for SMEs explains how to agree responsibilities and internal communication beforehand.
Match technical restrictions to actual operational needs
Microsoft recommends blocking device code flow wherever possible and tightly documenting necessary exceptions. First identify the devices and tools that actually need it. These may include particular conferencing devices or older administration tools. Give each justified exception a purpose, owner and review date.
Microsoft's procedure starts with a Conditional Access policy in report-only mode so its effects can be assessed before enforcement. Have authorised administrators also protect the intended emergency access route. An untested global block can disrupt required workflows.
Microsoft lists Entra ID P1 as a licensing requirement for Conditional Access; Microsoft 365 Business Premium also includes it. Check your actual plan and available features. MFA and passkeys remain valuable controls; this particular flow does not justify dismissing their protection generally. See our guide to planning MFA and passkeys for businesses for the broader approach.
Give IT a small, verifiable work order
Agree where staff should report unexpected code requests and what information IT needs. Then have the responsible administrators review the need for device-code authentication, existing policies and any exceptions. Record the decision and next review.
DTNK provides IT security services and support for Microsoft 365 and cloud environments. A useful starting point combines the employee reporting process with a technically reviewed policy decision for your own environment.
Sources and editorial context
The linked Microsoft primary sources describe the authentication flow, observed abuse and technical controls. Checked on 23 October 2026. The employee questions and reporting sequence are DTNK editorial recommendations. Check features, roles, licensing and operational dependencies before implementation in your environment.

