Set directory-level inactivity timeout
The inactivity timeout setting helps to protect your resources from unauthorized access if users forget to secure their workstation. When a user has been idle for a while, their Azure portal session is automatically signed out. Admins in the Global Administrator role can enforce the maximum idle time before a session is signed out. The inactivity timeout setting applies at the directory level. For more information about directories, see Active Directory Domain Services Overview.
Configure the inactive timeout setting
If you’re a Global Administrator, and you want to enforce an idle timeout setting for all users of the Azure portal, follow these steps:
Sign in to the Azure portal.
Select Settings from the global page header.
Select the link text Configure directory level timeout.
A new page opens. On the Configure directory level inactivity timeout page, select Enable directory level idle timeout for the Azure portal to turn on the setting.
Next, enter the Hours and Minutes for the maximum time that a user can be idle before their session is automatically signed out.
To confirm that the inactivity timeout policy is set correctly, select Notifications from the global page header. Verify that a success notification is listed.
The setting takes effect for new sessions. It won’t apply immediately to any users who are already signed in.
If a Global Administrator has configured a directory-level timeout setting, users can override the policy and set their own inactive sign-out duration. However, the user must choose a time interval that is less than what is set at the directory level by the Global Administrator.