【发布时间】:2018-11-26 14:48:07
【问题描述】:
我正在部署一个带有以下 SendGrid 资产的 ARM 模板:
{
"name": "[variables('sendgridAccountName')]",
"type": "Sendgrid.Email/accounts",
"location": "[resourceGroup().location]",
"apiVersion": "2015-01-01",
"plan": {
"name": "free",
"publisher": "Sendgrid",
"product": "sendgrid_azure",
"promotionCode": ""
},
"properties": {
"password": "[parameters('emailPassword')]",
"acceptMarketingEmails": "0",
"firstname": "",
"lastname": "",
"email": ""
}
}
失败并显示以下错误消息:
New-AzureRmResourceGroupDeployment : 14:39:58 - Resource Sendgrid.Email/accounts 'motherstaging' failed with message '{
"error": {
"code": "AccountLimitReached",
"message": "The maximum number of allowed accounts was reached."
}
}'
At D:\Work\ExcelWraps\src\Deploy\ManualDeploy.ps1:113 char:5
+ New-AzureRmResourceGroupDeployment -Name ((Get-ChildItem $templat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
我之前已经部署了其中的几个,这是在一个没有任何 SendGrids 的新资源组中。我在互联网上找不到有关此错误的任何信息。该消息是什么意思,为什么会出现,我该怎么办?
【问题讨论】:
-
大概是什么意思?注册账号太多?尝试删除一些旧的?
-
什么帐户,在哪里?
-
在 azure 中发送网格帐户。你正在创造那些,对吧? :)
-
我需要将 1 个发送网格添加到当前没有的资源组。我要删除哪一个?
-
检查您在所有订阅中拥有的所有 sendgrid 资源
标签: azure sendgrid arm-template