|
| 1 | +--- |
| 2 | +title: Set directory-level inactivity timeout for users of the Azure portal | Microsoft Docs |
| 3 | +description: Admins can enforce the maximum idle time before a session is signed out. The inactivity timeout policy is set at the directory level. |
| 4 | +services: azure-portal |
| 5 | +keywords: settings, timeout |
| 6 | +author: kfollis |
| 7 | +ms.author: kfollis |
| 8 | +ms.date: 12/19/2019 |
| 9 | +ms.topic: conceptual |
| 10 | + |
| 11 | +ms.service: azure-portal |
| 12 | +manager: mtillman |
| 13 | +--- |
| 14 | +# Set directory-level inactivity timeout |
| 15 | + |
| 16 | +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 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](/windows-server/identity/ad-ds/get-started/virtual-dc/active-directory-domain-services-overview). |
| 17 | + |
| 18 | +## Configure the inactive timeout setting |
| 19 | + |
| 20 | +If you’re an admin, and you want to enforce an idle timeout setting for all users of the Azure portal, follow these steps: |
| 21 | + |
| 22 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 23 | +2. Select **Settings** from the global page header. |
| 24 | +3. Select the link text **Configure directory level timeout**. |
| 25 | + |
| 26 | +  |
| 27 | + |
| 28 | +4. 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. |
| 29 | +5. Next, enter the **Hours** and **Minutes** for the maximum time that a user can be idle before their session is automatically signed out. |
| 30 | +6. Select **Apply**. |
| 31 | + |
| 32 | +  |
| 33 | + |
| 34 | +To confirm that the inactivity timeout policy is set correctly, select **Notifications** from the global page header. Verify that a success notification is listed. |
| 35 | + |
| 36 | +  |
| 37 | + |
| 38 | +The setting takes effect for new sessions. It won’t apply immediately to any users who are already signed in. |
| 39 | + |
| 40 | +> [!NOTE] |
| 41 | +> If an admin 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. |
| 42 | +> |
| 43 | +
|
| 44 | +## Next steps |
| 45 | + |
| 46 | +* [Set your Azure portal preferences](set-preferences.md) |
| 47 | +* [Export or delete user settings](azure-portal-export-delete-settings.md) |
| 48 | +* [Turn on high contrast or change theme](azure-portal-change-theme-high-contrast.md) |
0 commit comments