We have a custom web service hosted on an OnPrem windows IIS server. This api when called, logs off or breaks the signed in user session(user signed in to Sharepoint online-O365), and tries to authenticate the user again, against OnPrem AD using windows authentication. User will be forced to re-enter windows AD credentials again to log back in. This is an additional layer of authentication incorporated.
Now, question is, can I migrate this Web service/api to Azure App service. I understand by changing the hosting platform to Azure app service from a windows On prem IIS server, same windows authentication cannot be done. But instead I like to know if we can do similar fashioned authentication against Azure AD. Basically an additional prompt. Rest of the functionality should remain same. What could be a foreseeable challenge here? is it straight forward? I may not need windows pop up. In this case may be Microsoft sign in page is what I am expecting.
Now, if I can authenticate same way as against OnPrem AD from the app hosted in Azure app service, I would be delighted. We already have an express route connectivity established between our OnPrem domain and Azure tenant.
Any solution or comments are helpful.