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

Azure DevOps发布管道中Set-AzSqlServerActiveDirectoryAdministrator失效求助

解决Set-AzSqlServerActiveDirectoryAdministrator命令报错:The 'parameters.properties' segment in the url is invalid

问题说明

  • 执行Set-AzSqlServerActiveDirectoryAdministrator命令时触发错误:The 'parameters.properties' segment in the url is invalid
  • 触发原因:Azure DevOps发布管道的代理已部署最新版Azure PowerShell模块(11.3.1),该版本绑定的az.sql模块为4.14.0,此版本存在API路径构造的bug

临时解决方案

  • 回退Azure PowerShell模块至11.3.0版本(该版本依赖az.sql 4.13.0,无此问题)
  • 在DevOps管道中指定安装特定版本模块,示例命令:
    Install-Module -Name Az -RequiredVersion 11.3.0 -Force -AllowClobber
    
  • 也可等待官方修复该问题,此bug已被纳入Azure PowerShell官方问题追踪清单

内容的提问来源于stack exchange,提问作者Shahid Sayyed

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.06.27 03:37:37