AADSTS50097: Flow requires device authentication
The flow requires device authentication.
What to check
- Check that you are using the intended device and that it is registered with the correct tenant.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The response asks the client to authenticate the device. It does not, by itself, report that the device failed authentication.
Microsoft remediation: Let the device challenge complete, then check Sign-in logs for the outcome rather than treating the prompt itself as a failure.