【问题标题】:Arm Template SendGrid - maximum number of allowed accounts was reachedArm 模板 SendGrid - 已达到允许的最大帐户数
【发布时间】: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


【解决方案1】:

简而言之:您订阅的(免费)SendGrid 帐户数量已达到上限:

每个 Azure 订阅仅限 1 个 SendGrid 帐户。存在此限制是出于安全和合规性的原因,以防止滥用。

来源:SendGrid documentation under 还有问题吗?

如果您确实需要多个 SendGrid 帐户,请考虑开设另一个 Azure 订阅以容纳它。

【讨论】:

  • 注意:现在每个订阅只有 1 个帐户。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-11-05
  • 1970-01-01
相关资源
最近更新 更多