5
當我運行New-AzureRmResourceGroupDeployment並傳遞一個JSON參數文件,我得到了以下錯誤:新AzureRmResourceGroupDeployment命令給錯誤
New-AzureRmResourceGroupDeployment : 2:29:31 PM - Resource Microsoft.Sql/servers 'qsservername' failed with message '{
"code": "15021",
"message": "Invalid value given for parameter Login. Specify a valid parameter value.",
"target": null,
"details": [
{
"code": "15021",
"message": "Invalid value given for parameter Login. Specify a valid parameter value.",
"target": null,
"severity": "16"
}
],
"innererror": []
}'
At M:\Azure\Azure Scripts\Something\somethingdeploy.psm1:63 char:4
+ New-AzureRmResourceGroupDeployment -ResourceGroupName $resourceGro ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
然而,當我運行相同的命令,但傳遞的參數,而不是該文件,它工作正常。任何想法我可能會失蹤?
我剛剛遇到同樣的問題 - 您最終解決了它嗎? – antmeehan
我的參數文件缺少登錄所需的基本參數,導致此錯誤, – Amy