管理 Azure 门户设置和首选项Manage Azure portal settings and preferences

你可以根据自己的偏好更改 Azure 门户的默认设置。You can change the default settings of the Azure portal to meet your own preferences. 全局页眉中的“设置”菜单中提供了大多数设置。Most settings are available from the Settings menu in the global page header.

显示全局页头图标的屏幕截图,其中突出显示了“设置”

选择默认订阅Choose your default subscription

可以更改在登录到 Azure 门户时默认打开的订阅。You can change the subscription that opens by default when you sign-in to the Azure portal. 如果你有所使用的主订阅,但偶尔也会使用其他订阅,此功能会很有用。This is helpful if you have a primary subscription you work with but use others occasionally.

按订阅筛选资源列表。

  1. 在全局页眉中选择“目录和订阅筛选器”图标。Select the directory and subscription filter icon in the global page header.

  2. 选择要在启动门户时用作默认订阅的订阅。Select the subscriptions you want as the default subscriptions when you launch the portal.

    选择要在启动门户时用作默认订阅的订阅。

选择默认视图Choose your default view

可以更改在登录到 Azure 门户时默认打开的页面。You can change the page that opens by default when you sign in to the Azure portal.

显示 Azure 门户设置的屏幕截图,其中突出显示了默认视图

  • 无法自定义主页。Home can't be customized. 主页将显示热门 Azure 服务的快捷方式,并列出你最近使用的资源。It displays shortcuts to popular Azure services and lists the resources you've used most recently. 我们还会提供 Microsoft Learn 和 Azure 路线图等资源的有用链接。We also give you useful links to resources like Microsoft Learn and the Azure roadmap.

  • 可以自定义仪表板,以创建专为你设计的工作区。Dashboards can be customized to create a workspace designed just for you. 例如,可以生成一个以项目、任务或角色为中心的仪表板。For example, you can build a dashboard that is project, task, or role focused. 如果选择“仪表板”,则默认视图将切换到最近使用的仪表板。****If you select Dashboard, your default view will go to your most recently used dashboard. 有关详细信息,请参阅在 Azure 门户中创建和共享仪表板For more information, see Create and share dashboards in the Azure portal.

选择门户菜单模式Choose a portal menu mode

门户菜单的默认模式控制门户菜单在页面上占用的空间量。The default mode for the portal menu controls how much space the portal menu takes up on the page.

显示 Azure 门户设置的屏幕截图,其中突出显示了“主题”

  • 门户菜单处于“浮出控件”模式时,它会被隐藏,直到你需要使用它。When the portal menu is in Flyout mode, it's hidden until you need it. 选择菜单图标可以打开或关闭菜单。Select the menu icon to open or close the menu.

  • 如果为门户菜单选择“停靠”模式,它就会始终可见。If you choose Docked mode for the portal menu, it's always visible. 可以折叠菜单以提供更多的工作空间。You can collapse the menu to provide more working space.

选择主题或启用高对比度Choose a theme or enable high contrast

选择的主题将影响 Azure 门户中显示的背景和字体颜色。The theme that you choose affects the background and font colors that appear in the Azure portal. 可以从四个预设颜色主题中选择一个。You can select from one of four preset color themes. 选择每个缩略图找到最适合自己的主题。Select each thumbnail to find the theme that best suits you.

或者可以选择高对比度主题之一。Alternatively, you can choose one of the high-contrast themes. 高对比度主题可让有视觉障碍的用户在使用 Azure 门户时更容易阅读。这些主题会替代所有其他主题选择。The high contrast themes make the Azure portal easier to read for people who have a visual impairment; they override all other theme selections.

显示 Azure 门户设置的屏幕截图,其中突出显示了“主题”

启用或禁用弹出式通知Enable or disable pop-up notifications

通知是与当前会话相关的系统消息。Notifications are system messages related to your current session. 例如,它们提供如下所述的信息:当前的信用余额、刚刚创建的资源何时可用,或者请求确认上一个操作。They provide information like your current credit balance, when resources you just created become available, or confirm your last action, for example. 启用弹出式通知后,消息会短暂地显示在屏幕的右上角。When pop-up notifications are turned on, the messages briefly display in the top corner of your screen.

若要启用或禁用弹出式通知,请选中或清除“启用弹出式通知”。To enable or disable pop-up notifications, select or clear Enable pop-up notifications.

显示 Azure 门户设置的屏幕截图,其中突出显示了弹出式通知

若要阅读在当前会话中收到的所有通知,请从全局页头中选择“通知”。****To read all notifications received during your current session, select Notifications from the global header.

显示 Azure 门户全局页头的屏幕截图,其中显示突出了“通知”

若要阅读以前会话中的通知,请查看活动日志中的事件。If you want to read notifications from previous sessions, look for events in the Activity log. 有关详细信息,请参阅查看活动日志For more information, see View the Activity log.

更改非活动状态超时设置Change the inactivity timeout setting

如果你忘记了保护工作站,非活动状态超时设置有助于保护资源免受未经授权的访问。The inactivity timeout setting helps to protect resources from unauthorized access if you forget to secure your workstation. 空闲一段时间后,将自动注销你的 Azure 门户会话。After you've been idle for a while, you're automatically signed out of your Azure portal session. 作为个人,你可以更改自己的超时设置。As an individual, you can change the timeout setting for yourself. 如果你是管理员,可在目录级别为目录中所有用户完成这项设置。If you're an admin, you can set it at the directory level for all your users in the directory.

更改个人的超时设置(用户)Change your individual timeout setting (user)

选择“不活动时将我注销”下面的下拉列表。****Select the drop-down under Sign me out when inactive. 选择在空闲多长时间后注销你的 Azure 门户会话。Choose the duration after which your Azure portal session is signed out if you're idle.

显示门户设置的屏幕截图,其中突出显示了非活动超时设置

更改将自动保存。The change is saved automatically. 空闲持续时间达到设置的值后,将注销你的 Azure 门户会话。If you're idle, your Azure portal session will sign out after the duration you set.

如果你的管理员已经启用了非活动状态超时策略,你仍然可以设置自己的超时设置,只是它必须小于目录级别设置。If your admin has enabled an inactivity timeout policy, you can still set your own, as long as it's less than the directory-level setting. 选中“替代目录非活动状态超时策略”,然后设置时间间隔。Select Override the directory inactivity timeout policy, then set a time interval.

显示门户设置的屏幕截图,其中突出显示了“替代目录非活动超时策略”设置

更改目录超时设置(管理员)Change the directory timeout setting (admin)

具有全局管理员角色的管理员可以在会话注销之前强制执行最长空闲时间。非活动超时设置在目录级别应用。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. 设置对新会话生效。The setting takes effect for new sessions. 它不会立即应用于任何已登录的用户。It won't apply immediately to any users who are already signed in. 有关目录的详细信息,请参阅 Active Directory 域服务概述For more information about directories, see Active Directory Domain Services Overview.

如果你是全局管理员,并且需要为 Azure 门户的所有用户强制执行空闲超时设置,请执行以下步骤: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:

  1. 选择链接文本“配置目录级别超时”****。Select the link text Configure directory level timeout.

    显示门户设置的屏幕截图,其中突出显示了链接文本

  2. 在“配置目录级非活动超时”**** 页上,选择“为 Azure 门户启用目录级别的空闲超时”**** 以启用设置。On the Configure directory level inactivity timeout page, select Enable directory level idle timeout for the Azure portal to turn on the setting.

  3. 接下来,输入小时数分钟数,以便设置在会话自动注销之前用户可处于空闲状态的最长时间。Next, enter the Hours and Minutes for the maximum time that a user can be idle before their session is automatically signed out.

  4. 选择“应用”。Select Apply.

    屏幕截图,显示用于设置目录级别非活动超时的页面

若要确认是否正确设置了非活动超时策略,请从全局页眉中选择“通知”。****To confirm that the inactivity timeout policy is set correctly, select Notifications from the global page header. 验证是否列出了成功通知。Verify that a success notification is listed.

屏幕截图,显示用于目录级别非活动超时的成功通知消息

还原默认设置Restore default settings

如果你对 Azure 门户设置做了更改,但想要放弃这些更改,请选择“还原默认设置”。If you've made changes to the Azure portal settings and want to discard them, select Restore default settings. 对门户设置所做的所有更改将会丢失。Any changes you've made to portal settings will be lost. 此选项不影响仪表板自定义。This option doesn't affect dashboard customizations.

显示如何还原默认设置的屏幕截图

导出用户设置Export user settings

有关自定义设置的信息存储在 Azure 中。Information about your custom settings is stored in Azure. 可以导出以下用户数据:You can export the following user data:

  • Azure 门户中的专用仪表板Private dashboards in the Azure portal
  • 用户设置,例如最喜欢的订阅或目录,以及上次登录的目录User settings like favorite subscriptions or directories, and last logged-in directory
  • 主题和其他自定义门户设置Themes and other custom portal settings

如果计划删除设置,建议先导出并检查这些设置。It's a good idea to export and review your settings if you plan to delete them. 重新生成仪表板或重新进行设置可能会非常耗时。Rebuilding dashboards or redoing settings can be time-consuming.

若要导出门户设置,请选择“导出所有设置”。To export your portal settings, select Export all settings.

显示如何导出设置的屏幕截图

导出设置时会创建一个 .json 文件,其中包含你的用户设置(如颜色主题、收藏夹和专用仪表板)。Exporting settings creates a .json file that contains your user settings like your color theme, favorites, and private dashboards. 由于用户设置的动态性质和数据损坏风险,因此不能从 .json** 文件导入设置。Due to the dynamic nature of user settings and risk of data corruption, you can't import settings from the .json file.

删除用户设置和仪表板Delete user settings and dashboards

有关自定义设置的信息存储在 Azure 中。Information about your custom settings is stored in Azure. 可以删除以下用户数据:You can delete the following user data:

  • Azure 门户中的专用仪表板Private dashboards in the Azure portal
  • 用户设置,例如最喜欢的订阅或目录,以及上次登录的目录User settings like favorite subscriptions or directories, and last logged-in directory
  • 主题和其他自定义门户设置Themes and other custom portal settings

在删除设置之前,建议先导出并检查设置。It's a good idea to export and review your settings before you delete them. 重新生成仪表板或重做自定义设置可能非常耗时。Rebuilding dashboards or redoing custom settings can be time-consuming.

备注

本文介绍如何删除设备或服务中的个人数据,并且可为 GDPR 下的任务提供支持。This article provides steps for how to delete personal data from the device or service and can be used to support your obligations under the GDPR. 如需关于 GDPR 的常规信息,请参阅服务信任门户的 GDPR 部分If you're looking for general info about GDPR, see the GDPR section of the Service Trust portal.

若要删除门户设置,请选择“删除所有设置和专用仪表板”。To delete your portal settings, select Delete all settings and private dashboards.

显示如何删除设置的屏幕截图

更改语言和区域设置Change language and regional settings

有两项设置控制 Azure 门户中文本的显示方式:There are two settings that control how the text in the Azure portal appears:

  • “语言”设置控制文本在 Azure 门户中的显示语言。****The Language setting controls the language you see for text in the Azure portal.

  • “区域格式”控制日期、时间、数字和货币的显示方式。****Regional format controls the way dates, time, numbers, and currency are shown.

若要更改 Azure 门户中使用的语言,请使用下拉列表从可用语言列表中进行选择。To change the language that is used in the Azure portal, use the drop-down to select from the list of available languages.

选择后,区域格式将会更改,仅显示所选语言的区域选项。The regional format selection changes to display regional options for only the language you selected. 若要更改自动选择的设置,请使用下拉列表选择所需的区域格式。To change that automatic selection, use the drop-down to choose the regional format you want.

例如,如果选择“英语”作为语言,然后选择“美国”作为区域格式,将以美元显示货币。For example, if you select English as your language, and then select United States as the regional format, currency is shown in U.S. dollars. 如果选择“英语”作为语言,然后选择“欧洲”作为区域格式,则以欧元显示货币。If you select English as the language and then select Europe as the regional format, currency is shown in euros.

选择“应用”以更新语言和区域格式设置。****Select Apply to update your language and regional format settings.

显示语言和区域格式设置的屏幕截图

备注

这些语言和区域设置只影响 Azure 门户。These language and regional settings affect only the Azure portal. 在新选项卡或窗口中打开的文档链接会使用浏览器的语言设置来确定要显示的语言。Documentation links that open in a new tab or window use your browser's language settings to determine the language to display.

后续步骤Next steps