Hi,
Am I correct? If yes then continue, if no please elaborate.
=======================================================================================
No, I don't think so, Here's a diagram illutrated why:
If you setup a normal AD in your organization, they will be using the flow 1.
If you setup a Delegated Authentication to Azure, they will be using the flow 2.
To simulate your situation:
1. User type in: username & password in flow 1.
2a . User login success, flow 1 complete.
2b. User login failed, flow 2 starts.
3. The issue is, you cannot pass either the user *username or password to flow 2 (i.e. Azure), because it is maintained by Microsoft
* some delegated authentication might allow you to pass username to them, I haven't look into Azure too much to know if they allow such thing to do. Nevertheless they would not be allowing you to inject your password into Azure, that is very much sure.
So that's why it is very unlikely that your request can be done. Even with custom code on CAS.
See if other have other method that can help you achieve your goal, thanks.
Cheers!
- Andy