Situation: The client can’t login Microsoft 365 with this message: your sign in was successful but does not meet the criteria to access this resource
Troubleshooting: You may need to dismiss user risk. To do that, login Azure. Search Dismiss user risk. Or go to Security>Risky users.
Highlight the user and click on Dismiss user(s) risk.