Hi,
Checkout the Conditional Access policy timeout frequency and persistent browser settings, explore that section - howto-conditional-access-session-lifetime
concepts-azure-multi-factor-authentication-prompts-session-lifetime
==
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.