Hi @Kim Tan
Thank you for reaching Microsoft Q&A Forum!
If I understand correctly, you would like to automate the user login process for your web application using the previous application (outlook) login details.
To achieve this, register your web application with Entra ID, Configure Single sign-on (SSO) settings and assign users and groups to the application.
Single sign-on is an authentication method that allows users to sign in using one set of credentials to multiple independent software systems. Using SSO means a user doesn't have to sign in to every application they use. With SSO, users can access all needed applications without being required to authenticate using different credentials.
For more details to register an application please read Add an enterprise application.
To configure SSO refer Enable SAML single sign-on for an enterprise application there are few other SSO configuration are there which is explain the same document which you can see the left side of the page, choose the suitable configuration based on application type.
By following these steps, you can establish SSO between your applications and allowing users who are already authenticated in one application to access the other application without the need to log in again.
Hope this helps. If this is not your query do let us know by responding in the comments section.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.