Hi @Shreyas Rastogi , if Entra ID is used for authentication, then the SSO session duration is controlled by the Entra ID security token service (STS). By default, the SSO session duration is set to 1 hour.
In your scenario, if the user logs into app1 and starts using the app, and then after 2 hours tries to access app2, the acquiretokensilent method should work as long as the refresh token is still valid. The refresh token is used to silently acquire a new access token without requiring the user to sign in again. If the refresh token has expired or is invalid, the user will be prompted to sign in again.
If the user has signed out of app1, the SSO session will be invalidated and the user will be prompted to sign in again when accessing app2.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James