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

创建Ubuntu 22.04 Server with GUI - Gen2规模集遇支付验证错误求助

问题

我在创建基于第三方市场镜像Ubuntu 22.04 Server with GUI - Gen2的Azure虚拟机规模集时遇到了错误:

ffer with PublisherId: 'yaseensmarket1645449809728', OfferId: 'ubuntu-22-gui' cannot be purchased due to validation errors. For more information see details. Correlation Id: '6925d160-XXXX-46b1-87c4-XXXXXXX' The 'unknown' payment instrument(s) is not supported for offer with OfferId: 'ubuntu-22-gui', PlanId '2204'. Correlation Id '6925d160-XXXXX-46b1-87c4-XXXXXXX'.[{"The 'unknown' payment instrument(s) is not supported for offer with OfferId: 'ubuntu-22-gui', PlanId '2204'. Correlation Id '6925d160-XXXXX-46b1-87c4-XXXXXXXXX'.":"StoreApi"}] (Codice: BadRequest)

我怀疑这和我的Visual Studio月度50欧元订阅兼容性有关,想知道有没有能用来创建规模集的带GUI的Unix类镜像,或者是不是必须更换订阅类型。

解决办法

用官方Ubuntu镜像自行搭建GUI环境

Azure官方提供的Ubuntu Server 22.04 LTS - Gen2镜像完全兼容Visual Studio订阅,且属于免费镜像。你可以按以下步骤操作:

  1. 创建虚拟机规模集时,选择Canonical发布的Ubuntu Server 22.04 LTS - Gen2镜像
  2. 部署完成后,通过SSH连接到实例,执行命令安装GNOME桌面环境:
    sudo apt update && sudo apt install ubuntu-desktop -y
    
  3. 若需要远程桌面访问,可继续安装xrdp服务:
    sudo apt install xrdp -y && sudo systemctl enable --now xrdp
    

这种方式无需更换订阅,也不会产生额外费用,完全可以使用Visual Studio订阅的月度额度。

关于第三方市场镜像的说明

你遇到的错误核心原因是:第三方市场镜像ubuntu-22-gui不支持Visual Studio订阅的支付机制。Visual Studio订阅的月度额度仅适用于Azure官方服务和部分免费市场镜像,无法覆盖付费第三方镜像的费用。

如果一定要使用现成的带GUI第三方Unix镜像,有两种选择:

  • 更换为Pay-As-You-Go这类支持付费市场镜像的订阅类型,并绑定有效的信用卡/借记卡
  • 在Azure市场中筛选免费的带GUI Unix镜像,确认其支持Visual Studio订阅后再使用

内容的提问来源于stack exchange,提问作者Fred Zolomon

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.10 06:22:28