title: Using ARM templates to create a SendGrid account failing with Legal terms not accepted
body: <p>I am trying to follow this tutorial:</p>
  
  <p><a href="https://anthonychu.ca/post/arm-template-storage-sendgrid/" rel="nofollow noreferrer">https://anthonychu.ca/post/arm-template-storage-sendgrid/</a></p>
  
  <p>My build pipeline worked fine, but when it got to the release it failed with this error:</p>
  
  <blockquote>
    <p>"User failed validation to purchase resources. Error message: 'Legal terms have not been accepted for this item on this subscription: '87ce59eb-a0b7-428c-8b0a-506da6569d92'. To accept legal terms using PowerShell, please use Get-AzureRmMarketplaceTerms and Set-AzureRmMarketplaceTerms API(<a href="https://go.microsoft.com/fwlink/?linkid=862451" rel="nofollow noreferrer">https://go.microsoft.com/fwlink/?linkid=862451</a>), to accept the terms using Azure CLI, please use az vm image accpet-terms (<a href="https://go.microsoft.com/fwlink/?linkid=2110637" rel="nofollow noreferrer">https://go.microsoft.com/fwlink/?linkid=2110637</a>) or deploy via the Azure portal to accept the terms'"</p>
  </blockquote>
  
  <p>It states I can use powershell, but that doesn't seem to apply when using ARM templates and I can't seem to find an option to accept the terms when deploying.</p>
  
  <p>Does anyone know how this can be done without using powershell?</p>