You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure Analysis Services是否支持通过Bicep模板配置系统分配托管标识?

Azure Analysis Services系统分配托管标识Bicep配置问题解答

你遇到的问题是:尝试通过Bicep模板为Azure Analysis Services配置系统分配托管标识时,添加identity块后收到属性不存在的警告,同时想确认该配置是否受支持。

问题原因

Azure Analysis Services的Microsoft.AnalysisServices/servers资源在2017-08-01这个API版本中确实不支持identity属性,这就是你收到警告的核心原因。从2019-05-14版本开始,该资源才正式引入托管标识的配置支持。

修正方案

将资源的API版本升级到支持的稳定版本(比如2021-07-01),保留identity配置即可解决问题,修正后的完整Bicep模板如下:

resource ssas 'Microsoft.AnalysisServices/servers@2021-07-01' = {
  name: 'as'
  location: loc
  sku: {
    name: 'name'
    tier: 'Basic'
    capacity: 1
  }
  properties: {
    ipV4FirewallSettings: {
      enablePowerBIService: true
      firewallRules: [
        {
          firewallRuleName: 'firewall'
          rangeEnd: 'my rangeEnd'
          rangeStart: 'my rangeStart'
        }
        {
          firewallRuleName: 'firewall'
          rangeEnd: 'rangeEnd'
          rangeStart: 'rangeStart'
        }
      ]
    }
  }
  identity: {
    type: 'SystemAssigned'
  }
}

验证说明

升级API版本后,Bicep的类型检查会自动识别identity属性,之前的警告会消失。部署该模板后,Azure Analysis Services服务器会自动创建系统分配的托管标识,你可以在Azure门户的服务器"标识"页面中查看并使用该标识。

内容的提问来源于stack exchange,提问作者Muhammad Pathan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 09:12:06