Arm 模板 SendGrid - 已达到允许的最大帐户数
Arm Template SendGrid - maximum number of allowed accounts was reached
我正在使用以下 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 的新资源组中。我在 Internet 上找不到有关此错误的任何信息。该消息是什么意思,为什么会出现,我该怎么办?
简而言之:您已达到订阅的(免费)SendGrid 帐户的最大数量:
You are limited to 1 SendGrid accounts per Azure subscription. This limit exists for security and compliance reasons to prevent abuse.
来源:SendGrid documentation 下 还有问题吗?
如果您确实需要多个 SendGrid 帐户,请考虑开通另一个 Azure 订阅以容纳它。
我正在使用以下 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 的新资源组中。我在 Internet 上找不到有关此错误的任何信息。该消息是什么意思,为什么会出现,我该怎么办?
简而言之:您已达到订阅的(免费)SendGrid 帐户的最大数量:
You are limited to 1 SendGrid accounts per Azure subscription. This limit exists for security and compliance reasons to prevent abuse.
来源:SendGrid documentation 下 还有问题吗?
如果您确实需要多个 SendGrid 帐户,请考虑开通另一个 Azure 订阅以容纳它。