快速入门:配置服务器防火墙 - 门户Quickstart: Configure server firewall - Portal

此快速入门可帮助你为 Azure Analysis Services 服务器配置防火墙。This quickstart helps you configure a firewall for your Azure Analysis Services server. 仅为访问服务器的计算机启用防火墙并配置 IP 地址范围是保护服务器和数据的重要部分。Enabling a firewall and configuring IP address ranges for only those computers accessing your server are an important part of securing your server and data.

先决条件Prerequisites

  • 订阅中的 Analysis Services 服务器。An Analysis Services server in your subscription. 若要了解详细信息,请参阅快速入门:创建服务器 - 门户快速入门:创建服务器 - PowerShellTo learn more, see Quickstart: Create a server - Portal or Quickstart: Create a server - PowerShell
  • 客户端计算机的一个或多个 IP 地址范围(如果需要)。One or more IP address ranges for client computers (if needed).
  • 即使启用了“允许从 Power BI 访问”,当前也不支持 Power BI Premium 连接到 Azure Analysis Services 的某些方案,包括数据导入(刷新)和分页报告。Some scenarios where Power BI Premium connects to Azure Analysis Services, including data import (refresh) and paginated reports, are currently not supported even when Allow access from Power BI is enabled. 支持从 Power BI Premium 使用 Live Connect 的更常见方案。The more common scenario of using Live Connect from Power BI Premium is supported. 支持所有 Power BI Pro 方案。All Power BI Pro scenarios are supported.

登录到 Azure 门户Sign in to the Azure portal

登录门户Sign in to the portal

配置防火墙Configure a firewall

  1. 单击服务器打开“概述”页。Click on your server to open the Overview page.

  2. 在“设置” > “防火墙” > “启用防火墙”,单击“开”。In SETTINGS > Firewall > Enable firewall, click On.

  3. 若要允许从 Power BI 服务进行 DirectQuery 访问,请在“允许从Power BI 访问”中,单击“开”。To allow DirectQuery access from Power BI service, in Allow access from Power BI, click On.

  4. (可选)指定一个或多个 IP 地址范围。(Optional) Specify one or more IP address ranges. 输入每个范围的名称、起始和结束 IP 地址。Enter a name, starting, and ending IP address for each range. 防火墙规则名称应限制为 128 个字符,并且只能包含大写字符、小写字符、数字、下划线和连字符。Firewall rule name should be limited to 128 characters and can only contain uppercase characters, lowercase characters, numbers, underscore, and hyphen. 不允许使用空格和其他特殊字符。Whitespaces and other special characters are not allowed.

  5. 单击“保存” 。Click Save.

    防火墙设置

清理资源Clean up resources

不再需要时,请删除 IP 地址范围或禁用防火墙。When no longer needed, delete IP address ranges, or disable the firewall.

后续步骤Next steps

本快速入门介绍了如何为服务器配置防火墙。In this quickstart, you learned how to configure a firewall for your server. 现在你已有服务器,并通过防火墙对其进行了保护,你可以从门户向其添加基本示例数据模型。Now that you have server, and secured it with a firewall, you can add a basic sample data model to it from the portal. 拥有一个示例模型有助于了解如何配置模型数据库角色和测试客户端连接。Having a sample model is helpful to learn about configuring model database roles and testing client connections. 若要了解更多信息,请继续学习有关添加示例模型的教程。To learn more, continue to the tutorial for adding a sample model.