Information
The device code authentication flow has been abused to compromise user accounts via phishing. Since most organizations using M365 don't need device code authentication, blocking it mitigates the risk.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
1. Create a Conditional Access policy to block device code flow
Users > Include > All users
Target resources > Include > All resources (formerly 'All cloud apps')
Conditions > Authentication Flows > Configure > Yes > Select Device code flow
Access controls > Grant > Block Access