Default length of time admin stays logged onto Office 365 Azure AD Power Shell session

IT Guy
IT Guy used Ask the Experts™
By default how long does an administrator stay logged onto an Office 365 Microsoft Azure Active Directory Module for Windows PowerShell session after this session is no longer active but the administrator hasn't logged out?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Distinguished Expert 2018
Depends. The module offers two ways of connectivity - with or without Modern authentication, which have different lifetime. And it also has built-in logic to automatically renew the session in some cases:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial