A cloud-based identity and access management service for securing user authentication and resource access
Hi @Bruin Fan
Thank you for post!
Based on the information you provided it seems that the user is blocked by Conditional Access policy or security defaults.
This happen might be the configuration change made by the admin such as a Conditional Access policy, per-user enforcement, or because the user moved to a new location, the user is required to use multi-factor authentication.
If you are using the Conditional Access policy, please ensure that the user is not included in any Conditional Access policies that require MFA.
If you enable the security defaults which means MFA is enabled for your whole tenant and users will need to enroll and authenticate.
Reference: https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes#:~:text=to%20access%20%27%7Bresource%7D%27.-,AADSTS50079,-UserStrongAuthEnrollmentRequired%20%2D%20Due%20to
Hope this helps. Do let us know if you any further queries by responding in the comments section.
Thanks,
Akhilesh.
If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.