Hi @ RATNAPARKHE, NITESH •
Thank you for sharing your issue on Microsoft Q&A.
I understand that you are using Azure AD (or Microsoft Entra ID) for managing user authentication in your Angular web application. You want to ensure that only one active session per user exists at any given point in time.
To restrict users to a single active session, ensure that when a user logs in from a second device or browser, the first session is terminated. This helps prevent unauthorized access or account misuse due to multiple concurrent sessions.
In user’s session is unexpectedly closed (e.g., browser crash), users should be able to log in again without being blocked. This allows users to continue working without being blocked after unintentional session terminations.
Allow users to view and manage their active sessions, especially during events like password changes or when logging in from multiple devices. This provides control and security.
With session management in Azure AD, sessions are stored in the user's browser and validated during subsequent authentication requests, preventing multiple simultaneous sessions for the same user.
Additionally, you can enhance security by using conditional access policies and multi-factor authentication (MFA). By configuring policies to control sign-in frequency and persistent browser sessions, you can ensure that users are periodically required to re-authenticate, reducing the risk of concurrent sessions.
For additional information, refer this link: https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-conditional-access-session
Hope this helps. Do let us know if you have any further queries.
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.
Best Regards.
Harshitha Eligeti.