Is it possible to login Azure AD or on-premise AD silently from code(c# or javascript)


  • We have same apps are using on-premise AD, our plan is to move to Azure AD gradually. but during the process, We have to support both Azure and on-premise AD. I know we have a tool called AD Connect can sync the data and password between Azure and on-premise AD, it is one of our options. but Here is my question: without AD Connect, Can I implement Single Sign On from code  behind (c# or javascript)? It means it will automatically sign me on on-premise AD from code behind(without having to popup a sign on window) after I sign in Azure AD. of course, I have the one-on-one match between Azure and on-premise AD, once the user signs on from Azure AD, I know who I need to sign on for on-premise AD.
    Monday, April 17, 2017 6:03 PM

All replies

  • With Web API and Angular JS, My plan is to create an Admin portal that can manage both on-premise and Azure AD.
    Tuesday, April 18, 2017 2:49 PM