【发布时间】:2022-01-19 08:58:16
【问题描述】:
我正在尝试使用 AZ PowerShell 创建 VM,但出现错误。
New-AzVM : Using a client owned (un-managed) storage account for boot diagnostics is not supported for VMs.
ErrorCode: OperationNotAllowed
ErrorMessage: Using a client owned (un-managed) storage account for boot diagnostics is not supported for VMs.
ErrorTarget:
StatusCode: 409
ReasonPhrase: Conflict
OperationID :
+ New-AzVM -ResourceGroupName $primaryResourceGroupName -Locati ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzVM], ComputeCloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.NewAzureVMCommand
我想知道
- 如何检查我的存储帐户是托管还是非托管
- 如何让存储账户被管理?
【问题讨论】:
-
你好@Node.Js,你能提供你在powershell中运行的用于创建VM的脚本吗?
标签: azure powershell