无法保存网络接口的 IP 地址更改

Failed to save IP address changes for network interface

我正在尝试向虚拟机添加 Public IP,但收到以下错误:

Failed to save IP address changes for network interface 'XXX'. Error: Compute resource VMNAME has a zone constraint 1 but the PublicIPAddress /subscriptions/XXX/resourceGroups/Enterprise_Search/providers/Microsoft.Network/publicIPAddresses/VMNAME used by the compute resource via NetworkInterface or LoadBalancer has a different zone constraint Regional.

错误提示 - 您的 VM 已部署到区域中的特定区域,而您的 Public IP 地址未部署。它是一个常规 IP 地址。尝试在与 VM 所在的相同区域中创建 Public IP 地址,然后 link VM 到该 Public IP。

以防万一评论出现问题:只有标准 SKU Public IP 可以固定区域。