Hello @Eranga , out-of-the-box, Azure AD does not support custom interruptions or extra validations during sign-in flows. You have to implement the aforementioned in your web application and/or web API. E.g. You can prompt for the username/email and validate it. If it's valid you can then redirect to the Azure AD login page passing the username as the login_hint
param, if not display an error message. Or, validate id or access tokens against custom logic.
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.