Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

Microsoft Azure


If you are using Microsoft's cloud platform, you can integrate with SendGrid. Navigate to the Azure Marketplace(link takes you to an external page), locate the SendGrid add-on(link takes you to an external page), select the appropriate plan, and get ready to start sending.

The following documentation covers signing up, sending an email, adding an attachment, and using filters. The following code examples show how Azure and SendGrid can solve your email deliverability problems.


Code examples

code-examples page anchor

These examples show how to send email with SendGrid from an Azure-hosted application in each supported language:

  1. PHP(link takes you to an external page)
  2. Node.js(link takes you to an external page)
  3. .NET(link takes you to an external page)
  4. Java(link takes you to an external page)
  5. Java via an Azure webpage
  6. Mobile Services(link takes you to an external page)

For more on making the most of your SendGrid and Azure integration, see the SendGrid Azure blog posts(link takes you to an external page).

You are limited to 1 SendGrid account per Azure subscription. This limit exists for security and compliance reasons to prevent abuse.

Customers that integrate through the Azure Marketplace(link takes you to an external page), do not have access to SendGrid's Marketing Campaigns.

If you try to create a second account, you will encounter this error on your dashboard:

Azure error: maximum number of allowed SendGrid accounts reached during account creation.